1.

Solve : Portable Apps?

Answer»

I want to create portable applications in VB6 like other available portable applications on net.

There is any possibility to creating portable applications in VB6? It all depeneds on what you wanna make. Most things you code in languages and compile are portable in the fact that you have an exe and you can put it on your flash drive and load it normally on most 32/64 bit windows system.

If you need to touch the REGISTRY then it will obviously not be portable.

But yeah you probable do not need to do that for most applications you make (although i do not know what you are making).

By the in vb6 to make an exe you will need the enterprise edition its under file make exe
Thank you for the reply.


Quote

It all depends on what you wanna make.

I want to create CD autorun menu with the few options like to install the software which is presented on CD and run that software if already installed the system.


Quote
By the in vb6 to make an exe you will need the enterprise edition its under file make exe

I know and I have.


Quote
in the fact that you have an exe and you can put it on your flash drive and load it normally

The vb6 application (exe file) needs vb6 runtime files to run. For my above need that's not possible in vb6 even supply exe with runtime files.


Why I ask it in vb6. VB6 is very easier than other languages.

If you have any guide please reply me. Language is not problem. But it must be cross windows application.I was under the IMPRESSION that the vb runtime was distributed with windows since windows 2000.Quote from: IamError on January 25, 2009, 06:29:21 AM
I was under the impression that the vb runtime was distributed with windows since windows 2000.

That is correct. However, service pack levels can be an issue. Google is your friend!


Make EXE is in the Visual Basic 6 Professional and Enterprise editions, not just enterprise. (Trust me, I collect these things, I have every version back to version 1!)

Even pushing the MSVBVM60.dll service pack level issue aside, there is still the likelyhood that additional References or Controls will be needed for the application; if this is the case, it will be necessary to register them either before running the app or before using Controls.Add() or CreateObject() to create instances of the referenced objects.Thanks to ALL.

@BC_Programmer:

Quote
if this is the case, it will be necessary to register them either before running the app ...

Can I register them during EXE loading?

That means self registering.
No.

Although if you use Late binding, Controls.Add and CreateObject(), you can manually REGSVR32 the required libraries and the create the objects.Quote
you can manually REGSVR32 the required libraries and the create the objects.

Manual registration is too waste. Because user need to know about it and it may irritate the user.


You may saw the autorun menu on few of Games CD with options like Install, Run, Exit etc... while inserting CD.

That menu appeared with out any interaction with the user.

We can create like that menu in Flash but not well in coding and it have some limitations.

Thanks.I MEANT manually program it in. IE: shell..OK. I Will try this. Are you tried it before?Quote from: CBSk on January 27, 2009, 09:37:45 PM
OK. I Will try this. Are you tried it before?

Sort of- for a script language interpreter I wrote. it uses the language DLL and a few other components that need to be registered, so it uses late binding and if an error occurs with the createobject() call it will check for the DLL files in it's folder and register them, then try again. I don't use REGSVR32 but rather some calls to Typelib information function to register the type libraries but it's the same EFFECT.


Discussion

No Comment Found