-
July 13th, 2004, 11:37 AM
#1
[VB] Start a application from another application on NT
Hello All,
I am trying to find call other then ShellExecute() that opens and runs applications on an NT box. Any suggestions.
regards,
Jay
-
July 13th, 2004, 05:31 PM
#2
WinExec ?
What exactly are you looking for (Or: what is wrong with shellexecute)? Could
winexec work for you?
Code:
Private Declare Function WinExec Lib "kernel32" ( _
ByVal lpCmdLine As String _
, ByVal nCmdShow As Long) As Long
Private Sub Form_Load()
'KPD-Team 1998
'URL: http://www.allapi.net/
'E-Mail: KPDTeam@Allapi.net
'Execute explorer.exe
WinExec "Explorer.exe c:\", 10
End Sub
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
-
July 15th, 2004, 09:24 AM
#3
[VB] what I am looking for
shellExecute() opens internet explorer on Win98/Win2K/WinXP with this call
rc = ShellExecute(App.hInstance, "open", url, vbNullString, "C:\", _
SW_SHOWNORMAL)
it does not work seem to be working with Windows NT.
regards,
Jay
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
|