16-06-23, 02:43 AM
16-06-23, 07:08 AM
وعليكم السلام ورحمة الله وبركاته
كود :
Process.Start("Pro.exe");21-06-23, 08:39 AM
ممتاز ولاكن الكود السابق يجب وضع المسار الكامل للبرنامج
ولاكن حصلت الاجابة التي اريد، جزاك الله خيرا اخي العزيز
Process.Start(AppDomain.CurrentDomain.BaseDirectory + @"Pro\x.exe");
ولاكن حصلت الاجابة التي اريد، جزاك الله خيرا اخي العزيز
Process.Start(AppDomain.CurrentDomain.BaseDirectory + @"Pro\x.exe");
10-07-23, 03:43 AM
لوكان الملف exe بجوار البرنامج يمكن استخدام
Shell("notepad.exe")
لو كان بداخل الريويس
IO.File.WriteAllBytes(My.Computer.FileSystem.SpecialDirectories.Temp & "\notepad.exe", My.Resources.notepad)
Process.Start(My.Computer.FileSystem.SpecialDirectories.Temp & "\notepad.exe")
استبدال notepad.exe ب اسم برنامجك
Shell("notepad.exe")
لو كان بداخل الريويس
IO.File.WriteAllBytes(My.Computer.FileSystem.SpecialDirectories.Temp & "\notepad.exe", My.Resources.notepad)
Process.Start(My.Computer.FileSystem.SpecialDirectories.Temp & "\notepad.exe")
استبدال notepad.exe ب اسم برنامجك