|
-
November 15th, 1999, 05:48 PM
#1
RunOnce
Hi,
Is there a way I could run my application (written in VB) to run after the User Logon is complete? I tried using RunOnce, but the application runs before the logon is complete and I have seen articles talking about the same. Any help would be appreciated.
Thanks,
Ashley
-
November 15th, 1999, 07:26 PM
#2
Re: RunOnce
I'm sorry if I did not understand what you want. I have such a scenario:
When my program starts, the main form reads from registry. If there is nothing (program never ran on this computer) then the form with controls for initial settings (User Name, Company data, location of database, password and so on) is displayed. This form writes to the registry. After that the program runs. Next time the main form will find these data in a registry and the second form will not be displayed anymore. I have a class to read from and write to the registry, so everything I described is not too complicated.
Vlad
-
November 15th, 1999, 08:01 PM
#3
Re: RunOnce
Hi,
I think you have covered pretty much what I am looking for. In our case it is a simple EXE which just registers some DCOM Server Executables. We require this to run on the system which has never run this program before before. But if I put the entry in the registry under
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\RunOnce]
the program runs immediately before the user logon is complete, which is causing some problems. I want this program to run after the user logon is complete and we are able to see the Start Menu, system trays etc.
Could you give me a pointer on how to go about it?
Thanks
Ashley
-
November 16th, 1999, 09:44 AM
#4
Re: RunOnce
send me your E-Mail address to [email protected]. Although I'm preety busy now I will be able to send you several files and if you will have some problem with uderstanding how I did you'll ask me.
Vlad
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|