VS 2010 GDI+ Resolution At Runtime?
Feb 11, 2011I am new in programming an application with GDI+. I found that the graphics are fade at runtime. Probably it is associated with some settings.
View 4 RepliesI am new in programming an application with GDI+. I found that the graphics are fade at runtime. Probably it is associated with some settings.
View 4 RepliesI am developing a point of sale for a buddy.The system it will be on will be running nothing but this application. The system SHOULD always stay at 1024, 768 but i like to plan for problems.What I would like to do is on form_load change to 1024, 768. On exit, (for learning sake on my end) I would like to have it set back to the default.
View 6 RepliesI had designed all forms on 1280/800 screen resolution.
i want set all forms resolution like the current screen resolution of the user,or make the form resolution is dynamic with each resolution of screen for
Private Sub cmbEmployee_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles cmbEmployee.Validating
[code]...
I have written a small program to aide my business and the program works fine. But while compiling the code it shows a lot of warnings like the following."late bound resolution; run time errors may occur""implicit conversion from 'Object' to 'String'." Where am i going wrong. Even though the options strict off removes the warning I want to correct the warnings.
Private Function ledgerMasterFullName(ByVal i As Integer) As String
Dim fullName As String
Dim vObj As Object
[code]....
How to get list of all resolution of client monitor and check with resolution passed by application
View 2 Replies1. Is there anyway to make an application look as though it has been set to a screen resolution of 1024 x 768 when the true resolution different?
2. I am developing my app using a widescreen monitor. What dimensions does the form need to be set to so that it looks exactly the same on a normal & widescreen monitor?
I am working on an program and I need it to change the size on the form and the button etc when its ran on a different resolution then it was coded on. Is there anyway to do this easy or do I have to hard code it on two different and change it by like a button etc? I am working with a 1024 X 780 and a 1240 X 1024.
View 8 RepliesI have a very high screen resolution on my laptop: 1400x1050.My colleague tried it out on his laptop (which had lesser resolution), and the application did not fit on his laptop. The buttons were dragging out of the screen space.So, I want my application to automatically resize/adjust based upon the screen resolution.I don't want to use Maximized screen option and don't want to change user's pc settings.Unfortunatly I am not using Table Layout panel.
View 5 RepliesIn 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 we set the windows form resolution according to pc screen resolution and even the control should be adjusted...
eg.
My screen resolution is 1366 X 768
and my form size is 1254, 709....but I want it so set according to the screen and it will be dynamic...
if I transfer my project to some other pc with lower or higher resolution it should be adjusted....
and suppose I have few controls on the form...will that also be adjusted??
I have a point in the screen that i want to be the same as the resolution changes. I'll explain better. Look out the example [code] Here I'm trying to get the diference between my own resolution(1280x800[its a notebooks resolution]) and the point in this resolution that i want the mouse to be is 120,540.But when I change the screen size it doesnt work of corse.Are there anyone that can help me with it?
View 2 RepliesI've got a problem with vb 2010: If I make a new form and add every button and make a background for the application and built my app, I can't open normal on a other pc. It change the ordening of my buttons and the other pictur boxes I've add. My screen resolution is 1920x1080. The other pc has a screen resolution off 1024 X 768. What I wanna ask is: whitch code must I add on "form1"?
View 2 Repliesi recently stumbled across an error "overload resolution failed because no acceptable fields accepts this number of arguemnets"ive spent an age researching and cannot for the life of me work out what it means, or what exactly the problem is If anyone can enlighten me i would be extremley grateful.
If it helps ive posted part of the code below and highlighted the part which is causing the error in bold
Private Sub UserForm_Initialize(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code]...
I have a picturebox that loads an image then resizes it and saves it which I know how to do in code
dim iBit as new Bitmap = picturebox1.image, picturebox1.width, picturebox1.height
What I want to do is be able to specify the Pixels Per Inch for the resolution.
Is there any way of getting the monitors optimal resolution in vb?
View 1 RepliesIs there an easy way to find the screen resolution in Windows?
View 2 RepliesOn the last line of the following code I�m getting the error:�Overload resolution failed because no accessible 'New' can be called without a narrowing conversion� To specify Option Strict Off is not solving the problem.To overcome this I�ve to assign the value of the recordset field to a text box and then populate the report parameter with the value of the text box.
HTML
Dim MinhaLig As ADODB.Connection
Dim SomaDeb As String
Dim DebSet As ADODB.Recordset
[code]....
I am new to this forum, and have search both here and on the interwebz.I don't have my code here right now, but thought I could ask anyways:I have an application that is going to run in fullscreen and display a clock in a defined position on the screen when it is in fullscreen mode. How can I define that position so that the clock appears at that point regardless of resolution on the screen?
View 19 RepliesI've been working on my own version of Notepad/Wordpad and I just tried adding the Find feature for the Rich Text box and I got an error. Here's the code I had:[code]
View 13 RepliesI am trying to create an application that can block Windows keys at runtime in VB .net. Basically, if 'Disable Left Win Key' check box is checked, then the application will disable the left windows key and the same for the right one. I also want to be able to show a message box depending on whether 'Show Message Box' is checked when either win key is blocked.
View 2 RepliesI am working on a project that I want to allow the user to move and resize controls in a panel container at runtime, much like the developer can do in the IDE.Is there a mode (not sure its the right term) I can implement on a selected control that will show the grab handles and allow moving and such?
View 6 RepliesHow do you move objects in run-time?
View 1 RepliesIs ist possible to Add or Edit Resources of .Net Applications at Runtime because I want that the User is able to pick a file and that is automatticly added to the Resources so the Application can use that file later on.
View 3 RepliesI need a little help with variable scope ( I think that is the right term) As I understand it, the follow could be used to add a button to my form at runtime ...
[Code]...
I want a method that creates a new button with the object name that I pass to the method.
Is there a way to change reference at runtime ? I am automating Word from VB.Net. I think what I have coded will be same for both Word2003 and Word2007. I used Word 12 Object Library reference(which is of Word2007). So, I want to know how to make it compatible with a machine installed with Office2003. That is, it will check the whether the machine has 2003 installed. If so, use that reference. Otherwise use 2007.
[Code]...
I am working on getting ready to make a chat client. I want to be able to click a button and a new form come up as a tutorial to myself. Here is the code I am currently using.
CODE:
I'm creating an application that allows the user to create their own queries based on criteria in various list boxes and my idea was to produce the results of the SQL in a "new" DGV, which in turn will be created in a "new" TabPage in a separate form . Each time the user runs a query a new DGV and TabPage is created. I've named each "new" DGV based on a user textbox so each "new" DGV will be named differently. The problem is how do I reference each new DGV? At the moment I get-"the value of type 'Syst.cannot be converted to string"It allows me to name the DGV with a string, but not reference it!
Any ideas how I reference a DGV when its created in runtime.
[Code]...
Is it possible to create and execute code at runtime?Eg, I make a string with this as the data: MessageBox.Show("Test")Then I 'run' the code from this string to produce a MessageBox
View 8 RepliesHow can it be done? What I want is to have the program make a string, and then read the string as code. I'm a noob, and it sounds like this should be so easy, but after seeping through this forum, I have found no quick and easy solutions...
[Code]....