| | |
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 |
.net 2005 2008 access account arithmetic array arrays basic bing button buttons c# center check checkbox code combobox component convert crystalreport data database datagrid datagridview date dissertation dissertations dropdownlist excel fade file-dialog ftp generatetags google gridview hardcopy images inline input insert intel internet listview mobile monitor ms net networking objects output passingparameters peertopeervideostreaming picturebox picturebox1 plugin port print printing problem problemwithinstallation project remove save searchbox searchvb.net select serial server shutdown soap sorting survey table tcp temperature text textbox timer toolbox trim update updown user validation vb vb.net vb.netcode vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet view visual visualbasic visualbasic.net visualstudio visualstudio2008 web winforms wpf





