~J~ said:Well I'm sure I'm missing the point here, but can you not just use the Shell command on the click of a button, or within your code![]()
Dim dTaskID As Double, path As String, file As String
path = "C:\program files\Solid Edge V16\Program\edge.exe"
file = "C:\part1.par"
dTaskID = Shell(path + " " + file, vbNormalFocus)
'MsgBox ("Program loaded")
End
Hybrids said:Nevermind managed to do some google searchs on the Shell command and found a similar example
Code:Dim dTaskID As Double, path As String, file As String path = "C:\program files\Solid Edge V16\Program\edge.exe" file = "C:\part1.par" dTaskID = Shell(path + " " + file, vbNormalFocus) 'MsgBox ("Program loaded") End