ข้อความโดย: admin
« เมื่อ: 08/10/19 »Dim a1, a2, a3, a4, a5 As String
a1 = BB
a2 = rubfongmainkey
a3 = koha
a4 = jod
a5 = jumloe
Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.CreateTextFile("D:\getcasenumber.txt", True)
a.WriteLine a2
a.WriteLine a1
a.WriteLine a3
a.WriteLine a4
a.WriteLine a5
a.Close
Set objShell = CreateObject("Shell.Application")
objShell.ShellExecute "C:\Program Files (x86)\Techno\ScanMaster201\ScanMaster.exe", "", "", "sklcnas", 1
objShell = Nothing
On Error GoTo error1:
error1:
MsgBox Err.Description, vbCritical, "ÁÕ¢éͼԴ¾ÅÒ´à¡Ô´¢Ö鹡ÃسҷӵÒÁ¤Óá¹Ð¹Ó"
a1 = BB
a2 = rubfongmainkey
a3 = koha
a4 = jod
a5 = jumloe
Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.CreateTextFile("D:\getcasenumber.txt", True)
a.WriteLine a2
a.WriteLine a1
a.WriteLine a3
a.WriteLine a4
a.WriteLine a5
a.Close
Set objShell = CreateObject("Shell.Application")
objShell.ShellExecute "C:\Program Files (x86)\Techno\ScanMaster201\ScanMaster.exe", "", "", "sklcnas", 1
objShell = Nothing
On Error GoTo error1:
error1:
MsgBox Err.Description, vbCritical, "ÁÕ¢éͼԴ¾ÅÒ´à¡Ô´¢Ö鹡ÃسҷӵÒÁ¤Óá¹Ð¹Ó"