Run VB app directly from CD without running setup 
Author Message
 Run VB app directly from CD without running setup

Is there a way that I can write a VB app and run it from a CD without having
to install anything on a users machine?

Most of my app works by just copying the files to a CD, but I can't print or
display a report (I get Error # 713, which I also can't find!).

Thanks in advance,

Scott Murray



Wed, 18 Jun 1902 08:00:00 GMT  
 Run VB app directly from CD without running setup
If I get you right, you want to run a program from CD...
You can copy *all* the runtime files needed for the app into the same folder
as the executable on the CD and then (sometimes not Windows NT) it will work
fine.

    Peter

Quote:

> Is there a way that I can write a VB app and run it from a CD without
having
> to install anything on a users machine?

> Most of my app works by just copying the files to a CD, but I can't print
or
> display a report (I get Error # 713, which I also can't find!).

> Thanks in advance,

> Scott Murray




Wed, 18 Jun 1902 08:00:00 GMT  
 Run VB app directly from CD without running setup
Scott & Peter,

I'm afraid it isn't as simple as this what you suggest ;-)

First make sure you use VB5 (as VB6 needs newer versions of some
system-dll's), take the VB5 runtime dll with you (I saw indeed that on some
NT-systems this will not work, maybe because of another version in systemdir
?)

If you are lucky you have dll's which doesn't need to be registered, if your
using COM-dll's you have to REGSRV32 the dll's.
If you register the dll's , you are actually creating a little install app,
so when closing the app, you have to unregister the dll's, think about the
fact your app or Windows can crash while running (although it is very
unlikely ;-))

If you are using MDB's, make sure you open it exclusively and read-only,
oherwise the Jet will try to create a LDB on the same place where the MDB
resides, if on CD => cannot write on CD

What reportwriter are you currently using ?

Hope this helps, please correct me when wrong (I'm currently developing in
Clarion, where things are somewhat different).

--
Regards,

Peter Quick
Tekton IT
Software Developer (Clarion, VB, SQL Server)


Quote:
> If I get you right, you want to run a program from CD...
> You can copy *all* the runtime files needed for the app into the same
folder
> as the executable on the CD and then (sometimes not Windows NT) it will
work
> fine.

>     Peter


> > Is there a way that I can write a VB app and run it from a CD without
> having
> > to install anything on a users machine?

> > Most of my app works by just copying the files to a CD, but I can't
print
> or
> > display a report (I get Error # 713, which I also can't find!).

> > Thanks in advance,

> > Scott Murray




Wed, 18 Jun 1902 08:00:00 GMT  
 Run VB app directly from CD without running setup
Put crudely :- No

If your program is very simple - and it does not use any special
controls - then you might be lucky and the relevant support libraries
might be installed.

You should really run the Microsoft Setup to ensure that all the
necessary support files (OCXes, DLLs etc) are present and registered
on the target machine.

One trick is to use a 'fully bound' program in Delphi or C as a
bootstrap. That runs SETUP or your program if SETUP has already been
completed.

I have one at :

http://www.iss.u-net.com/cdboot.htm

Quote:

>> Is there a way that I can write a VB app and run it from a CD without
>having
>> to install anything on a users machine?

>> Most of my app works by just copying the files to a CD, but I can't print
>or
>> display a report (I get Error # 713, which I also can't find!).

>> Thanks in advance,

>> Scott Murray




Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Running VB5 programs from CD without using a setup program

2. running compiled VB program directly from a CD

3. Setup to run app from CD after install.

4. VB4 16bit App runs from CD without installing components into windows\system

5. Running App without setup install

6. Run your app on another machine without SETUP ??!?

7. Running an Application Directly from a CD-ROM

8. Run VB app directly from CD w/o Setup?

9. Running VB App from CD

10. running a VB app from a CD?

11. Making a VB app to run in a CD-Rom

12. Running VB App from a CD

 

 
Powered by phpBB® Forum Software