473,395 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

how can i change the screen resulation from vb.net

Thanks a lot
Nov 20 '05 #1
8 3087
Hello,

"XenofeX" <xe*******@hotmail.com> schrieb:
Thanks a lot


Be careful with changing the resulution, this can cause damage on the
monitor.

http://dotnetx.betasafe.com/Studio/?ID=3

HTH,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 20 '05 #2

"XenofeX" <xe*******@hotmail.com> wrote in message
news:eo**************@TK2MSFTNGP12.phx.gbl...
Thanks a lot


The question isn't whether you _can_ change the display properties of the
system, but whether you _should_ do so. Changing the display properties is
considered the sole responsibility of the users or administrators, not that
of applications. Generally, only video driver control panels should allow
this to be done, and they aren't .NET applications because manufacturers
can't depend on the framework being installed.

So why do you think that you want to do this?

Nov 20 '05 #3
Maybe he's creating a game.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit
"Jack Spry" <js***@nospammers.com> wrote in message
news:#k*************@TK2MSFTNGP09.phx.gbl...

"XenofeX" <xe*******@hotmail.com> wrote in message
news:eo**************@TK2MSFTNGP12.phx.gbl...
Thanks a lot

The question isn't whether you _can_ change the display properties of the
system, but whether you _should_ do so. Changing the display properties

is considered the sole responsibility of the users or administrators, not that of applications. Generally, only video driver control panels should allow
this to be done, and they aren't .NET applications because manufacturers
can't depend on the framework being installed.

So why do you think that you want to do this?

Nov 20 '05 #4
Hello,

"Tom Spink" <th**********@ntlworld.com> schrieb:
Maybe he's creating a game.


I always *hated* games which changed the resolution without my explicit
written confirmation.

;-)))

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 20 '05 #5
Ditto.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit
"Herfried K. Wagner [MVP]" <hi*******@m.activevb.de> wrote in message
news:Of*************@TK2MSFTNGP09.phx.gbl...
Hello,

"Tom Spink" <th**********@ntlworld.com> schrieb:
Maybe he's creating a game.


I always *hated* games which changed the resolution without my explicit
written confirmation.

;-)))

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet

Nov 20 '05 #6
Maybe it's a game named "Punish the User."

I've heard this question asked many times. Without exception, I've found
that further investigation into the motivation behind such a request has
revealed inappropriate justification for doing so due to ignorance of
Windows standards and conventions. There's always a chance this could be
the rare exception, but I wouldn't bet on it.

The simple answer is the .NET doesn't directly support changing display
properties. You'll have to resort to GDI or DirectPlay API calls, as shown
by Herfried with the ChangeDisplaySettings GDI function.

Games shouldn't change the display properties in Windows, either. They
should typically use IDirectDraw::SetDisplayMode so that they can cooperate
in Windows with different resolution settings. I haven't heard of any
commercial mainstream/best selling games that use .NET, despite the typical
samples, proof-of-concepts and fringe stuff.

"Tom Spink" <th**********@ntlworld.com> wrote in message
news:u3**************@TK2MSFTNGP12.phx.gbl...
Maybe he's creating a game.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit
"Jack Spry" <js***@nospammers.com> wrote in message
news:#k*************@TK2MSFTNGP09.phx.gbl...

"XenofeX" <xe*******@hotmail.com> wrote in message
news:eo**************@TK2MSFTNGP12.phx.gbl...
Thanks a lot


The question isn't whether you _can_ change the display properties of the system, but whether you _should_ do so. Changing the display properties

is
considered the sole responsibility of the users or administrators, not

that
of applications. Generally, only video driver control panels should allow this to be done, and they aren't .NET applications because manufacturers
can't depend on the framework being installed.

So why do you think that you want to do this?


Nov 20 '05 #7
> Maybe it's a game named "Punish the User."

ROFLM*O
as shown
by Herfried with the ChangeDisplaySettings GDI function.
That was my website. Thanks Herfried!! :-) It's nice when other people
reference your site.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit
"Jack Spry" <js***@nospammers.com> wrote in message
news:Oi**************@TK2MSFTNGP09.phx.gbl... Maybe it's a game named "Punish the User."

I've heard this question asked many times. Without exception, I've found
that further investigation into the motivation behind such a request has
revealed inappropriate justification for doing so due to ignorance of
Windows standards and conventions. There's always a chance this could be
the rare exception, but I wouldn't bet on it.

The simple answer is the .NET doesn't directly support changing display
properties. You'll have to resort to GDI or DirectPlay API calls, as shown by Herfried with the ChangeDisplaySettings GDI function.

Games shouldn't change the display properties in Windows, either. They
should typically use IDirectDraw::SetDisplayMode so that they can cooperate in Windows with different resolution settings. I haven't heard of any
commercial mainstream/best selling games that use .NET, despite the typical samples, proof-of-concepts and fringe stuff.

"Tom Spink" <th**********@ntlworld.com> wrote in message
news:u3**************@TK2MSFTNGP12.phx.gbl...
Maybe he's creating a game.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit
"Jack Spry" <js***@nospammers.com> wrote in message
news:#k*************@TK2MSFTNGP09.phx.gbl...

"XenofeX" <xe*******@hotmail.com> wrote in message
news:eo**************@TK2MSFTNGP12.phx.gbl...
> Thanks a lot
>

The question isn't whether you _can_ change the display properties of the system, but whether you _should_ do so. Changing the display properties
is
considered the sole responsibility of the users or administrators, not

that
of applications. Generally, only video driver control panels should allow this to be done, and they aren't .NET applications because

manufacturers can't depend on the framework being installed.

So why do you think that you want to do this?



Nov 20 '05 #8
Hello,

"Tom Spink" <th**********@ntlworld.com> schrieb:
Maybe it's a game named "Punish the User."


ROFLM*O


Ditto.
as shown
by Herfried with the ChangeDisplaySettings GDI function.


That was my website. Thanks Herfried!! :-) It's nice when other people
reference your site.


That's why I did it.

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 20 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: S.W. Rasmussen | last post by:
A trivial (?) question: does anyone know how to change the shape of the cursor in a RichTextBox control from the normal vertical line to an underscore?
7
by: Michael Hill | last post by:
I have a perl script that i use to render a html page. In that page i call out a stylesheet. If the user has a 800x600 display the fonts are really too big. Since screen resolution is a function...
9
by: Peter | last post by:
Hi at all, how can I do to make a css file to change automatically the text size of the text that is into a table relatively the screen size? I.E. if the screen is 800 x I want the text...
2
by: Larry C | last post by:
Hello, I have an XML doc and I am trying to write a utility thath will allow me to change a particular word with my "title" section of theXML doc. I would like to look for a "word" in the title...
4
by: pjac | last post by:
I need some help with some VB language that will change the screen resolution on a monitor when a MS-Access 2000 database is opened from 1024 x 768 to 800 x 600. Any help with this effort would be...
8
by: lauren quantrell | last post by:
Is there a way to force a change in a user's screen resolution using VBA code without having any input from the user? Example: User John Backwards has his screen set to 800 x 600 pixels. Backwards...
1
by: UJ | last post by:
I have a 1600x1200 screen at my desk which I love. Problem is when my boss comes in and I want to show him something - he has to squint and get real close to the screen. So in an ideal world, I...
3
by: Dave | last post by:
I'm using VB 2005 Express Edition, and I have added a splash screen using the template provided. I have also identified it in the "Project / Properties / Application" panel. Works like a champ....
7
by: Robert S. | last post by:
Searching some time now for documents on this but still did not find anything about it: Is it possible to replace the entry screen of MS Office Access 2007 - that one presenting that default...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.