I have a visual basic project in which there is an image box which has pictures which are dynamically linked... that is the pictures appear in the image box if some action takes place. this has been programmed. But when i package it by including all the links to the pics stored on my comp which will be linked in the code, it gives an error when i run on another comp. it says that the path specified is erroneous. so wat do i do to run on different machines?
Packaging
Collapse
X
-
Originally posted by namithaI have a visual basic project in which there is an image box which has pictures which are dynamically linked... -
Originally posted by namithaHey i am using VB6. The problem is that when i package it takes in all images but when i open in another computer it shows the images in the folder but when i run the code it says that the link is not found.
After that you'll only have to call them with the picturebox1.pic tureComment
-
Originally posted by namithaHey i am using VB6. The problem is that when i package it takes in all images but when i open in another computer it shows the images in the folder but when i run the code it says that the link is not found.
Try using relative path ( like App.Path ) instead of fixed path.Comment
Comment