473,225 Members | 1,221 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,225 software developers and data experts.

KeyPress in Word

Hello,

I would like to see my keypress in word. Exactly the key CTRL-SPACEBAR.

Have not found in Word event that I have to use it.

For a tip, I would be grateful.

Greeting

Asim

Aug 14 '08 #1
3 2178
On Aug 14, 8:35*am, "Asim Tozlu" <to...@optimal-systems.dewrote:
Hello,

I would like to see my keypress in word. Exactly the key CTRL-SPACEBAR.

Have not found in Word event that I have to use it.

For a tip, I would be grateful.

Greeting

Asim
where is your program running?
if your program is external to Word you need a global keyboard hook:
http://blogs.msdn.com/toub/archive/2...03/589423.aspx
Aug 14 '08 #2
Hi Ignacio ,

i write an Add-In in C# and my application running in word..

asim

"Ignacio Machin ( .NET/ C# MVP )" <ig************@gmail.comschrieb im
Newsbeitrag
news:53**********************************@25g2000h sx.googlegroups.com...
On Aug 14, 8:35 am, "Asim Tozlu" <to...@optimal-systems.dewrote:
Hello,

I would like to see my keypress in word. Exactly the key CTRL-SPACEBAR.

Have not found in Word event that I have to use it.

For a tip, I would be grateful.

Greeting

Asim
where is your program running?
if your program is external to Word you need a global keyboard hook:
http://blogs.msdn.com/toub/archive/2...03/589423.aspx

Aug 15 '08 #3
On Aug 14, 3:35*pm, "Asim Tozlu" <to...@optimal-systems.dewrote:
Hello,

I would like to see my keypress in word. Exactly the key CTRL-SPACEBAR.

Have not found in Word event that I have to use it.

For a tip, I would be grateful.

Greeting

Asim
You need lowlevelhook or you can check automation i am not sure that
will help but the hook is certain
Aug 15 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Darryn Ross | last post by:
Hi, I am trying to catch the KeyPress event on my datagrid but it isn't working... i have also tried registering the handler with the event like this... dgGLBatch.KeyPress += new...
2
by: rege | last post by:
Hi, I have two applications developed in C# say A and B. When user presses key "L" with applicaition A active , it causes a keypress event which causes application B to run. Application A then...
1
by: Rene | last post by:
Hi, I am running is some problems with the KeyPreview and KeyPress events. The KeyPress event is only triggered when there this an focusable control on the form. When all controls are disabled...
4
by: Tom | last post by:
I have a VB.NET user control that I wrote - this control has three or four other controls on it (textbox, combobox, datetime picker, etc). Now, whenever the control is on a form and the user enters...
15
by: Adam J. Schaff | last post by:
I have noticed that if a user closes a form via pressing return (either while the OK button has focus or if AcceptButton is set to OK for the form) then the "ENTER" keypress event fires ON THE...
3
by: Fia | last post by:
Hi In Visual Basic 6 I could call keypress with an integer of a choosen key. For example I could call a textbox's keypress with the number 13 (for the enter key). But now in Visual Basic .Net I...
1
by: mens libertina | last post by:
Hello, I am programming a little game, and I want the focus to move from one input box to the next as the user types. I have image-input pairs so the user is typing a letter under a picture. ...
5
by: Peter Melville blugrass | last post by:
I need to respond to a Keypress Event in a Word Document. Can Anyone help PLEASE .
5
by: Henry Jones | last post by:
I am new to C# and wanted to capture the KeyPress for a textbox. I created some code as follows: private void textBox3_KeyPress(object sender, System.EventArgs e) { this.textBox2.Text =...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.