By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,474 Members | 3,141 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,474 IT Pros & Developers. It's quick & easy.

Move shelled application using code

P: n/a
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.com
http://www.accessmonster.com/Uwe/For...ccess/200612/1

Dec 22 '06 #1
Share this Question
Share on Google+
6 Replies


P: n/a

rdemyan via AccessMonster.com 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.com
http://www.accessmonster.com/Uwe/For...ccess/200612/1
Sure there is.

Dec 22 '06 #2

P: n/a
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.com
http://www.accessmonster.com/Uwe/For...ccess/200612/1

Sure there is.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200612/1

Dec 22 '06 #3

P: n/a
rdemyan via AccessMonster.com 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.

Dec 22 '06 #4

P: n/a
rdemyan via AccessMonster.com 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.

http://groups.google.com/group/micro...479fa0693dfdf0
--
'---------------
'John Mishefske
'---------------
Dec 23 '06 #5

P: n/a

John Mishefske wrote:
rdemyan via AccessMonster.com 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.

http://groups.google.com/group/micro...479fa0693dfdf0
--
'---------------
'John Mishefske
'---------------
http://www.ffdba.com/downloads/Open_...pplication.htm

Dec 23 '06 #6

P: n/a
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

Dec 25 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.