Wrox Programmer Forums
|
Visual Basic 2008 Professionals For advanced Visual Basic coders working in version 2008. Beginning-level questions will be redirected to other forums,
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2008 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 4th, 2010, 01:05 AM
Registered User
 
Join Date: Feb 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Maximum form size

Hi,

I'm working with a touch screen and wanted to create a standalone windows form app that is the same size as the screen i.e. fully maximised

The form, without borders only seems to be allowed to be 90% max size.

Is there any way to overcome this limitation ?

Cheers
 
Old August 26th, 2010, 01:31 AM
Authorized User
 
Join Date: Aug 2010
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hello,I am a fish here,my words may not be helpful at all.
You can try this:
Code:
Me.WindowState = FormWindowState.Maximized
If that does't work,try this:
Code:
        Me.Left = VB6.TwipsToPixelsX(CSng(GetSetting(My.Application.Info.Title, "Settings", "MainLeft", CStr(1000))))
        Me.Top = VB6.TwipsToPixelsY(CSng(GetSetting(My.Application.Info.Title, "Settings", "MainTop", CStr(1000))))
        Me.Width = VB6.TwipsToPixelsX(CSng(GetSetting(My.Application.Info.Title, "Settings", "MainWidth", CStr(6500))))
        Me.Height = VB6.TwipsToPixelsY(CSng(GetSetting(My.Application.Info.Title, "Settings", "MainHeight", CStr(6500))))
That's what I do with my computer,you may need to change some parameters.
Good luck!
 
Old August 26th, 2010, 06:40 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Quote:
Originally Posted by 10point1 View Post
Hi,

I'm working with a touch screen and wanted to create a standalone windows form app that is the same size as the screen i.e. fully maximised

The form, without borders only seems to be allowed to be 90% max size.

Is there any way to overcome this limitation ?

Cheers
Hi

Can you try the following:

http://dotnetdud.blogspot.com/2010/0...f-desktop.html

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
 
Old August 27th, 2010, 04:49 AM
Authorized User
 
Join Date: Aug 2010
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Shasur View Post
Hello.Sorry to tell you that I just can not open your link.Perhaps my dear government has just censored all overseas websites.And your site has just been filtered.You know,that happens,haha.
But you can send me an e-mail.As many details as possible.
 
Old September 26th, 2011, 12:59 PM
Registered User
 
Join Date: Sep 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default C Programming Language (2nd Edition)

C Programming Language (2nd Edition)
The authors present the complete guide to ANSI standard C language programming. Written by the developers of C, this new version helps readers keep up with the finalized ANSI standard for C while showing how to take advantage of C's rich set of operators, economy of expression, improved control flow, and data structures





Similar Threads
Thread Thread Starter Forum Replies Last Post
Sub Form Field Size Brendan Bartley Access 2 April 8th, 2009 06:34 PM
maximum size of HTML form field crmpicco HTML Code Clinic 4 April 24th, 2006 05:14 AM
Form size dartcoach Access 4 February 4th, 2005 12:47 PM
Getting hold of Form size after maximizing Salte C# 1 November 13th, 2004 02:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.