tanc02
asked on
picture help
Let say, I must do this and I don't want to load the one.gif from vb design time :
main1form.picture =loadpicture("c:\math253\i mages\one. gif")
to load the one.gif from the directory c:\math253\images.
and my vb program(.exe) must be in math253 directory.
so I must setup my program in c:\math253 ...., right ?
if I save everything in A drive without changing anything, or if I save everything in c:\ada like c:\ada\math253...
why my program can't run ? Is there a way I can run my vb program in anywhere or any directory or something like
c:\ada\math\math253... ? If yes, can you tell me how and I would like the detail and code. Remember one.gif must be in math\253\images\
Thank a lot
main1form.picture =loadpicture("c:\math253\i
to load the one.gif from the directory c:\math253\images.
and my vb program(.exe) must be in math253 directory.
so I must setup my program in c:\math253 ...., right ?
if I save everything in A drive without changing anything, or if I save everything in c:\ada like c:\ada\math253...
why my program can't run ? Is there a way I can run my vb program in anywhere or any directory or something like
c:\ada\math\math253... ? If yes, can you tell me how and I would like the detail and code. Remember one.gif must be in math\253\images\
Thank a lot
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
main1form.picture =loadpicture(App.Path & "\images\one.gif")
after I finished the designing the program, I make it EXE file.
So does that mean I can run this program(.exe) in anywhere like copy everything into
A drive or put everything in another sub-sub directory like
c:\math\tan\math253
Is that correct ? My program will run