VS 2008 Change Screen Res?

Dec 21, 2009

I was wondering how i could change the screen resolution... however I have a few additional requirements..The screen number needs to be passed in (for people with multiple screens)The resolution should be reverted when the application is closed - EVEN IF IT CRASHES - or is killed with "end process tree" (ie no code required to execute to change it back) - like games do Needs to not stuff up desktop icon locations when changing to a smaller resolution

View 4 Replies


ADVERTISEMENT

Detecting Change In Database / Displaying Word 'change' On Screen In Realtime For Any Client Connected

Nov 30, 2010

Can someone please help me create a very very simplistic sample page as the chat page included is too coomplete. something as simple as detecting a change in the database and displaying the word "change" on screen in realtime for any client connected.and I tried creating a global.asax file into which I added in the line mentioned in the link above, but it does not seem to like the word "Setup" in the line [code]

View 2 Replies

VS 2008 Draw Directly On The Screen (not On A Specific Window) Just On The Screen?

Jul 1, 2009

I send a message a while ago and no one answerd, how can I draw directly on the screen (not on a specific window) just on the screen, neither if it's on the desktop or anything else.Is there is any option to bring up the switch between applications window (Alt + Tab), I don't want to use sendkeys because the user need to keep the key down and I just want the user to select the application with his mouse.

View 3 Replies

VS 2008 Screen.GetWorkingArea And PointToScreen - Dual Screen ?

Mar 28, 2009

I have a button btnRegEx that when pressed shows a ContextMenuStrip, similar to the '>' button in the Find/Replace dialog in Visual Studio when you are using Regular Expressions. I have a ContextMenuStrip cms which I show using its Show(x,y) method.

At first I was simply setting x and y (the location of the ContextMenuStrip) to some point next to the button, but I noticed that when the button is close to the edge of the screen it goes off screen. I wanted to prevent that so I built some logic into the x-y calculation. When the ContextMenuStrip width is larger than the 'remaining space left' I simply show it more to the left. Same for its Height of course. I am using the Screen.GetWorkingArea(point) method to determine the 'remaining space left'. As I understand it, it returns the working area closest to the point you specify (to which I pass the button's location).

As long as I stay on my first monitor, it is all working perfectly fine. The problem occurs when I move the form to my second monitor. The contextmenustrip is still showing on the first monitor for some reason...

Here is the code I am using:

vb.net Private Sub btnRegEx_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRegEx.Click
Dim p As Point = PointToScreen(New Point(btnRegEx.Left, btnRegEx.Top))
Dim x, y As Integer

[CODE]...

I have noticed that when I click the button when the form is on the second monitor, the buttons location (p) is calculated with the first monitor's top-left corner as (0,0), even though it is on the second monitor. This way, the GetWorkingArea function returns something like 1280, while the buttons x-location is something like 1700... So, how do I get the buttons coordinate relative to the actual screen it is on, rather than the entire dual monitor screens as a whole?

View 3 Replies

VS 2008 Screen Flipping - Invert The Screen

Apr 27, 2009

Is there any way to invert the screen. For example, making upside down or having mirror effect?

View 1 Replies

Change Or Even Scroll The Screen?

Aug 27, 2009

how would I change or even scroll the screen?

ex.You click a button and it takes you to a whole other form(different buttons, pics, etc.)

ex for scrolling. Adventure game-You walk at the top of the screen and your guy goes up. Maybe it would be easier to have the world move around my guy but 2 playwer woudn't work well with that.

View 1 Replies

Change Screen Colour In .net?

Apr 7, 2011

I want that when a form appears, your screen colour changes to red, blue and black, how to do that in VB.net? I'm using Visual Studio 2005. Explain me as I dont; know.

View 5 Replies

How To Change Screen Resolution

Oct 30, 2009

How to Change Screen Resolution in VB.net?

View 1 Replies

Change Everything On Screen Thats Black To White?

Jan 13, 2010

Change everything on screen thats black to white and vice versa??

View 3 Replies

Change Screen Orientation On Laptop?

Dec 29, 2009

How can I change screen orientation on (XP) laptop by VB.NET Code?

View 4 Replies

Change Screen Resolutions Using My Application?

Nov 8, 2010

I need to change screen resolutions using my application.

How to:

1) Read current resolution

2) Changing it using my application and then returning to current on exit.

View 2 Replies

Change The Mouse Position On The Screen

Sep 22, 2009

A simple example is: lets say that im trying to make a program that allows you to move the mouse only with the arrows (left/right/up/down) how can i change the position of the mouse on the screen programmatically? If i wanted when you press a button the mouse to change position to X=0,Y=0 of the hole screen/desktop not the window of the form how can i do it? [Code]

View 5 Replies

Change The User's Screen Dimensions?

Jan 2, 2010

is there a way to change the user's screen dimensions. like change to 600x800 resolution

View 3 Replies

Detect And Change Screen Resolution

Jul 22, 2009

