Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / October 2004

Tip: Looking for answers? Try searching our database.

Screen Object Changes in Visual Basic .NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ge_RO - 16 Oct 2004 12:31 GMT
Why an application developed in VB.Net on a screen with a resolution 12
TwipsPerPixelX and 12 TwipsPerPixelY will change the size (in pixels) of the
controls when it runs on a computer with a 15 TwipsPerPixelX screen
resolution. I mean, I have an application with a “Form” with 900 pixels width
in a 12 TwipsPerPixelX screen and when I run it on a computer with a 15
TwipsPerPixelX screen resolution, same “Form” has less the 850 pixels. I need
all the pixels. How can I manage this, because it’s a big error.
Bishoy Ghaly - 16 Oct 2004 13:55 GMT
You should use Screen.twipsperpixelX and Screen.twipsperpixelY to adjust the
form size according to the screen TwipsPerPixel with your original
dimensions by Pixel

> Why an application developed in VB.Net on a screen with a resolution 12
> TwipsPerPixelX and 12 TwipsPerPixelY will change the size (in pixels) of
[quoted text clipped - 6 lines]
> I need
> all the pixels. How can I manage this, because it???s a big error.
Dennis - 17 Oct 2004 21:37 GMT
I don't see a TwipsPerPIxel property or method in the .Net Screen Class.  Am
I missing something?

> You should use Screen.twipsperpixelX and Screen.twipsperpixelY to adjust the
> form size according to the screen TwipsPerPixel with your original
[quoted text clipped - 10 lines]
> > I need
> > all the pixels. How can I manage this, because it’s a big error.
Larry Serflaten - 16 Oct 2004 14:19 GMT
> Why an application developed in VB.Net on a screen with a resolution 12
> TwipsPerPixelX and 12 TwipsPerPixelY will change the size (in pixels) of the
[quoted text clipped - 3 lines]
> TwipsPerPixelX screen resolution, same bFormb has less the 850 pixels. I need
> all the pixels. How can I manage this, because itbs a big error.

See if setting the form's MinWidth property will help....

LFS

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.