Declare Function ShellExecute Lib "shell32.dll" _
Alias "ShellExecuteA" ( _
ByVal hwnd As Long, _
ByVal lpOperation As String, _
ByVal lpFile As String, _
ByVal lpParameters As String, _
ByVal lpDirectory As String, _
ByVal nShowCmd As Long) As Long
Sub StartAnwendung()
Dim lngRet As Long
lngRet = ShellExecute(Me.hwnd,"open","C:\Anwendung.exe",vbNullString,vbNullString,1)
If lngRet = 0 Then
MsgBox "Anwendung erfolgreich gestartet."
ElseIf lngRet = 1 Then
MsgBox "Fehler beim Starten der Anwendung"
End If
End Sub
Animierte gifs mit Photoshop CS3 öffnen
hans889 18.08.2009 - 1725 Hits - 2 Antworten
Tabellenblatt öffnen
manney 19.06.2009 - 209 Hits - 2 Antworten
Internetseiten öffnen nicht!
wolly.b 29.09.2009 - 668 Hits -
34. Funktionieren die alten Programme und Spiele auch unter Windows 7?
tonja 02.12.2009 - 1189 Hits -