|
|
 |
| ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other programmers’ questions, win occasional prizes given to our best members, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
|
 |
|
|
 |

April 18th, 2008, 04:58 AM
|
|
Registered User
|
|
Join Date: Mar 2008
Location: PUne, Maharashatra, India.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Calling a btn_click method
hi ,
I have executed the exe file of window form from command prompt and passing some parameter to that exe file.
Now i want to call the btn_submit_click(object sender,eventargs e) method without clicking the submit button..
How can we do that..
any guess...
__________________
Dhiraj
|

April 18th, 2008, 05:03 AM
|
|
Authorized User
|
|
Join Date: Oct 2007
Location: Everett, WA, USA.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Any one of these forums would be a more appropriate location for your post...
http://p2p.wrox.com/visual-basic-13
You should try posting on one of those you find most appropriate to your question.
You won't find much help with windows applications on an ASP.Net form (web applications and web services are written with ASP.Net, not windows applications)
Good luck.
|

April 18th, 2008, 08:52 AM
|
|
Wrox Author
Points: 13,101, Level: 49 |
|
|
Join Date: Oct 2005
Location: Akron, Ohio, USA.
Posts: 4,079
Thanks: 1
Thanked 52 Times in 52 Posts
|
|
You will have to let the program decide if/when this method should be called. You can not directly raise the buttons click event handler, AFAIK, from a console window. If you question is asking how do you call a buttons click event handler within code without the event being raised you could do something like this:
btn_sumbit_click(this, null);
hth.
-Doug
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7
================================================== =========
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |