CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 31

Threaded View

  1. #2
    Join Date
    Dec 2009
    Location
    Kathmandu,Nepal
    Posts
    168

    Re: Screen Resolution!!

    Since This Problem seems impossible or very hard for my level of knowledge till now and no one is willing to help me on this problem I am very frustated......So Please Suggest me code to change the screen resolution....I have found some code in the internet but was unable to use them cause I didnt knew exact namespace....or something else.......Please help me out here
    Code:
                 string Htscreen = SystemInformation.PrimaryMonitorSize .Height .ToString();
                 string WtScreen=SystemInformation.PrimaryMonitorSize.Width .ToString();
    I want to keep HtScreen and WtScreen values to change the screen resolution to original state if I exit from the application Bu please Help me on the code for changing screen resolution....
    Last edited by rocky_upadhaya; February 1st, 2010 at 10:00 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured