ورود

View Full Version : اجرای یک فایل exe در کنار برنامه



Collector
دوشنبه 05 دی 1390, 14:43 عصر
سلام

من این کد رو برای این کار نوشتم اما کار نمیکنند.

System.Diagnostics.Process.Start("\\app.exe");

powerboy2988
دوشنبه 05 دی 1390, 15:09 عصر
چه خطایی می ده؟؟

Collector
دوشنبه 05 دی 1390, 15:31 عصر
چه خطایی می ده؟؟


Error 1 The best overloaded method match for 'System.Diagnostics.Process.Start(System.Diagnosti cs.ProcessStartInfo)' has some invalid arguments



Error 2 Argument '1': cannot convert from 'string' to 'System.Diagnostics.ProcessStartInfo'

Collector
دوشنبه 05 دی 1390, 17:55 عصر
مشکل حل شد

System.Diagnostics.Process.Start("\\App.exe","");