09-22-2000, 11:45 AM
how to load a form every time windows starts on booting? The options of putting the command line in win.ini, or putting the form's icon in startup folder are not desired. the user should not get to know that the form will load. it should be like any other window's dll/vxd, which load invisibly.
09-22-2000, 05:31 PM
Drivers are not designed to be viewed on a form. If you dont want the user to see it, why are you using a form?
09-22-2000, 06:49 PM
Could you put it in the registry?
I can tell you how if you think that would be acceptable.
09-23-2000, 10:54 AM
i do not want to load a driver. instead i wish to load an exe file, which is a logger program, to enable logging of activity on the computer, in a multiuser environment.
09-23-2000, 10:58 AM
it is acceptable to put it in registry. but it should be possible to so during the installation of the program itself. the installation program would be that provided by the setup wizard of VB itself.
If it is possible to put it in registry, like all commercial programs do during installation, please help me.
09-23-2000, 11:58 AM
Just add a string to:
The string name should be the name or your program and the string value should be the location of the program.
Check out any VB site to find out how to use the registry through VB.
Also, it will be quite a pain to do so through the setup program provided with VB (Package & Deployment Wizard), although it isn't impossible.
To see how to do it using the Package & Deployment Wizard go to:
<A HREF="http://vb-world.net/misc/customsetup/" target="_new">http://vb-world.net/misc/customsetup/</A>
As an alternative you could add the string to the registry the first time your application starts instead of at setup time.
09-28-2000, 05:46 AM
the site you have mentioned - to look for custom setup through VB Wizard, does not describe the use of wizard to modify registry during the setup.
do you know anyother site which has details on how to use VB setup wizard to have a distribution which automatically modifies the registry as i wish, and creates icons which i want, and not what it is pre programmed to create.
09-28-2000, 07:09 AM
If you were gonna put it in the registry a better place to put it rather then in services is
It is like adding it to the start menu but the user does not see it.
09-28-2000, 11:45 AM
When you use the Wizard to build an installation, it is actually creating a new vb project called setup1.vbp.
Do a Find File on it from the start menu. Then you can modify that project to do anything you want. Then just make a new executable to replace the setup.exe that it originally made.
Hope This Helps,