C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




plse correct my code


Posted Date: 04 Nov 2006      Total Responses: 1

Posted By: Yasotha.P       Member Level: Gold     Points: 2


i have a console application.EXE and i want to call that exe in to my webform.

if i write like the following it will not give output but at the same time it will not give any error.
if i run the exe file separately it it will give output properly.

plse correct the following code or give some other way to run .EXE file in webform

Dim p As New System.Diagnostics.Process
p.StartInfo.FileName = "E:\ramyavb.net\ConsoleApplication2\bin\ConsoleApplication2.exe"
p.StartInfo.WindowStyle = Diagnostics.ProcessWindowStyle.Maximized
Try
p.Start()
Catch ex As Exception

End Try

'Wait until the process passes back an exit code
p.WaitForExit()

'Free resources associated with this process
p.Close()




Responses

Author: RajasekharB    05 Nov 2006Member Level: BronzeRating:     Points: 2
Hi,
See your old question .
Regards,
Rajasekhar


Post Reply
You must Sign In to post a response.
Next : Socket Application in ASP.NET
Previous : strong password
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

online optimum rewards

Contact Us    Privacy Policy    Terms Of Use