Results 1 to 2 of 2

Thread: The biggest problem in VB... :)

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    1

    Post

    Start a new project and make a new form with BORDER STYLE = 0-None and make the size of the form to fit on the screen(px. 1024x768). SAVE YOUR PROJECT OR MAKE AN EXE FILE... Then change the Fonts DPIs from 96DPIs to 120DPIs from the screen properties of windows(Advanced users) or from 120 to 96 (whatever you have). Then restart the PC (required) and start your project or exe file again. Run the project an you will see the form not to fit on the screen... Imagine if you add and soma images, textboxes etc. what will happen... The form changes completely... If someone knows the solution on this problem please e-mail me at: [email protected] Thanx and have a nice day with VB programming...

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    Post

    I had no time to try this out but I think I've got a solution:

    In Form_Load set the current size:

    -
    Form1.Move 0,0,Screen.Width,Screen.Height
    -

    ------------------
    [email protected]
    ...
    Every program can be reduced to one instruction which doesn't work.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width