Is there any way of creating Visual Basic "Windows Form" 1200 wide by 1100 height?

I want to print the form using "Print Form". I am printing on a sheet of labels 8-1/2" x 11"  The extra width is for buttons (Links to other forms), etc.  
jampostGeneral MaanagerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CodeCruiserCommented:
Did you try changing the WindowState and size properties?

Me.WindowState = Normal
Me.Size = New Size(1200, 1100)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jampostGeneral MaanagerAuthor Commented:
The code below is what I tried.  The result after typing 1200, 1100  in the size property  is 1200, 1036.


Public Class prt

    Public Sub New()

        Dim Normal As Object

        ' This call is required by the Windows Form Designer.
        InitializeComponent()

        ' Add any initialization after the InitializeComponent() call.
        Me.WindowState = Normal
        Me.Size = New Size(1200, 1100)

    End Sub

   
jampostGeneral MaanagerAuthor Commented:
Thank you  CodeCruiser for helping me    --      I tried this also:    same result.


Public Class prt

    Public Sub New()

        Dim Normal As Integer
        ' This call is required by the Windows Form Designer.
        InitializeComponent()

        ' Add any initialization after the InitializeComponent() call.
        Me.WindowState = Normal
        Me.Size = New Size(1200, 1100)

    End Sub
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

CodeCruiserCommented:
Try using something else like 1300, 1100 and see what happens.
jampostGeneral MaanagerAuthor Commented:
It gives me  1292, 1036
CodeCruiserCommented:
So the height is being restricted. Try hiding the taskbar.
jampostGeneral MaanagerAuthor Commented:
        I tried moving the task bar from the bottom to left side, got the same results. I just got home and tried this on my home computer which has a shorter, but wider monitor. The max height on my home system is 916. Obviously the monitor controls the Windows form size.  
         I think I am going to have to try coming at this from another angle or something. Thank you for your help.
CodeCruiserCommented:
Yeah try increasing the resolution.
jampostGeneral MaanagerAuthor Commented:
Thank you for your help. I think it's time for me to learn WPF.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.