Home All Groups Group Topic Archive Search About
Author
2 Aug 2006 11:37 PM
Nathaniel
How do i move windows in vb.net?

Author
2 Aug 2006 11:48 PM
iwdu15
help us out a lil here....what version of VB? what exactly do you want to do?
move your own apps windows? move another apps windowS? help us out here...
--
-iwdu15
Author
3 Aug 2006 12:43 AM
Simon Brown
Nathaniel wrote:
> How do i move windows in vb.net?

Write them poetry, and buy them flowers.
Author
3 Aug 2006 1:11 AM
Nathaniel
Well I know

Me.Location = (X, Y)

will change my Form, but hoe can I move other apps?

Show quoteHide quote
"Simon Brown" <simonb***@gmail.com> wrote in message
news:1154565785.100610.23550@i42g2000cwa.googlegroups.com...
>
> Nathaniel wrote:
>> How do i move windows in vb.net?
>
> Write them poetry, and buy them flowers.
>
Author
3 Aug 2006 12:13 PM
iwdu15
now i can help u

your going to need to use APIs to do this. www.allapi.net is great for API
declarations and what each parameter means, you just have to update the
declaration from VB6 to .net, not too difficult...here are a couple websites
to jumpstart your project

http://allapi.net/apilist/FindWindow.shtml
http://allapi.net/apilist/MoveWindow.shtml

i dont kno how you want to find the window, but you could also loop through
each running process using the process class and get the window handle that
way....just takes more time.
--
-iwdu15