Regards
Robert Bull
bullr...@hotmail.com
WinExec API ,a piece of Win32API is useful .
I show you a sample code as follows.
(VB6.0 and Windows98 are installed in my PC.)
'The declaration of Win32API
Private Declare Function WinExec Lib "kernel32" Alias "WinExec" _
(ByVal lpCmdLine As String, ByVal nCmdShow As Long) As Long
.
Private Sub Command1_Click()
'If you click a Command1 button,"Calc.exe" will be launched
Const SW_NORMAL = 1
Call WinExec("c:\windows\calc.exe", SW_NORMAL)
End sub
--
------------------------------
KONDO , Makoto
m_k...@msc.biglobe.ne.jp
------------------------------