hi i really need some code that will allow me to open any type of exe from my visual basic program, i am trying to creat a portable app program for my usb memory stick, so that when i insert my usb memory stick it will come up with a menu and you can elect certain programs and that is where i need you help i need some code that will open a .exe through my program. thanks in advance
Have you tries using Shell. I use it sometimes to open other EXEs on my PC like calling WORD or EXCEL for instance.
what is shell? i could give it ago if i can find out how to do it?
Runs the executable program specified by the pathname argument and returns a Variant of subtype Double that represents the program's task ID. If Shell is unsuccessful, it returns zero. The optional windowstyle argument determines the style of the window in which the shelled program runs.