×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

vba-solidedge

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

RE: vba-solidedge

Hi,

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

(OP)
Thank's donyoung the second is the code that I need.
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

Hi,

to get those information you can check out Jason Newell's
site (www.jasonnewell.net) and look for his SE spy program.

dy

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources