473,657 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 7623
<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=setscreenre solution&lang=e n>

--
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.c om...
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.c om...
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
2731
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 desktop resolution. I have tried trapping the following events: 1) SDL_ACTIVEEVENT 2) SDL_VIDEOEXPOSE
1
2857
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 desktop resolution. I have tried trapping the following events: 1) SDL_ACTIVEEVENT 2) SDL_VIDEOEXPOSE 3) SDL_VIDEORESIZE
27
3313
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 happened... http://www.geocities.com/operationsengineer1/test1.htm
4
15506
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 deeply appreciated. Thanks in advance....
8
8494
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 loads an Access app that needs at least 1024 x 768 pixels so the app, on load, changes the screen resolution for him to 1024 x 768.
1
2043
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 SetSystemMetrics() function or equivalent. Ideallly, I'd like to avoid messing up with DirectX or the display drivers directly. I suppose there must be an abstraction layer in VS that allows to do that. However, I'll take any suggestion at this point...
7
2178
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 sheet HOWEVER, is it possible to make a change to the code that will not only make it respond to windows with widths of less than 800 pixels but ALSO heights of less than 600 pixels. I'm a complete novice when it comes to .js so and help would...
9
3897
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 stylesheet switcher as part of the onload event but I would rather link in the correct stylesheet for the resolution in the first place.
1
3333
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, to create a module in my application, that holds the current screen width and height (I already done this and it's working) . So now I want to change the screen resolution when I load the application, and later on , I will handle the onClose event...
0
8421
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8742
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8518
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8621
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7354
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1734
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.