set location of access window in .net???

A

Antinsh

Hi guys (and girls)

I'm having this problem with access. I dont know how to chage the size of
access window form my visual basic NET application. This one person a while
ago gave me advice to use some windows api function like:

Declare Function apiMoveWindow Lib "user32" Alias "MoveWindow" _
(ByVal hwnd As Long, ByVal x As Long, ByVal y As Long, ByVal _
nWidth As Long, ByVal nHeight As Long, ByVal bRepaint As Long) _
As Long

but it doesnt seems that it works right... like x is actually setting y of
window and y is actually the height of window.... anyway i'm having trouble
with this so if anyone done something like this before please help me.

P.S. Why they couldn't just make width, height properites like for
word???... microsoft...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top