|
-
Jun 17th, 2000, 04:56 PM
#1
Thread Starter
New Member
I try to run an executable program using shell function from vb6 like this:
Shell "net time \\server /set /yes", vbHide
It works properly, but I have a "winoldap" appears in my ctrl-alt-del list, and it won't disappears when the process successfully done, neither the form unloaded or the application closed.
Is there anyone can help me solve this problem?
Thanks,
Rudy.
-
Jun 17th, 2000, 05:07 PM
#2
Lively Member
Not sure...
Isn't winoldapp DOS? It appears in my Ctrl+alt+del list when i boot my machine from when DOS loads at the beginning, but then subsequently disapears soon after... I presume when it has finished loading some of my hardware, it kills itself.
Please supply more information, for example, is winoldapp in the ctrl+alt+del list before you shell the app?
Laterz
REM
-
Jun 17th, 2000, 07:12 PM
#3
Thread Starter
New Member
I have 2 computer with windows 98 installed, connected by a network. One named "SERVER", and the other named "PC01". I want to synchronize PC01's clock with SERVER.
Usually I run from MS-DOS Prompt by doing this:
c:\windows\>net time \\server /set /yes
But this time I want to run this every time I start the application that I've created with visual basic 6.
I insert this statement in my mainform load event:
Private Sub Form_Load()
Shell "net time \\pc01 /set /yes", vbHide
End Sub
After this process done, "winoldap" (not winoldapp) appears in my ctrl-alt-del task list.
I'll send my ctrl-alt-del task list screen printed (winoldap.bmp) to your email.
Thanks very much for your attention.
Rudy.
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
|