ميخوام در vb.net2005 برنامه اي به نام dialer.exe را اجرا كنم كدش چيه؟ C:\Documents and Settings\Dear-User\Desktop\dialer.exe
Printable View
ميخوام در vb.net2005 برنامه اي به نام dialer.exe را اجرا كنم كدش چيه؟ C:\Documents and Settings\Dear-User\Desktop\dialer.exe
سلام
کد:Private Function ExecuteFile(ByVal FileName As String) As Boolean
Dim myProcess As New Process()
myProcess.StartInfo.FileName = FileName
myProcess.StartInfo.UseShellExecute = True
myProcess.StartInfo.RedirectStandardOutput = False
myProcess.Start()
End Function
روش زیر هم هست:
ولی توصیه میکنم از روش NoneForce استفاده کنید.کد:Shell "C:\Documents and Settings\Dear-User\Desktop\dialer.exe"
بچه ها ممنون ميشه در اين تاپيك هم كمكم كنيد؟
کد:http://www.forum.p30world.com/showthread.php?p=2696800#post2696800