منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب
تشغيل برنامج او باتش من خلال كود الفي بي -- الطريقه الاولي - نسخة قابلة للطباعة

+- منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب (http://vb4arb.com/vb)
+-- قسم : الأقسام التعليمية - المنتدى القديم (http://vb4arb.com/vb/forumdisplay.php?fid=90)
+--- قسم : مكتبة أكواد المنتدى (http://vb4arb.com/vb/forumdisplay.php?fid=111)
+---- قسم : مكتبة أكواد .net (http://vb4arb.com/vb/forumdisplay.php?fid=117)
+---- الموضوع : تشغيل برنامج او باتش من خلال كود الفي بي -- الطريقه الاولي (/showthread.php?tid=6131)



تشغيل برنامج او باتش من خلال كود الفي بي -- الطريقه الاولي - RaggiTech - 17-10-12

كاتب الموضوع : AhmedEssawy

تشغيل باتش من command line application دون اي اهتمام للنتائج :
Running a command line application, without concern for the results:


كود :
[color=#0000ff][FONT=Courier New]Private[/FONT][/color] [color=#0000ff][FONT=Courier New]Sub[/FONT][/color] Button1_Click([color=#0000ff][FONT=Courier New]ByVal[/FONT][/color] sender [color=#0000ff][FONT=Courier New]As[/FONT][/color] System.[color=#0000ff][FONT=Courier New]Object[/FONT][/color], _
[color=#0000ff][FONT=Courier New]ByVal[/FONT][/color] e [color=#0000ff][FONT=Courier New]As[/FONT][/color] System.EventArgs) [color=#0000ff][FONT=Courier New]Handles[/FONT][/color] Button1.Click
System.Diagnostics.Process.Start([color=#ff0000][FONT=Courier New]"C:\listfiles.bat"[/FONT][/color])
[color=#0000ff][FONT=Courier New]End[/FONT][/color] [color=#0000ff][FONT=Courier New]Sub[/FONT][/color]



RE: تشغيل برنامج او باتش من خلال كود الفي بي -- الطريقه الاولي - سعود - 20-12-20

وسوم الـbbcode لم يتم حذفها منذ دمج المنتديين.
لكن استخدمت هذه الصفحة لحذفها


PHP كود :
Private Sub Button1_Click(ByVal sender As System.Object_
ByVal e 
As System.EventArgsHandles Button1.Click
System
.Diagnostics.Process.Start("C:\listfiles.bat")
End Sub