Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
VB and Open EXE from CD
Name: stroke6463 Date: February 1, 2005 at 12:33:45 Pacific OS: XP CPU/Ram: 933/256
Comment:
Heres the situation. I want to put my VB6 program onto a CD and have it autorun(I know how to do that) but certain buttons in my program have to open EXE files. The program works great from my c: but that is because they have complete paths to the EXE. I want to be able to burn my program and the EXEs on a CD and goto another computer and run it. Is there some kind of code for "cddrive"\program\program.exe? Thanks.
Name: wizard-fred Date: February 1, 2005 at 13:04:43 Pacific
Reply:
All you need to do is include in your program the path to the executable file. The problem will be to identify the drive letter of the CD. And make sure that no attempt is made to write to the CD. You could create a workspace on drive C.
0
Response Number 2
Name: StuartS Date: February 1, 2005 at 14:09:36 Pacific
Reply:
Putting a VB programme onto a CD and expecting it to work on another computer is nigh on impossible.
All except the most trivial of VB programme requires some support files and unless those support files are installed on the target PC, it is not going to work.
Putting the support files on the CD wont work either as the have to be registered with the target PC before they can be used.
Stuart
0
Response Number 3
Name: Chi Happens Date: February 2, 2005 at 03:42:08 Pacific
Reply:
Right, use the Package and Deployment wizard that comes with VB6.
Summary: Can I have 2 'open' command in autorun.inf ? in another words, is the following correct? (assuming readme.txt and sliceshow.exe, a small executable in a folder on the cd-rom called 'my pictures') [aut...
Summary: In a windows you can map a file to memory and open that mapping from different processes. Read this: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/creating_named_shared...
Summary: I'm just starting into a VB MAPI project (at least I think it is): to auto-compose and send Internet e-mails with attachments from within a corporate Intranet (NT 4 servers). I've been given the addr...