PC Review


Reply
Thread Tools Rate Thread

how can i change the screen resulation from vb.net

 
 
XenofeX
Guest
Posts: n/a
 
      30th Aug 2003
Thanks a lot


 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      30th Aug 2003
Hello,

"XenofeX" <(E-Mail Removed)> 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


 
Reply With Quote
 
Jack Spry
Guest
Posts: n/a
 
      30th Aug 2003

"XenofeX" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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?



 
Reply With Quote
 
Tom Spink
Guest
Posts: n/a
 
      30th Aug 2003
Maybe he's creating a game.

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

Please respond to the newsgroup,
so all can benefit


"Jack Spry" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
>
> "XenofeX" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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?
>
>
>



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      30th Aug 2003
Hello,

"Tom Spink" <(E-Mail Removed)> 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


 
Reply With Quote
 
Tom Spink
Guest
Posts: n/a
 
      30th Aug 2003
Ditto.

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

Please respond to the newsgroup,
so all can benefit


"Herfried K. Wagner [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
>
> "Tom Spink" <(E-Mail Removed)> 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
>
>



 
Reply With Quote
 
Jack Spry
Guest
Posts: n/a
 
      30th Aug 2003
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Maybe he's creating a game.
>
> --
> HTH,
> -- Tom Spink, Über Geek
>
> Please respond to the newsgroup,
> so all can benefit
>
>
> "Jack Spry" <(E-Mail Removed)> wrote in message
> news:#(E-Mail Removed)...
> >
> > "XenofeX" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > 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?
> >
> >
> >

>
>



 
Reply With Quote
 
Tom Spink
Guest
Posts: n/a
 
      30th Aug 2003
> 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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Maybe he's creating a game.
> >
> > --
> > HTH,
> > -- Tom Spink, Über Geek
> >
> > Please respond to the newsgroup,
> > so all can benefit
> >
> >
> > "Jack Spry" <(E-Mail Removed)> wrote in message
> > news:#(E-Mail Removed)...
> > >
> > > "XenofeX" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > 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?
> > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      31st Aug 2003
Hello,

"Tom Spink" <(E-Mail Removed)> 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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need screen shot of Change Password Screen Hunt Windows XP General 8 6th Jun 2009 08:54 PM
Form elements change size with Screen Resolution change Amon.Noreinor@gmail.com Microsoft Excel Programming 0 24th Jan 2007 09:21 PM
Change of text or background color doesn't change on the screen. =?Utf-8?B?U3VzYW4=?= Microsoft Excel Misc 5 29th Jul 2005 07:18 PM
Screen Resolution won't change but screen size does =?Utf-8?B?RWFybCBN?= Windows XP Configuration 1 23rd Jul 2005 09:49 PM
windows 2000 pro screen resulation ThatGuy3 Microsoft Windows 2000 2 30th Nov 2003 06:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:16 PM.