Move shelled application using code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rdemyan via AccessMonster.com

    #1

    Move shelled application using code

    Is there a way, in code, to move a shelled application on the screen. I've
    got the shelled app to open and it centers itself. I would like to move it
    to the right using code, but I don't know how. Here's the line of code I
    have so far:

    varAppID = Shell(strShell, vbNormalFocus)

    It opens fine. Also, is there a way to open the shelled application modally,
    so that the user has to deal with it immediately. The specific app that I'm
    looking at is the Replication Conflict Viewer.

    Thanks.

    --
    Message posted via AccessMonster.c om


  • Lyle Fairfield

    #2
    Re: Move shelled application using code


    rdemyan via AccessMonster.c om wrote:
    Is there a way, in code, to move a shelled application on the screen. I've
    got the shelled app to open and it centers itself. I would like to move it
    to the right using code, but I don't know how. Here's the line of code I
    have so far:
    >
    varAppID = Shell(strShell, vbNormalFocus)
    >
    It opens fine. Also, is there a way to open the shelled application modally,
    so that the user has to deal with it immediately. The specific app that I'm
    looking at is the Replication Conflict Viewer.
    >
    Thanks.
    --
    Message posted via AccessMonster.c om
    http://www.accessmonster.com/Uwe/For...ccess/200612/1
    Sure there is.

    Comment

    • rdemyan via AccessMonster.com

      #3
      Re: Move shelled application using code

      And that might be?

      Lyle Fairfield wrote:
      >Is there a way, in code, to move a shelled application on the screen. I've
      >got the shelled app to open and it centers itself. I would like to move it
      >[quoted text clipped - 11 lines]
      >Message posted via AccessMonster.c om
      >http://www.accessmonster.com/Uwe/For...ccess/200612/1
      >
      >Sure there is.
      --
      Message posted via AccessMonster.c om


      Comment

      • Lyle Fairfield

        #4
        Re: Move shelled application using code

        rdemyan via AccessMonster.c om wrote:
        And that might be?
        I thought you just wanted to know if it's possible.

        I'll have a look in the archives and see if I can find something. Maybe
        I'll get around to posting it in ffdba.com in a few days.

        Comment

        • John Mishefske

          #5
          Re: Move shelled application using code

          rdemyan via AccessMonster.c om wrote:
          >>>Is there a way, in code, to move a shelled application on the screen. I've
          >>>got the shelled app to open and it centers itself. I would like to move it
          Yes, using API calls - FindWindowEx and SetWindowPos Try this or Google for more info.




          --
          '---------------
          'John Mishefske
          '---------------

          Comment

          • Lyle Fairfield

            #6
            Re: Move shelled application using code


            John Mishefske wrote:
            rdemyan via AccessMonster.c om wrote:
            >>Is there a way, in code, to move a shelled application on the screen. I've
            >>got the shelled app to open and it centers itself. I would like to move it
            >
            Yes, using API calls - FindWindowEx and SetWindowPos Try this or Google for more info.
            >

            >
            >
            --
            '---------------
            'John Mishefske
            '---------------


            Comment

            • rdemyan via AccessMonster.com

              #7
              Re: Move shelled application using code

              Thanks, I'll try it out and report back if I have any problems.

              Lyle Fairfield wrote:
              >>>Is there a way, in code, to move a shelled application on the screen. I've
              >>>got the shelled app to open and it centers itself. I would like to move it
              >[quoted text clipped - 7 lines]
              >'John Mishefske
              >'---------------
              >
              >http://www.ffdba.com/downloads/Open_...pplication.htm
              --
              Message posted via http://www.accessmonster.com

              Comment

              Working...