• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 214
  • Last Modified:

SendKeys

Hello,

In VB.Net forms, we use sendkeys.Send

Now I have a vb.net add-in project and want to use similar command. Which namespace should I import?

Regards,
VJ
0
vj_mi
Asked:
vj_mi
1 Solution
 
bruintjeCommented:
Hello vj_mi,

you could take System.Windows.Forms
source: http://msdn2.microsoft.com/en-us/library/system.windows.forms.sendkeys(VS.80).aspx

hope this helps a bit
bruintje
0
 
vj_miAuthor Commented:
Hi,

I found that with add-in program, this namespace cannot be entered. Similary, I also want to set bitmaps to the add-in buttons. But I cannot see options to import system.drawing?

How to do it?

Regards,
VJ
0
 
lee_ingramCommented:
you will need to add in the approprate references, before using the keyword Import.  It will then allow you to import these namespaces.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now