CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 1998
    Posts
    1

    Controlling other running applications



    Assume the MS calculator is running.

    How would I select View-->Standard from the Calculator Menu bar

    from a VB application?


    Thanks,

    Joe


    The next step would be sending values to it, I will try SendKeys()

    for this.

  2. #2
    Join Date
    Dec 1998
    Posts
    28

    Re: Controlling other running applications



    You can access menus with SendKeys, just send whatever the shortcut key is. There is an API, keybd_event that does the same thing.

  3. #3
    Join Date
    Mar 1999
    Location
    Roswell, GA
    Posts
    73

    Re: Controlling other running applications



    if you call the app, you can use

    AppActivate title[, wait]

    where title is the ID returned form the shell function


    phil



  4. #4
    Join Date
    Mar 1999
    Location
    Roswell, GA
    Posts
    73

    Re: Controlling other running applications



    if you call the app, you can use

    AppActivate title[, wait]

    where title is the ID returned form the shell function


    phil



Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured