Click here to Skip to main content
15,921,840 members
Home / Discussions / C#
   

C#

 
GeneralRe: Read HTML tags in XML Reader Pin
jhuerta29-Dec-08 3:33
jhuerta29-Dec-08 3:33 
Questionproblem in datagridview Pin
SreejithKumar M28-Dec-08 22:39
SreejithKumar M28-Dec-08 22:39 
AnswerRe: problem in datagridview Pin
rah_sin28-Dec-08 22:47
professionalrah_sin28-Dec-08 22:47 
GeneralRe: problem in datagridview Pin
SreejithKumar M28-Dec-08 22:54
SreejithKumar M28-Dec-08 22:54 
GeneralRe: problem in datagridview Pin
rah_sin28-Dec-08 23:02
professionalrah_sin28-Dec-08 23:02 
GeneralRe: problem in datagridview Pin
SreejithKumar M28-Dec-08 23:07
SreejithKumar M28-Dec-08 23:07 
QuestionHow to send shutdown-restart command with TCP/IP Pin
Member 465172928-Dec-08 22:31
Member 465172928-Dec-08 22:31 
AnswerRe: How to send shutdown-restart command with TCP/IP Pin
Dave Kreskowiak29-Dec-08 1:51
mveDave Kreskowiak29-Dec-08 1:51 
GeneralRe: How to send shutdown-restart command with TCP/IP Pin
Member 465172929-Dec-08 3:43
Member 465172929-Dec-08 3:43 
GeneralRe: How to send shutdown-restart command with TCP/IP Pin
Dave Kreskowiak29-Dec-08 3:50
mveDave Kreskowiak29-Dec-08 3:50 
GeneralRe: How to send shutdown-restart command with TCP/IP Pin
Member 465172929-Dec-08 4:57
Member 465172929-Dec-08 4:57 
GeneralRe: How to send shutdown-restart command with TCP/IP Pin
Member 465172930-Dec-08 0:39
Member 465172930-Dec-08 0:39 
QuestionRe: How to send shutdown-restart command with TCP/IP Pin
Member 46517292-Jan-09 1:42
Member 46517292-Jan-09 1:42 
AnswerRe: How to send shutdown-restart command with TCP/IP Pin
Member 46517292-Jan-09 2:37
Member 46517292-Jan-09 2:37 
QuestionI have Macros in Excel and I want it to run through my application in .NET Pin
sejal12328-Dec-08 21:45
sejal12328-Dec-08 21:45 
AnswerRe: I have Macros in Excel and I want it to run through my application in .NET Pin
Member 447035429-Dec-08 8:43
Member 447035429-Dec-08 8:43 
GeneralRe: I have Macros in Excel and I want it to run through my application in .NET Pin
sejal1231-Jan-09 23:27
sejal1231-Jan-09 23:27 
QuestionRun exe from web page Pin
yesu prakash28-Dec-08 21:11
yesu prakash28-Dec-08 21:11 
Hi,
I need to run a exe file from the local system using a web page.My attempt show error.

My code to call the exe from a web page is :-
System.Diagnostics.Process.Start
(@"D:\ProgramFile\WindowsApplication1.exe", "" + UsrId + " " + TextBox2.Text + " ");

and

System.Diagnostics.Process.Start("notepad");

It is properly working in the local system using http://localhost. When i publish the application ie. run from a site eg: http://192.169.1.26/application/login.aspx from server system, the windows form is not display.

Error message:--

"An unhandled exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll"

"Additional information: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application."

"Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application."

This is the error message in case of opening an windows form. No message is shown when i open a notepad, its not visible.

Regards,
YPKI
AnswerRe: Run exe from web page Pin
N a v a n e e t h28-Dec-08 21:48
N a v a n e e t h28-Dec-08 21:48 
GeneralRe: Run exe from web page Pin
yesu prakash28-Dec-08 22:11
yesu prakash28-Dec-08 22:11 
GeneralRe: Run exe from web page Pin
N a v a n e e t h28-Dec-08 22:32
N a v a n e e t h28-Dec-08 22:32 
GeneralRe: Run exe from web page Pin
yesu prakash28-Dec-08 23:01
yesu prakash28-Dec-08 23:01 
GeneralRe: Run exe from web page Pin
Dave Kreskowiak29-Dec-08 1:59
mveDave Kreskowiak29-Dec-08 1:59 
Questionhow to use the login controls in asp.net ? Pin
venkatnara28-Dec-08 20:26
venkatnara28-Dec-08 20:26 
AnswerRe: how to use the login controls in asp.net ? Pin
Brij28-Dec-08 20:57
mentorBrij28-Dec-08 20:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.