I am trying to get screen width with something like Width = Screen.PrimaryScreen.Bounds.Width.
I understand I need to add the System.Windows.Forms namespace. I have tried to add the namespace reference but says it is an invalid reference.
What is the correct reference? Here is what i am currently importing:
Imports System.Data
Imports System.Data.OleDb
thanks,
WCGee
1. Right-Click on the References in your Project.
2. Click Add Reference
3. Select the System.Windows.Forms
4. Click Ok
In Page
Open in new window
OR
Imports System.Windows.Forms