Connection1.Close() Connection1.Open() Me.OpenFileDialog1.FileName = "*.*" If (Me.OpenFileDialog1.ShowDialog() = DialogResult.OK) Then 'copy file to bc-biztalk currentfilename = OpenFileDialog1.FileName filenamepos = InStrRev(currentfilename, "\") TextBox1.Text = currentfilename >> ERROR HERE >> PictureBox1.Image = Image.FromFile(TextBox1.Text) PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage
Gain unlimited access to on-demand training courses with an Experts Exchange subscription.Get Access
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.