Kan dette bruges
' Dette åbner exe filer
Shell "C:\Program Files\Microsoft Office\Office\FRONTPG.EXE"
----------------------------------------------------------------------------
------------------------
' Dette kan åbner alt
' I et modul
Public 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
' Fx i en knap
ShellExecute Form1.hwnd, "open", "C:\Program Files\Microsoft
Office\Office\FRONTPG.EXE", "", "", 1
|