Morgen zusammen,
ich muß/soll ProTool aus Access starten. Leider ist die Programmendung meines ProTool-Projeltes keine .exe-Datei. Also wir starte ich von außen ProTool ?
Gruß
Martin
private Sub Befehl0_Click() On Error GoTo Err_Befehl0_Click Dim stAppName As String stAppName = "c:\siemens\ptprorun\ptprorun.exe e:\protool\projekt.fwd" Call Shell(stAppName, 1) Exit_Befehl0_Click: Exit Sub Err_Befehl0_Click: MsgBox Err.Description Resume Exit_Befehl0_Click End Sub
befehlsschaltfläche erstellen (anwendung ausführen), oder ein macro.
befehlszeile: c:\siemens\ptprorun\ptprorun.exe e:\protool\projekt.fwd
die ereignisprozedur sieht dann so aus:
Code:private Sub Befehl0_Click() On Error GoTo Err_Befehl0_Click Dim stAppName As String stAppName = "c:\siemens\ptprorun\ptprorun.exe e:\protool\projekt.fwd" Call Shell(stAppName, 1) Exit_Befehl0_Click: Exit Sub Err_Befehl0_Click: MsgBox Err.Description Resume Exit_Befehl0_Click End Sub
mfg Volker ............ alles wird gut ..
=>Meine Homepage .. direkt zum Download auf meiner HP
zum Download im Internet (Backup nicht unbedingt aktuell)
Bookmarks