Change The User's Screen Dimensions?
Jan 2, 2010is there a way to change the user's screen dimensions. like change to 600x800 resolution
View 3 Repliesis there a way to change the user's screen dimensions. like change to 600x800 resolution
View 3 RepliesI'm upgrading my VB6 project to VB.NET and I found one of the problem below relating to dimensional array.Here's my VB6 coding :
Private Function ConvertMatrixToBase0(ByVal MyMat() As Double) As Double()
Dim i, j As Long
Dim ConvMat() As Double[code.]...
When i port it over to VB.NET, i encountered error message 'ReDim' cannot change the number of dimensions of an array. for the line highlighted in red. And I suspect that VB.NET need to always define the exact dimension of the array during the declaration. But for the function above, for the array of 'MyMat()', I do not know what is the exact dimension every time it runs, and that is why i need to check the dimension of the array.My question is do we have any solution in dealing unknown dimension array in VB.NET? As in VB6, we can just define Array() instead of Array (,) in VB.NET.
if there was a way to print screen certain dimensions of the screen. Like if I were to assign a short cut(F2) in the menustrip and it was to print screen those dimensions.
View 2 RepliesI would like to get the screen dimensions so I can programatically change the size of a form upto these values. I'm new to .Net and things are little different then they used to be in earlier version of VB. How do I do it?
View 3 RepliesI have an array that is something like; Product (x,y)
When i try to do;Redim preserve product (a,b)
It gives the error that i can change only the dimension of the right place, but not the left one.
How can redim a 2 dimension array?
I have an array declared:
[Code]...
This statement works fine in ASP, but when I switch to ASP.Net, it give errors 'ReDim' cannot change the number of dimensions of an array.
I have this recently converted application from vb6 to vb.net 2008. One of the errors stated is:'Point' is not a member of 'System. Windows. Forms. PictureBox'.I have searched and not found an alternative to this.Also, it says ReDim cannot change the number of dimensions in an array.
View 8 RepliesThe code below is the entire class that has the error in it... the errored code is highlighted in red. The error is,'ReDim' cannot change the number of dimensions of an array.
Code:
Public Class clsMap
Dim SR As System.IO.StreamReader
Public Width As Integer
Public Height As Integer
[code]....
In my application,I placed the user control on a panel,I want to resize that control on a panel automatically according to different screen resolution.
View 6 RepliesCan 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 Replieshow 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.
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 RepliesHow to Change Screen Resolution in VB.net?
View 1 RepliesI 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 RepliesChange everything on screen thats black to white and vice versa??
View 3 RepliesHow can I change screen orientation on (XP) laptop by VB.NET Code?
View 4 RepliesI 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.
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 RepliesHow 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 Repliesfor example:
im viewing a web page, and it changed to blue...(bg color was white)
is it possible for vb to monitor this?
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 RepliesHow 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
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 Repliesi am making a web browser, it currently creates a favorites and history file in a given directory when loading but i want it to create it in the current users documents folder automatically so it doesnt conflict with windows vista and windows 7 user control settings, heres the code i have at the moment
[code]...
I want that my application will have a splash screen - thats easy. The problem is that I want to give the user the ability to disable the splash screen if he wants. If I set this in the application splash screen settings then there is a splash screen,but there is no way the user can disable it. If I do it without a real splash screen - with a timer that closes the form and opens the real main window - the application closes itself because of the setting "Shutdown application: When startup form closes".I just can't choose the second setting (when last window closes).
View 3 Repliesi 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 RepliesI 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?
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 RepliesI 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 RepliesI 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