473,385 Members | 1,309 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,385 software developers and data experts.

Change Screen Resolution in VB.NET?????

I have been able to determine the resolution on the users machine, but
i am looking for a way to force the resolution to 1024 X 768 if it is
not that already in VB.NET. Can someone please help me with this.
Also, is
there a way to progromatically move the users taskbar back to the top
or the bottom if it is located on either the left or right side of the
screen? Thanks.

May 15 '06 #1
7 7617
<Ja******@gmail.com> schrieb:
I have been able to determine the resolution on the users machine, but
i am looking for a way to force the resolution to 1024 X 768 if it is
not that already in VB.NET.


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/>
May 15 '06 #2
Worked great, thanks. I think i actually came to this page yesterday
but didnt bother to try it. My mistake. LOL. Thanks again.

May 15 '06 #3
On 15 May 2006 12:11:08 -0700, Ja******@gmail.com wrote:
I have been able to determine the resolution on the users machine, but
i am looking for a way to force the resolution to 1024 X 768 if it is
not that already in VB.NET. Can someone please help me with this.
Also, is
there a way to progromatically move the users taskbar back to the top
or the bottom if it is located on either the left or right side of the
screen? Thanks.

Speaking as a user, any application that forces a change in MY screen
resolution and moves MY taskbar, is a poorly designed piece of crap
application. Suggest you rethink you design.

Gene
May 16 '06 #4
Gene,

As you know do I write this as well forever. There is one exception.

If the program is only used in one organisation which has this as rule.

(Although in my idea they can than spent there time better, therefore those
rules are mostly temporaly: until this is seen and those who makes this
rules are fired)

Cor

"gene kelley" <ok**@by.me> schreef in bericht
news:l2********************************@4ax.com...
On 15 May 2006 12:11:08 -0700, Ja******@gmail.com wrote:
I have been able to determine the resolution on the users machine, but
i am looking for a way to force the resolution to 1024 X 768 if it is
not that already in VB.NET. Can someone please help me with this.
Also, is
there a way to progromatically move the users taskbar back to the top
or the bottom if it is located on either the left or right side of the
screen? Thanks.

Speaking as a user, any application that forces a change in MY screen
resolution and moves MY taskbar, is a poorly designed piece of crap
application. Suggest you rethink you design.

Gene

May 16 '06 #5
Cor,

The only possible exceptions are games - Doom.Net anyone? <shudder /> -
where you may need to switch to a known resolution.

If an organisation insists on a standard screen resolution, then there
is /no need/ for any application to change it - it should already be set
the way it's supposed to be.

Regards,
Phill W.

Cor Ligthert [MVP] wrote:
As you know do I write this as well forever. There is one exception.

If the program is only used in one organisation which has this as rule. "gene kelley" <ok**@by.me> schreef in bericht
news:l2********************************@4ax.com...
On 15 May 2006 12:11:08 -0700, Ja******@gmail.com wrote:
I have been able to determine the resolution on the users machine, but
i am looking for a way to force the resolution to 1024 X 768 if it is
not that already in VB.NET. Can someone please help me with this.

May 16 '06 #6
Phill,

The only possible exceptions are games - Doom.Net anyone? <shudder /> -
where you may need to switch to a known resolution.
I good game does that not need anymore, I see a lot of those.
If an organisation insists on a standard screen resolution, then there is
/no need/ for any application to change it - it should already be set the
way it's supposed to be.

But you cannot easy protect that. However as said I find it a real strange
organisation who tells there employees how height their chair (which is
changable) has to be. To give an anology.

Cor
May 16 '06 #7
Cor Ligthert [MVP] wrote:
But you cannot easy protect that.
Cor


Policies. Easily enough.
--
Rinze van Huizen
C-Services Holland b.v
May 16 '06 #8

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

Similar topics

0
by: Erik Bethke | last post by:
Hello All, I am trying to clean up some polish bugs with the Shanghai game I am working on and I am currently stuck on trying to get the right event for detecting when the user has changed the...
1
by: Erik Bethke | last post by:
Hello All, I am trying to clean up some polish bugs with the Shanghai game I am working on and I am currently stuck on trying to get the right event for detecting when the user has changed the...
27
by: skeeterbug | last post by:
please see http://www.geocities.com/operationsengineer1/test.htm for an idea of how i want my logo header div to be layed out. when i went to resize "Test" to 2em (from 1em), this is what...
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: Bertrand1978 | last post by:
Hi All. I am using VC++/Visual Studio 6.0. I can get the current screen resolution with GetSystemMetrics(), but how do you change the screen resolution ? I guess I couldn't find a...
7
by: Tim Rogers | last post by:
Hi folks, this is a resolution-detect script that I used on a site. As you can see it is designed to detect when the screen resolution falls below a certain level then load an alternative style...
9
by: Steve Wright | last post by:
Hi I'm developing a webpage that needs to include a different stylesheet depending on the screen resolution. I know that I could read the resolution in javascript and then do some sort of...
1
by: Tea Maker | last post by:
Hi, I have an application that is best viewed at 1024x768. I know that changing the screen resolution might cause some problems, but it's very important that I go on with this. So my plan is,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.