Hi,

Does anyboy know how to implement following 2 features in .net?

1.Change screen color depth
2.Disable hardware acceleration

So far, I know how to change screen resolution in .net, but havent found
solutions for above 2 requirements.

Looking forward to ur reply.

Thank,

William

Re: How to set screen color depth and disable hardware acceleration in .net? by Herfried

Herfried
Sun Apr 03 06:43:00 CDT 2005

"William Li" <levi@sh163.net> schrieb:
> Does anyboy know how to implement following 2 features in .net?
>
> 1.Change screen color depth

Changing the screen resolution
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=setscreenresolution&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Re: How to set screen color depth and disable hardware acceleration in .net? by William

William
Sun Apr 03 12:43:10 CDT 2005

Thanks for your reply.
However, as I mentioned in my previous post, I've already found the solution
to change screen resolution.

My problem is how to implement the following two features in .Net:

1.Change screen color depth
2.Disable hardware acceleration

Anybody can help?

Thanks,

William Li

"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:%235IQ4HEOFHA.3928@TK2MSFTNGP09.phx.gbl...
> "William Li" <levi@sh163.net> schrieb:
>> Does anyboy know how to implement following 2 features in .net?
>>
>> 1.Change screen color depth
>
> Changing the screen resolution
> <URL:http://dotnet.mvps.org/dotnet/faqs/?id=setscreenresolution&lang=en>
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://classicvb.org/petition/>



Re: How to set screen color depth and disable hardware acceleration in .net? by Herfried

Herfried
Sun Apr 03 13:25:23 CDT 2005

"William Li" <levi@sh163.net> schrieb:
> However, as I mentioned in my previous post, I've already found the
> solution to change screen resolution.
>
> My problem is how to implement the following two features in .Net:
>
> 1.Change screen color depth

Well, did you miss the 'BitsPerPixel' parameter in my sample?

I feel sorry, but I don't have any idea on how to turn off hardware
acceleration.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


Re: How to set screen color depth and disable hardware acceleratio by ve

ve
Sun May 29 12:26:02 CDT 2005

HI William,

I am also looking for diabling the hardware acceleration in c#. have you
come across of any solution?

thanx

"William Li" wrote:

> Thanks for your reply.
> However, as I mentioned in my previous post, I've already found the solution
> to change screen resolution.
>
> My problem is how to implement the following two features in .Net:
>
> 1.Change screen color depth
> 2.Disable hardware acceleration
>
> Anybody can help?
>
> Thanks,
>
> William Li
>
> "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
> news:%235IQ4HEOFHA.3928@TK2MSFTNGP09.phx.gbl...
> > "William Li" <levi@sh163.net> schrieb:
> >> Does anyboy know how to implement following 2 features in .net?
> >>
> >> 1.Change screen color depth
> >
> > Changing the screen resolution
> > <URL:http://dotnet.mvps.org/dotnet/faqs/?id=setscreenresolution&lang=en>
> >
> > --
> > M S Herfried K. Wagner
> > M V P <URL:http://dotnet.mvps.org/>
> > V B <URL:http://classicvb.org/petition/>
>
>
>

Re: How to set screen color depth and disable hardware acceleratio by Peter

Peter
Sat Aug 20 17:56:01 CDT 2005

After spending hours of searching the web, I didn't found any solution. But
it's easy. Compare the Registry-Entrys before - and after you have disabled
the HW-Acceleration with DxDiag.

The solution is:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\
EmulationOnly = 0 ->HW Acceleration enabled
EmulationOnly = 1 ->HW Acceleration disabled

Hope, this will help you (for me it's very helpfully :-)
Greetings, Peter

Re: How to set screen color depth and disable hardware acceleratio by Peter

Peter
Sat Aug 20 17:56:02 CDT 2005

After spending hours of searching the web, I didn't found any solution. But
it's easy. Compare the Registry-Entrys before - and after you have disabled
the HW-Acceleration with DxDiag.

The solution is:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\
EmulationOnly = 0 ->HW Acceleration enabled
EmulationOnly = 1 ->HW Acceleration disabled

Hope, this will help you (for me it's very helpfully :-)
Greetings, Peter