Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Nov 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Automatic program starts (English)

    Hi,
    Im developing a Flight simulator for a project and id like to know if this is feasible in the bounds of VB/VBA. Once the computer is started it will open a program called epic centre where it will press F9 then F10 after a short period of time to load the epic code. Then closes the epic centre where it starts Microsoft Flight Simulator where a program called wideview can be started using a combination of keys (this produces a panoramic view). Basically what id like is a code that executes and closes programs automatically. Is this possible?
    Regards,
    Rob.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Automatic program starts (English)

    I assume that these applications don't have an API, so you're probably limited to starting them through Shell or something like that, and interact with them by sending keystrokes through SendKeys. This is pretty tricky in a multitasking environment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •