30-08-18, 06:08 PM
لقد قمت باصلاح مشاكل بهاذا الكود
و اما عن الكود
فان الفيجوال يقول ان الخاصية MyUtilities لم تصرح و ارجوا حل سريع لهاذا الكود الثاني الصغير
كود :
Dim p As Process = New Process()
Dim pi As ProcessStartInfo = New ProcessStartInfo()
If (permanent = True) Then
pi.Arguments = " " + "/K" & "/C" + " " + command + " " + arguments
End If
pi.FileName = "cmd.exe"
p.StartInfo = pi
p.Start()كود :
MyUtilities.RunCommandCom("DIR", "/W", true)
