| | |
browsing photoes
Please support our VB.NET advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Aug 2007
Posts: 18
Reputation:
Solved Threads: 0
hi every one I am evry new to vb.net I want to have brows pictures in my form and I have made a menu and a view option I got a code from the ney but it is not wroking here it is:
If DidWork <> DialogResult.Cancel Then
strFileName = openFD.FileName
PictureBox1.Image = Image.FromFile(strFileName)
openFD.Reset()
End If
where I dont know what is"DidWork"
and if u know have any other idea of how I can do it please let me know thanks in advanced
If DidWork <> DialogResult.Cancel Then
strFileName = openFD.FileName
PictureBox1.Image = Image.FromFile(strFileName)
openFD.Reset()
End If
where I dont know what is"DidWork"
and if u know have any other idea of how I can do it please let me know thanks in advanced
according to this link DidWork is integer variable
so in this line u make sure that user did not choose cancel button in OpenFileDialog
i hope thats help u
VB.NET Syntax (Toggle Plain Text)
Dim DidWork As Integer = openFD.ShowDialog()
VB.NET Syntax (Toggle Plain Text)
If DidWork <> DialogResult.Cancel Then
i hope thats help u
"give only what u willing to receive "
![]() |
Similar Threads
- slow network browsing to shares (Windows NT / 2000 / XP)
- Problems with IE cannot find server/DNS error (Viruses, Spyware and other Nasties)
- Have to reboot to regain IE browsing (Web Browsers)
- internet explorer browsing problems (Web Browsers)
- Solution for slow internet browsing (Web Browsers)
- having Internet Time-Out Browsing Problems (Windows 95 / 98 / Me)
- I occasionally get hijacked when browsing. (Viruses, Spyware and other Nasties)
- Initial hang when browsing My Network Places (Networking Hardware Configuration)
Other Threads in the VB.NET Forum
- Previous Thread: running script in vb
- Next Thread: Error Closing App..
| Thread Tools | Search this Thread |
"crystal .net .net2005 30minutes 2008 access add application array assignment basic binary box button buttons center click code combo connectionstring convert cpu data database databasesearch datagrid datagridview design dissertation dissertations dissertationthesis dosconsolevb.net editvb.net employees excel exists firewall folder function image images isnumericfuntioncall listview login map math memory mobile module msaccess mssqlbackend mysql navigate net opacity page pan peertopeervideostreaming picturebox picturebox2 plugin port print printing printpreview record regex reports" reuse right-to-left save savedialog search serial socket sorting sql sqldatbase storedprocedure string temp textbox timer txttoxmlconverter upload useraccounts usercontol usercontrol vb vb.net vb.netcode vb.nettoolboxvisualbasic2008sidebar vbnet vista visual visualbasic visualbasic.net web wpf xml





