Computing.Net > Forums > Programming > VB and Open EXE from CD

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

Reply to Message Icon

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.



Sponsored Link
Ads by Google

Response Number 1
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.

Chi

Happy Decemberween, Everybody!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: VB and Open EXE from CD

Autorun.inf and Autorun.exe in CD www.computing.net/answers/programming/autoruninf-and-autorunexe-in-cd-/6789.html

Shared Memory and calling .exe´s www.computing.net/answers/programming/shared-memory-and-calling-exes/4367.html

VB and MAPI - a basic question www.computing.net/answers/programming/vb-and-mapi-a-basic-question/3329.html