- Menambahkan Code shellexecute di form Codenya adalah
Option Explicit
'========================================================
' API declaration
'========================================================
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
Gampang bukan ? :D
- Menambahkan Modul Shellexecute di form, cara ini cukup mudah, - Pertama anda harus download modul shellexecute
- Masukkan modulnya kedalam project anda caranya dengan meng add file (ctrl + d)
- Pilih file shellexecute.bas yang telah anda download tadi.
- Selesai
No comments:
Post a Comment