Friends,
i would like to run an application ( msword.exe) by clicking a command button. Can anyone suggest what to do...
thanx,
bo
Printable View
Friends,
i would like to run an application ( msword.exe) by clicking a command button. Can anyone suggest what to do...
thanx,
bo
From an ASP page?
i wanna do it in vb6 not in asp
If I remember correctly, you can use the "shell" command in VB6
For example:
Sub Button_onclick
Shell (C:\....(path of MSword)..\MSword.exe)
End Sub
make use of the following function.
Option Explicit
Public Function RunExe(ByVal Filename As String) As Long
On Error Resume Next
Shell Filename
'return the error if any
RunExe = Err.Number
End Function
thanks guys........
got it!