How to create a program that detects the screen resolution and change it to 1280x800 or 1024x768? What are the computer requirements to support each of these resolutions. (I don't want for the program to request the user as programs do this especially in Windows Vista, because my program will be created for Windows Vista).

View 8 Replies

Detect Screen Color Change?

Mar 10, 2010

for example:

im viewing a web page, and it changed to blue...(bg color was white)

is it possible for vb to monitor this?

View 8 Replies

How To Change Focus To Bottom Of Screen

May 4, 2010

How to show the bottom part of the screen in the click of a button? On my site I have a picture and when the user clicks on this some more information is shown at the bottom of the page, althought i do have text at the top informing the user to scroll down once the picture is clicked it would be nice to automatically focus the page on the bottom half.

View 3 Replies

How To Change System Screen Resolution

Oct 5, 2007

How to change the system screen resolution in VB 2005 or 2008? As it something to do with this:
Code Block
My.Computer.Screen.Bounds.Width
System.Drawing.Rectangle

View 3 Replies

Screen Blanks After 1 Min Of Processing (of Excel File) / Refresh Or Freeze Screen To Avoid Blank Screen?

Jun 29, 2011

BTW this issue occurs in any MS office program when the VB.Net (or even VBA) is processing information.Example: In Excel, a worksheet is displayed on the screen. I start either, a VB.Net or VBA procedure and within 30 seconds the Excel worksheet (previously displayed) blanks out. In both VB.Net and VBA,ScreenUpdating = False. My expectation is that the previously displayed screen would stay static as if I left my desk to get a cup of coffee; came back and the same ole Excel worksheet was still there?Of course, setting VBA Screen Updating = False accomplishes two goals: 1) speeds up processing and 2) saves the user from seeing unnecessary "garbage-processing" steps.Why does VBA or VB.Net ScreenUpdating = False not freeze the screen at the time of its invoking?

View 11 Replies

Application To Refresh Screen And Change Resolution?

Nov 15, 2009

i wanted to develop a application to Refresh the screen.[Simple F5 would work !!] but is it possible.I want a button to start at X:0 Y:0 then on loading the form want the button to move diagonally on the form [ on reaching end the process should repeat ]I want the application that displays current resolution.The supported resolution by monitor and then give user the choice of selecting one.

View 2 Replies

Change Application Screen Size Setting

Jul 27, 2010

I am working on an application using vb 2008 express. I have built test programs over the past few weeks and shared them for feed back. Today when I finished some work, I built another test application, but when I install it the start-up screen maximizes but is set between one and two desktop icons from the top of the screen.

In debug mode it looks fine. In the past it looks fine. Each time I start the program the screen is in a slightly different location. It is set to start maximized and to the best of my knowledge, I did not change any settings in the property area. I have tried loading on three computers and the results are the same. Any ideas on what I could have done to produce this strange result?

View 4 Replies

Change The Text Box Contents Which Is Present In Another Screen?

Jul 27, 2010

I have attached the 2 docs here which explains wht prob i m facibng in my proj its just piece of code out of my big proj.How to change a particulr value of one text box control of one particular form from another form?

View 18 Replies

Forms :: Change Splash Screen Text?

Apr 22, 2010

I created a new application and add a splash screen ..when i wanna change the text "WindowsApplication1" in "text" field of splash screen i change for "Video Club", but press F5 and VB show me the same WindowsApplication1 ...that's is my problem..

View 2 Replies

IDE :: Change Screen Size 4x3 So It Can Be Read In 16x9 In VB6?

Jan 14, 2010

I purchased a new computer with windows 7. The screen size is 16x9. My old computer had 4x3. I can no longer read my VB6 programs as they no longer fit on the new screen. I need to alter the height. Is there some code that I can add to overcome this problem.

View 2 Replies

Change Everything On Screen Thats Black To White And Vice Versa?

Jun 19, 2009

Change everything on screen thats black to white and vice versa?

View 5 Replies

Change Font Size Of Code Modual On Screen

Jan 21, 2012

I want to make the GUI code listing easy to read. I want to inlarge the font. not any control; the listing of the code; not the form window layout; the code listing behind the form and modual listings.

View 2 Replies

Change Hue/saturation Of Screen Without Using Form Background Color?

Jul 12, 2009

in vb.net i would like to change the hue and saturation and darkness of the screen without using a form.

for example these two colors change the color of the screen directly (however i doubt they were programmed in vb.net)

[URL]

View 1 Replies

Change The Windows XP Boot Up Screen - Bootskin Is It Safe

Oct 15, 2009

i want to customize my setting and I was wondering if that program was safe or if there is some way to do it that isn't too compleximicated.

View 1 Replies

How To Change Windows Form1 Formstate After Splash Screen

Mar 8, 2011

I have made a splash screen for my project and it runs great but I have a problem I can not work out how I make form1 to maximize after splash screen closes I have tried the following code [code]but it did not work how can I make the form1 size maximize after splash screen closes if anyone knows a way please let me know kind regards I have already set the peopties once to be full screen and it showed form1 when loading the splash screen I need the splash screen to show first then the form1 not together otherwise it dose not appear at all and it is running in the background.

View 2 Replies

IDE :: Size Parameters Change When Development Machine Has Different Screen Resolution?

Mar 18, 2010

We did development of a VB application on a machine with a high resolution screen. Also the machine where the real application runs has a high resolution screen. After a while we wanted to do minnor changes on the application and we wanted to use a low resolution laptop for that. When we opened the application for editing we saw that all forms changed their sized automatically AND unwanted.How can we build and change applications in one form size that does not change depending on the resolution of the machine on which edits are made?

View 2 Replies

Set Form To Current Screen Resolution Or Change To 1024/678 Pixiels?

Mar 2, 2010

When ever my program runs how can I set my form to Current Screen resolution or change to 1024/678 pixiels.

View 9 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved