Word Keyboard event

Add-in Express™ Support Service
That's what is more important than anything else

Word Keyboard event
How can I subscribe to recieve keyboard events 
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Ashish.

The new build is ready. We will publish it tomorrow.
Posted 06 Mar, 2008 08:49:19 Top
ashish sharma


Guest


Hi Sergey

Thanks for it.
Can i have your gtalk or msn chat id or your phone number, so that i can get instant help from you

Posted 06 Mar, 2008 09:26:49 Top
ashish sharma


Guest


Hi Sergey,
i had simply use timer control and no other component and having ignore and replace functionality in my form, so whenever i come across any word which is there in database the form will be visible and ask user to replace that word with the alternative shown or ignore it, my replace functionality is as below

ActiveWindow = AddinExpress.MSO.ADXAddinModule.CurrentInstance.HostApplication.ActiveWindow

Dim sen As Word.Sentences = Nothing
Dim Selec As Word.Selection = Nothing

Dim actDoc As Word.Document = Nothing
Try
sen = ActiveWindow.Document.Sentences
Selec = ActiveWindow.Selection
actDoc = ActiveWindow.Document

Dim ash As String
ash = Selec.Text
Selec.Text = "Value from database" & " "

the selected word is getting replace but when i m clicking on the close window in my form the word is changing back to the original one

the code in close button
Me.Visible = False
Posted 06 Mar, 2008 09:41:54 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Ashish,
I have already added the OnKeyDown event to Add-in Express.
Posted 06 Mar, 2008 12:32:05 Top
ashish sharma


Guest


Hi Sergey,

Will be thank ful if you let me know how to get these updates with some sapmle code in vb.net for ms word

The Product which i am using is :
Add-in Express™ 2007 for .NET
Posted 07 Mar, 2008 02:55:42 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Ashish.

You can download a new build from the Download web page.

You just need to set the HandleShortcuts property to true and add the OnKeyDown event handler in the adxmodule.
Posted 07 Mar, 2008 12:44:52 Top
ashish sharma


Guest


The following links are available for downloading in the download link,

Add-in Express 2008 for .NET, Premium package
Add-in Express 2008 for Microsoft .NET, Professional package
Add-in Express 2008 for .NET, Standard package
Add-in Express 2007 for Microsoft .NET, Basic package
Add-in Express 2007 for .NET, Standard package
Add-in Express 2007 for Microsoft .NET, Professional package
Add-in Express 2007 for .NET, Premium package


The Product which i am using is :
Add-in Express™ 2007 for .NET

i tried with all the download, few of them(2008 version) are not getting activated and
those(2007 version) which are getting activated does'nt have OnKeyDown event handler in the adxmodule

Don't know what i m doing wrong, if you can mail me the sample that would be great at caveatashish@rediffmail.com

Posted 08 Mar, 2008 02:23:38 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Ashish.

Ok. I will send you an intermediate build on Monday.
Posted 09 Mar, 2008 15:40:52 Top
Ashish Sharma


Guest


Thanks Sergey.

Waiting for the intermediate build and please send the same with an example
Posted 10 Mar, 2008 04:21:08 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Ashish, do you use Add-in Express, Standard edition?
Posted 11 Mar, 2008 09:32:01 Top