Error1 The name 'MyPictures' does not exist in the current context
But in the OpenFileDialog InitialDirectory for the Properties box "MyPictures" is in their....

VB Code:
  1. private void pComboBox(object sender, System.EventArgs e)
  2.         {
  3.             using (openFileDialog1)
  4.             dlg.Filter = "MyPictures(*.jpg)" + "|*.png|All Files (*.*)|*.*";
  5.             dlg.InitialDirectory = MyPictures;
  6.  
  7.             try
  8.             {
  9.                 if (dlg.ShowDialog()
  10.                     == DialogResult.OK)
  11.                 {
  12.                 _MyPictures.Open(dlg.FileName);
  13.                 }
  14.             }
  15.           catch (Exception)
  16.             {
  17.               MessageBox.Show("Unable to open "
  18.             + "album\n" + dlg.FileName,
  19.           "Open Album Error",
  20.           MessageBoxButtons.OK,
  21.           MessageBoxIcon.Error);
  22.       }
  23.     }