Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2008 > Visual Basic 2008 Professionals
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 4th, 2010, 12: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
Reply With Quote
  #2 (permalink)  
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!
Reply With Quote
  #3 (permalink)  
Old August 26th, 2010, 06:40 AM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
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)
Reply With Quote
  #4 (permalink)  
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.
Reply With Quote
  #5 (permalink)  
Old September 26th, 2011, 12:59 PM
Registered User
Points: 18, Level: 1
Points: 18, Level: 1 Points: 18, Level: 1 Points: 18, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 11:47 AM
Getting hold of Form size after maximizing Salte C# 1 November 13th, 2004 01:53 AM



All times are GMT -4. The time now is 12:11 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.