vb enquiry

  • Thread starter Thread starter shalender verma
  • Start date Start date
S

shalender verma

i want to activte my form on pressing some code on any
other window
e.g i run my vb project then i opened a word document now
i want that when i press ctrl+r on word window then i want
to activate my form which is minimized on start bar

please give the solution

bye
 
shalender verma said:
i want to activte my form on pressing some code on any
other window
e.g i run my vb project then i opened a word document now
i want that when i press ctrl+r on word window then i want
to activate my form which is minimized on start bar

please give the solution

This is not possible because Word does not know your application.

Maybe you can write a Word VBA application that is activated on a certain
keypress. In this case you should turn to a Word VBA group.

Alternatively/Additionally: The Word VBA application can call or activate
your VB.NET application.

Another different approach: Add a link to your application on the desktop or
in the start menu. Set a shortcut in the link properties. It might start
your application the second time, but at the start of your application you
can check if it is already running, activate the first instance and quit the
second instance. Search this group on how to do this.
 
Back
Top