IT Community - Software Programming, Web Development and Technical Support

Running DOS application without open Command window using C# .NET

This is a discussion on Running DOS application without open Command window using C# .NET within the C# Programming forums, part of the Software Development category; Running DOS application without open Command window using C# .NET calling a dos exe from ASP.NET Goals: This project ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C# Programming

Register FAQ Members List Calendar Mark Forums Read
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 07-17-2007, 12:08 AM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Default Running DOS application without open Command window using C# .NET

Running DOS application without open Command window using C# .NET

calling a dos exe from ASP.NET

Goals:

This project is used to call dos exe from ASP.NET without opening any winodw or command prompt.

Source:

ProcessStartInfo startInfo = new ProcessStartInfo("Test.exe" + arguments);
startInfo.CreateNoWindow = true;
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
startInfo.UseShellExecute = false;
proc.StartInfo = startInfo;
proc.StartInfo.RedirectStandardInput = true;
proc.StartInfo.RedirectStandardError = true;
proc.StartInfo.RedirectStandardOutput = true;
proc.Start();
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/c-programming/1898-running-dos-application-without-open-command-window-using-c-net.html
Posted By For Type Date
C# Programming [Archive] - DiscussWeb IT Community - Technical Support and Technology Discussions This thread Refback 03-06-2008 09:21 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
open a new window using php code gk_cloud PHP Programming 3 03-26-2008 09:08 PM
Error: command line error MIDL1001 : cannot open input file wincodec.idl midl Mramesh C# Programming 0 02-18-2008 11:07 PM
How to open popup onmouseover and to close the same window onmouseout javascript? bluesky HTML, CSS and Javascript Coding Techniques 3 12-07-2007 06:51 AM
Running indifferent application domains vigneshgets C# Programming 1 09-07-2007 06:58 AM
IE7: What is the Code open window in a ' montyauto HTML, CSS and Javascript Coding Techniques 4 03-27-2007 11:07 AM


All times are GMT -7. The time now is 04:14 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0