|
Yes, i need to appear the windows form in the machine and need to do some online works, using socket. The concept of yahoo messenger, but i need to open the .exe from a button click event from the website.
|
|
|
|
|
ypki wrote: The concept of yahoo messenger
Yahoo messenger is not opened from a webpage. It is a stand-alone application which communicates with a remote server.
ypki wrote: Yes, i need to appear the windows form in the machine
Then you need the executable file on this machine. It can't be launched through a web page which resides on a remote server. As I said, you need to do some reading on how web applications works.
|
|
|
|
|
I search lot in web for solving this..but no result
|
|
|
|
|
Your not getting the result you expect. All ASP.NET code runs entirely on the server and generates HTML pages which are sent to the client. So, on your server, you're trying to execute Notepad or something else, which will only result in the app being launched ON THE SERVER. You cannot launch an executable on the browser side from ASP.NET code. It can only be done, IF AND ONLY IF, the clients browser security settings are relaxed and only from client-side Java, JavaScript, or VBScript code.
|
|
|
|
|
i have username and password in sqlserver, i want to call the username and password in asp.net, please anyone help me, to give me the code in c#.
|
|
|
|
|
Are you in right forum.Please post you rquestion in ASP.NET forum.
Cheers!!
Brij
|
|
|
|
|
hi guys...
i dn know how to use connection zone in webparts. i need a sample code for this one.please help...
modified on Monday, December 29, 2008 2:08 AM
|
|
|
|
|
Hello everyone,
For a beginner of T-SQL for Windows SQL Server 2005 on Windows Server 2003, what is your suggested book?
thanks in advance,
George
|
|
|
|
|
I'd suggest this[^] and this[^]
BTW, you are in wrong forum
|
|
|
|
|
Hi Navaneeth,
I think the T-SQL Querying is not for beginners?
BTW: there is no SQL Forum here.
regards,
George
|
|
|
|
|
George_George wrote: BTW: there is no SQL Forum here.
There is!![^]
|
|
|
|
|
Thanks Luis,
I only see the 1st word which is general before.
regards,
George
|
|
|
|
|
Hi! Simple C# question, I'm just wondering the the connection will close in the code below:
try {
connection.Open();
command.ExecuteNonQuery();
throw new Exception();
} catch(Exception) {
throw;
}
finally {
connection.Close();
}
Rafferty
|
|
|
|
|
yes becouse finally block gets excecuted in any situation whether there is exception or code excecutes successfully.
rahul
|
|
|
|
|
So, in the statement sequence, will the connection.Close() be executed before or after the exception is rethrown in the catch(...) block?
If after, what if this whole thing is contained in another try... catch statement, will the catch statement in the parent next be executed first?
Rafferty
|
|
|
|
|
What happened when you tried? All you are asking can be easily checked by writing a simple program.
|
|
|
|
|
haha okay okay, i'll try then.
Rafferty
|
|
|
|
|
it will excecuted after the exception is rethrown and the outer catch block will be excecuted next.
rahul
|
|
|
|
|
You're right! I just made a small experiment as Navaneeth suggested and it looks like the case.
Thanks much!
Rafferty
|
|
|
|
|
|
my parametere for back up is correct and my program connect to sql server
but ,I dont know reason of this error at line of
sqlBackup.SqlBackup(sqlServer);
error message :
Backup failed for Server 'myservername'.
can u help me why it happens ...
|
|
|
|
|
Have you checked the InnerException value?
|
|
|
|
|
i've a main form having a listening socket in a separate thread, when a client msg received this thread creates a new thread, with in this new thread i want to fill a form(i have already designed) with new controls and show it, for each client i want to do this. the probelm i'm facing is the second form is only displayed for the showdialog(), it shows a white form without controls for show(); any idea to solve this ? while it is in the showdialog status all the requests are queued.
|
|
|
|
|
sorry to make you worry , i found the mistake that i had made , thanx
|
|
|
|
|
Hey guys
I create a webform in a new project however this form will also be using in another project. So i using add existing item to add it to my project however i am unable to call for that page. Any idea how to go around doing this?
Thanks a million
KaKaShi HaTaKe
|
|
|
|