Re: To rotate screen under WinXP
- From: "Alexey Zalivin" <zalivine@xxxxxxx>
- Date: Fri, 8 Jun 2007 15:19:27 +0300
It funny, but only this newgroup answer to me. The problem is not VB6 or
VB.NET (I don't see any big differents to call API from both). I'm sure that
I make correct DEVMODE structure, because it work to change resolution or
frequancy for example. And return of function is "BAD MODE", mean that
function can't switch to required mode. I starting to doubt that
ChangeDisplaySettingsEx can change orientation of screen on the desktop
computer. May be it will work on PDA or Tablet PC.
As I undersand, utility like IRotate and Pivot Pro use video card specific
calls direct to driver API, not Win32 like I try to do.
I use ATI (AMD) video harware and for most hardware Catalist driver are
using. Is anybody try to call Catalist API?
"Mark Yudkin" <DoNotContactMe@xxxxxxxxxxxxxx> wrote in message
news:emt$SxSqHHA.4548@xxxxxxxxxxxxxxxxxxxxxxx
Since you've cited the correct API, and it isn't working for you in
VB.NET, it is clear that you do indeed have a VB.NET problem with passing
the DEVMODE structure. You are therefore asking in the wrong place - this
forum is for call Windows APIs from VB6.
Sample code for calling this API from VB6 can be found at
http://abstractvb.com/code.asp?A=947.
"Alexey Zalivin" <zalivine@xxxxxxx> wrote in message
news:%23LsqvyepHHA.1220@xxxxxxxxxxxxxxxxxxxxxxx
This question more related to winapi part.
If you can publish solution on VB6 or lower, I will more than happy.
In any case, thank you for answer, I will try to publish my issue on
other newsgroups.
"Rick Rothstein (MVP - VB)" <rickNOSPAMnews@xxxxxxxxxxxxxxxxx> wrote in
message news:O1fF%23depHHA.596@xxxxxxxxxxxxxxxxxxxxxxx
I try to do in vb.net
Almost everybody in this newsgroup is using VB6 or lower (this is the
case for all newsgroups with ".vb." in the name). While you may get a
stray answer to VB.NET (including VB2003, VB2005 and VB Express which
have dropped .NET from their names) questions here, you should ask them
in newsgroups devoted exclusively to .NET programming (the languages are
different enough to warrant separate newsgroup support). Look for
newsgroups with either the word "dotnet" or "vsnet" in their name.
For the microsoft news server (msnews.microsoft.com), try these
newsgroups for Visual Basic .NET related questions...
microsoft.public.dotnet.languages.vb
microsoft.public.dotnet.languages.vb.upgrade
microsoft.public.dotnet.languages.vb.controls
microsoft.public.dotnet.languages.vb.data
And these for more general .NET questions
microsoft.public.dotnet.general
microsoft.public.vsnet.general
Note: There are many other .NET newgroups (use the first three "fields"
from the last two as templates when searching for them), but the above
ones should get you started.
Rick
.
- Follow-Ups:
- Re: To rotate screen under WinXP
- From: Mark Yudkin
- Re: To rotate screen under WinXP
- References:
- To rotate screen under WinXP
- From: Alexey Zalivin
- Re: To rotate screen under WinXP
- From: Rick Rothstein \(MVP - VB\)
- Re: To rotate screen under WinXP
- From: Alexey Zalivin
- Re: To rotate screen under WinXP
- From: Mark Yudkin
- To rotate screen under WinXP
- Prev by Date: Problem with shellexecute with Adobe Reader version 8
- Next by Date: Re: Problem with shellexecute with Adobe Reader version 8
- Previous by thread: Re: To rotate screen under WinXP
- Next by thread: Re: To rotate screen under WinXP
- Index(es):
Relevant Pages
|