|
||||||
| Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
wow, I fixed it with just replacing a simple code line :
If Dialog1.FileNames.Count > 0 Then Dialog1.ShowDialog() "<<------- For Each Path In Dialog1.FileNames Dim IMG As System.Drawing.Image = System.Drawing.Image.FromFile(Path) Image1.Images.Add(IMG) Next Path Else MessageBox.Show("You have not selected any images") End If EDIT: Only one thing: this has nothing to do with the dialog thing. What code do I need to use, so my program will autmaticly know where a file is located. Because if a file has this path for me: C:\Program Files\Microsoft\lol.jpg And somebody else places it somewhere else then the picture wont load. So what is the code for that? I know there is but I can't remember it Last edited by wazofski; 08-28-2008 at 01:22 PM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C/C++ FAQ: Read this before you post! | v0id | C and C++ | 7 | 08-05-2008 01:08 PM |
| How to make image straight - Photoshop | ahsan16 | Photoshop Tutorials | 56 | 07-30-2008 04:11 PM |
| Tutorial: Java Collections | Jordan | Java Tutorials | 0 | 05-05-2008 07:38 PM |
| Help with image upload script - need to make an if null statement | norbie | PHP Forum | 7 | 05-04-2008 10:44 AM |
| Resize Images And Maintain Original Sharpness | AfTriX | Photoshop Tutorials | 7 | 04-20-2007 10:55 AM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |