 |
 |

09-22-2000, 11:45 AM
|
|
|
load a form every time windows starts
|
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
|
|
Junior Contributor
|
|
Join Date: Aug 2000
Location: Florida
Posts: 163
|
|
Re: load a form every time windows starts
|
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?
Chuck
|
|

09-22-2000, 06:49 PM
|
|
|
Re: load a form every time windows starts
|
Could you put it in the registry?
I can tell you how if you think that would be acceptable.
-cl
|
|

09-23-2000, 10:54 AM
|
|
|
Re: load a form every time windows starts
|
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.
please help
|
|

09-23-2000, 10:58 AM
|
|
|
load a form every time windows starts
|
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
|
|
|
Re: load a form every time windows starts
Just add a string to:
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRunServices
-or-
HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionRun
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.
Good Luck
-cl
|
|

09-28-2000, 05:46 AM
|
|
|
Re: load a form every time windows starts
|
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
|
|
Centurion
|
|
Join Date: Sep 2000
Location: England
Posts: 133
|
|
Re: load a form every time windows starts
|
If you were gonna put it in the registry a better place to put it rather then in services is
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun
It is like adding it to the start menu but the user does not see it.
Grimfort
|
|

09-28-2000, 11:45 AM
|
|
Senior Contributor
|
|
Join Date: Apr 2000
Location: Edge City, CA
Posts: 799
|
|
Re: load a form every time windows starts
|
Sir,
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,
->Noah
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
|
|
 |
|