473,385 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

Dec 22 '06 #1
6 1527

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
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
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
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

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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: J Bunton | last post by:
ShellStr = "C:\temp\wzzip " & ZipOptions & " " & ZipTo & " " & ZipFrom ShellRet=Shell(ShellStr) .. . . . . . msgbox "Done" How can I determin whether the Shelled process is still running.
1
by: dw85745 | last post by:
I shelled notepad as a child of an MDI. Works great. When taking the same code and using on a VB5.exe (my code) the program remains as an SDI rather than becoming a child. Suggestions...
4
by: Mohsen Aghazadeh | last post by:
In my application I wait for a shelled application to finish and continue to work. Everything works fine but when the shelled program is up and user tries to open other applications (outside of my...
0
by: | last post by:
In my application I wait for a shelled application to finish and continue to work. Everything works fine but when the shelled program is up and user tries to open other applications (outside of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.