Answer Questions
Shifarad How to change control properties in Form1 from Form2?
Hello, I have Form1 - the main form with some controls including a button. I have Form2 - the properties form with a combobox and button. The user can select the colors of a button in the combobox in Form2 and press "OK". What code should I add to "OK" so that the user can change the colors of a button in Form1 Mateusz Can you please explain more on how to do it. I am just a C# beginner. ...Show All
dco Central Data Layer and design time support
Hi All, I am creating a bit of a complex database application and would like to utilize the VS 2005 data binding functionality. My general idea is as follows: 1. Import the data structure using the Data\Add New Data Source menu entry 2. Put some of the data bound controls on different user controls hosted inside the application. 3. Put some of the data bound controls on the form. 4. Be able to use the mas ...Show All
manish_kumar UserControl messed up in the Designer - prevent error messages?
Hello, I have a usercontrol, put it on the form, and always when I open the form in the Forms Designer, there's a long errormessage inside the control, using the font & color which are set as properties of the form, and there pops up&n ...Show All
keyboardape Window Inheritance
Hi, My name is Tomer. I am having a real big problem with inheriting windows in VS2005. I have a window which i inherit from. a normal data window. My question is ... how can i change the controls properties on the inherited form visually (not programatically). Some controls are locked and cannot be updated visually even when i specified on each control to generate a memeber and that the modifiers are protected or public. ...Show All
Zoran Vujic Getting Label.Text from the resource file
In a VB.Net Project in VS 2005 I have a form with several labels. I found out that, depending on the amount of the text I enter in the text property via designer the behaviour assigning this text is different. When I enter just a small text, the text is assigned directly to the text property in the Form.Designer.vb file like Me.label1.text = "Test" If I enter more text, the text is stored in the form resource file and is assig ...Show All
darwin collins TaskBar ContextMenu
hi ppl,, i have my main window with FormtBorderstyle ste to None... ok,,, and my app shows in the taskbar.. thats ok ,, i want it to be in taskbar.. but when i right click on the taskbar item of my window ,,i dont get any ContextMenu,, i think this is because i have no border in my form.. so i was wondering how can i set a ContextMenu for when the user right click the taskbar item it shows up mig16 sorry for my english hehe not my primary langu ...Show All
bigballball Something like stylesheet?
Helo! I'm new in VB.NET. I will have to make a serious application with unique look. What I mean is, that every form has the same colour, uses same fonts, same size of the fonts... How can be this done in VB.NET I'd like to be able& ...Show All
Chris Cormier Control.Invoke blocks on WaitOne while UI Thread continues to run?
I have an application where a background thread is calling Invoke() on a control owned by the UI thread. I'm seeing a problem where Invoke is blocking indefinitely on a WaitOne operation while the main UI thread is still processing the queue (i.e. the UI is still responsive). I'm currently able to reproduce the condition relatively easily and believe it might be a race condition related to the UI thread disposing the control while Invoke( ...Show All
GarethJ - MSFT setResolution
Can someone explain to me how the setResolution method for bitmaps is used thanks ...Show All
greeniguana ** Urgent ** - Time
I have a statusbar1.panel(0).text that displays minutes in string form. Could someone explain how i can convert these minutes into hours and then display in the same place. Many Thanks. Petang What you will be doing is taking your 'span' of&nbs ...Show All
J Walker using applicationsettings/propertybinding to save form size etc.
I want to be able to save the following: The last position and size of the form when not maximized and the last windowstate. ie if the user closed the app maximized, next time I want it to open maximized, but if the user sets it back to a normal window, I want it to display using the save size and location (as Microsoft Word does). I have created three user settings with the appropriate type. If I bind these to the form properties, it seems to r ...Show All
Majka cannot move control in design time
hi i have created my own control inheriting usercontrol which contains a list of controls i could not move the control using mouse in design time in aform, i could do it by CONTROL + DOWN key any directions would be much helpful Thank ...Show All
kaoruchan19 double click for button
hi, i would to make my button to listen to double click event with the following code, but it seems does not work...or m i using a wrong method can anyone help me Private Sub Button1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.DoubleClick MessageBox.show("It is a double click") End Sub thank you First I would like to say that I don't rem ...Show All
vir_spb datagridview to be connected with an object
hi there, I am trying to build a grid that is connected to an object I dont know how exactly works but when I use the automated datasource with my object nothing appears on the table. My question is in order to see some data on the grid do I have to build my class in a specific structure Thank you all Adam I dont mind I need a small example just to start. I can make an array of objects or an object that has arrays as attributes. No ...Show All
ewupilam Panel Resize Question
Hi, I have a user control where I want to have to panels, one docked to left and the other docked to right. I want them to automatically resize their width according to forms size. Since each of them is docked to right or left the wid ...Show All
