Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting Keyboard Map with VB.Net

Status
Not open for further replies.

SnasonJoe

Programmer
Oct 21, 2013
7
0
0
US
Well, I'm stuck again, which means SkipVought will probably save my bacon.

Long story short, I'm creating a VB.Net application that interacts with EXTRA! X-treme 8.0 ©2004 (because that's how my company rolls). This app will be distributed to certain users around the company, make a copy of their local version of EXTRA!, and rename it to match the app. However, users tend to change their keyboard mapping settings on occasion which can throw off my "expertly written" code.

I need to change their new session's Key Map to "EXTRA! OFFICE (101 KEY).EKM".

I have a variable (ses) assigned as the EXTRA.ExtraSession, so I can do the following w/ no troubles:
Code:
MsgBox(ses.KeyMap)
and it returns the currently selected Key Map.

However, when I try to set the Key Map:
Code:
ses.KeyMap = "EXTRA! OFFICE (101 KEY).EKM"
all it does it set the Key Map to the letter E. Odd.
1454598_10205097461495981_4731729761390666015_n.jpg


The only thing I could find related to this was at the following article:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top