private void saveToolStripMenuItem_Click(object sender, EventArgs e) { SaveFileDialog fd = new SaveFileDialog(); fd.Title = "Save As..."; fd.Filter = "All ExHIBIT Scripts File|*.rld"; if (fd.ShowDialog() == DialogResult.OK) { string[] STR = new string[Strs.Items.Count]; for (int i = 0; i < STR.Length; i++) { STR[i] = Strs.Items[i].ToString(); } System.IO.File.WriteAllBytes(fd.FileName, rld.Export(STR)); MessageBox.Show("File Saved."); } }