Answer Questions
Sebastian Morsony Resize button !?
how i can resize button or any object in my form in run time not in Design time thanx For my problem, I have to build forms that allow user resize and moving controls at run time, then save them, when user run the  ...Show All
Kristijan_M PropertyGrid and Property Editors
I have been working with propertygrid for some time now and feel I have a good grasp of making it do nice thing using attributes - but one thing keeps bugging me. I can decorate a property of a business object to use an editor (say&nb ...Show All
Lori Lamkin BringToFront / focus behavior
I'm using .NET 1.1. I have FormA and FormB. When FormA gets focused, I want the ZOrder of FormB adjusted so its right below FormA. I've tried doing this a few different ways, using code only inside FormB (which keeps a reference to FormA). From FormB, I register and handle FormA's Activated event: private void _FormA_Activated(object sender, System.EventArgs e) { this.BringToFront(); _FormA.BringToFront(); ...Show All
SekharPC How to access textbox on parent form?
I'm trying to access a textbox on a parent form from the child form. Seems pretty simple, but I just can't find how to do it. This is how I'm opening the child form: Form fRoom = new RoomAllocator(); fRoom.ShowDialog(); How do I access the parent form's text box from the child form Somebody please help! This is a common problem and is easily solved by searching for it: http://addressof.com/blog/articles/Form2Form.aspx thanks chris ...Show All
KodeCruncher Two DataGridViewComboBoxColumn one of which is filtered by the other's value
Let me give you the scenario first. I want to setup a datagridvew connected with database, for example Products table in Northwind. I wnat to display the fields in this order: CategoryID, ProductID..... First: I have a DataGridViewComboBoxColumn. This combobox fetches all the category ids from the Category Table. Second: I have another DataGridViewComboBoxColumn. This combobox displays only those products that match the CategoryID selected ...Show All
sledge ImageList in VB.NET - Require VB6 Equivalent
I've started using VB.NET and I'm porting a VB6 project. The problem I have is that the new Image list doesn't allow you to store a name or tag for each Image like VB6. This causes me an issue as I use a name to look up  ...Show All
mjhoagland controls not rendering on the form
Controls on my windows application form render as as white rectangles with red border and red diagonal lines. It happens very rarely. Has anyone ever encountered such a thing If yes, then what maybe the cause of it Thanks Nitin Its just not one control which doesnt render properly, all the contols have the problem and it happens very rarely, the application works fine otherwise. The thing is its not repr ...Show All
Naimisar Ideas for Fotovision
First of all, Ralph, thank you for this great application! I love it (well designed, well coded, well.... just great :) I'm thinking of three improvements to use Fotovision as my photogallery: 1. replacing the listview by a treeview to allow subdirector ...Show All
Eric Stone File copying
Hello all! I'm new to .NET development, and had a question dealing with file copying.... I need to create an object which will contain a file (document). I need this class object to pick up a file given a full file path, and copy the file ...Show All
Klarita Multiple columns combo box vb.net
How can i add more than one column to a vb.net combobox. Can anyone tell me if there's a version of this for VS 2005, or how to translate. I get error message when following abov instructions. Many Thanks in advance of help. That's easy, You can't but with a bit of trickery and ownerdraw you can rol your own. you know what , here is some code for a combobox with multiple columns and autocomplete, it's written in vs 200 ...Show All
Swami Pete Capture a windows dialog programmatically
I'm trying to open up a MS Word and do some stuff to it, but a dialog box appears that I have to say 'OK' on. Is there a way to capture that box and programmatically hit okay to continue the process John You ...Show All
Alain B-H PropertyGrid Guru needed for Custom Editor Problem.
If my custom drop down editor(which is basically a multiline text box) is removed from view because the user pressed escape, then I need to know so the propertygrid can ignore any changes made. My 'fantasy vb code for the EditValue function&nb ...Show All
StephenLiang Text Formatting Problem
I want to save a long text to the database without losing the format: font, bullets, etc. Any ideas could you kindly explain to me the code above so that i can understand it better. thanks. for example if i save the text property of a richtextbox to the database or load data to the richtextbox what are the necessary codes needed Sorry for this late response, check the following colored texts I am not able to recognize ...Show All
Craig Vick Retrieving text width, length, x, y after drawstring
This is my function Pic is a Picturebox on my form. -------------------------------------------------------------------------- Private Sub TxtDim(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Pic.Click Dim TxtCreator As Graphics =  ...Show All
denish1 suppress section at runtime
Maybe somebody knows how to do this I need to suppress the section of the report at runtime: if the comment located in the Group Footer is empty I don't need to print the section, otherwise I do need to print it. Thanks. ...Show All
