vba-solidedge
vba-solidedge
(OP)
hi
I make a little program using vba6 and solid-edge14..
Now I'd like to give from my program (with a pres button) a keyboard imput (ALT + U). I try using keybd_event Lib "user32" but don't work. May be I Can't press alt...
or there is a problem with keybd_event and solid-edge..
Can you help me? Thanks
I make a little program using vba6 and solid-edge14..
Now I'd like to give from my program (with a pres button) a keyboard imput (ALT + U). I try using keybd_event Lib "user32" but don't work. May be I Can't press alt...
or there is a problem with keybd_event and solid-edge..
Can you help me? Thanks





RE: vba-solidedge
not quite clear what you would like to do:
- catch a keyboard interrupt?
- send some keyboard strokes (Alt+U) to SE?
Alt+U will be caught by SE itself. To simulate that you can
use this:
objSeApp.StartCommand(40236) ' similar to ALt+U for active .par/.psm/.pwd
objSeApp.StartCommand(33068) ' similar to ALt+U for active assembly
dy
RE: vba-solidedge
You use objSeApp.StartCommand(33068) and use 2 numbers 33068 40236 to active the command because we are in par or assemby where I can found the list of code to run startcommand.Thank's .
RE: vba-solidedge
to get those information you can check out Jason Newell's
site (www.jasonnewell.net) and look for his SE spy program.
dy