PC Review


Reply
Thread Tools Rate Thread

Click the Enter Button...

 
 
=?Utf-8?B?SHVzYW0=?=
Guest
Posts: n/a
 
      22nd Mar 2005
hi EveryBody:

How can I click the Enter button automatically, how can I write code
progrmatically that click the Enter Button ?

Any help will be appreciated

regard's

Husam
 
Reply With Quote
 
 
 
 
=?Utf-8?B?S2VuIFR1Y2tlciBbTVZQXQ==?=
Guest
Posts: n/a
 
      22nd Mar 2005
Hi,


SendKeys.Send("{Enter}")

http://msdn.microsoft.com/library/de...classtopic.asp

Ken
-------------------------------------

"Husam" wrote:

> hi EveryBody:
>
> How can I click the Enter button automatically, how can I write code
> progrmatically that click the Enter Button ?
>
> Any help will be appreciated
>
> regard's
>
> Husam

 
Reply With Quote
 
Pipo
Guest
Posts: n/a
 
      22nd Mar 2005
Husam,

You can use the PerfromClick property. It's a property on the tton object
e.g. button1.PerformClick



"Husam" <(E-Mail Removed)> wrote in message
newsF212BD2-DC9B-4D97-8781-(E-Mail Removed)...
> hi EveryBody:
>
> How can I click the Enter button automatically, how can I write code
> progrmatically that click the Enter Button ?
>
> Any help will be appreciated
>
> regard's
>
> Husam



 
Reply With Quote
 
Cor Ligthert
Guest
Posts: n/a
 
      22nd Mar 2005
Husam,

In my opinion very good answer given yesterday on your same question.

http://groups-beta.google.com/group/...ce06adb2080f3d

Cor


 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      22nd Mar 2005
"Husam" <(E-Mail Removed)> schrieb:
> How can I click the Enter button automatically, how can I write code
> progrmatically that click the Enter Button ?


I suggest to read the replies given to your question in the last few days
and respond to them instead of opening the same question in a new thread
again and again.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
On hit enter key, run button on click code BlueWolverine Microsoft Access Forms 1 6th Aug 2008 02:27 PM
hitting enter button while in textbox calls correct button's click event TS Microsoft ASP .NET 5 29th Nov 2005 01:54 AM
asp:Button click when Enter is pressed - help Timothy V Microsoft ASP .NET 1 21st Jul 2004 07:34 AM
wire enter to button click Derrick Microsoft ASP .NET 3 2nd Jul 2004 04:40 PM
Use enter key to click button? Steve Microsoft ASP .NET 5 22nd Nov 2003 02:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:15 PM.