Answer Questions
newX Set collection item value through PropertyDescriptor?
If I have a PropertyDescriptor with SerializationVisibility == Content, what is the appropriate way to populate the collection with items If SerializationVisibility == Visible, I'd use propertyDescriptor.SetValue() but I don't see how I can add items to a collection. Related to this question is: What requirements must a property meet in order to mark it with SerializationVisiblity == Content I suspect it must at least be IEnumerable for the re ...Show All
Haidar multiple monitors are causing repainting problems
I have an MDI application written in VB .NET that is running on a grid of 6 LCDs (connected using Windows XP's built in multiple monitor setup). Essentially, each screen houses at least one, but sometimes more, children. Each child is a& ...Show All
coolies Conditional deployment
Hello everyone, I'm deploying a windows application. In the very beginning of the installation process, I added a checkbox dialog to let the users specify whether they have a particular software (our cstomer software) installed on their machine. What I want to do is, if there is one installed, display a textboxes dialog to do some settings; otherwise carry on without displaying any dialoge. I'm not sure if it is possible, any comments appreciate ...Show All
nentjes ListView with widgets
Hi everyone, I wonder if it is possible to allow widgets (custom controls) being the item of a ListView. Essentailly, I have implemented a set of widgets for data input (for example, a widget with textbox and srollbar for integer/float datatype, a widget ...Show All
Usman9852000 SplitContainer
How can we make the splitter handle colored or patterned Thanks, that worked perfectly. Try this: [code="c#] this .splitContainer1.Paint += new System.Windows.Forms. PaintEventHandler ( this .splitContainer1_Paint); private void splitContainer1_Paint( object sender, PaintEventArgs e) { Rectangle handleRectangle = spl ...Show All
corel-DII "Details" style data binding question?
I am using VS.NET 2005 Standard edition; My goal is to bind a dataset with one datatable to a form in a way that gives you a table of "overview" with selected columns. From there the user can select a row and the entire record is display in a data-entry grid below the entier datagridview control. It's a sort of split screen - there are many to many fields to cause the user to easily edit them in the datagridview. So far i have no ...Show All
TomGK2006 including windows.h in the Form1.h file
Hello , I have a problem that is : in a VC++ >>WindowsForms.Net I have included the <winodws.h> file in my Form1.h file then I tried to use the System::Windows::Forms::MessageBox::Show(...) method, but I recieved an error message that the MessageBox class is not a member of Forms namespace . note that I need the to include that file to load an old dll file (unmanaged) Thanks , but am using an unmanaged dll file ...Show All
Lu Campos CheckedChanged on load
I am using VS2005 and creating a Windows app using VB.net. At the top of one form I have a pair of radio buttons, which control the kind of data displayed below them in a DataGridView. The user can switch from Type1 to Type2 and vice versa by clicking on the non-checked radio button, if certain conditions are met. The problem is the RadioButton_ CheckedChanged event is raised when the form is first displayed, without any user action. Do I ...Show All
Alan S Tang Outlook Calendar Look and Feel - Corrupts Form Designer
I added the CalendarLibrary project (Outlook Calendar Look and Feel) to my solution. First I encountered the Serialization problem and used the fix listed here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=167334&SiteID=1 I add a reference from my VB project to the CalendarLibrary project, add a new form to my VB project and drag and drop the Calendar control onto the form. When I build the solution I get this er ...Show All
SabariRajan TreeVew, Expand treenodes (C#)
I have attempted to expand my TreeNodes once they are added to the TreeView, but it doesn't work. I'm using: TreeNode ParentNode1; TreeNode ParentNode2; ParentNode1 = treeView1.Nodes.Add("tv1"); ParentNode1.Nodes.Add("tv1FirstChild"); ParentNode1.Nodes.Add("tv1SecondChild"); ParentNode1.Expand(); ParentNode2  ...Show All
nhlpens66 Alternate Office 2003 Theming?
I just got Whidbey, gotta say, I LOVE IT. Just a few things I'm puzzled by: Why does it seem I can only get the menustrips, toolstrips, and every other -strip that themes in Office 2003 to theme in the same Office 2003 style that Whid ...Show All
amitdk how I can open e MDI form
I'm new in VB.net What do you mean Rules for MDI is to have at least one MDIParent (set in the properties of the form), and whenever you create an instance of a form for that parent, you set the MdiParent to tha ...Show All
Kay Chan How to run a dos command in the Window Forms
Hi, I want to design a button in a Window form. Pressing the button, then a Dos .exe file can be implemented. Is there anyone can help me out Thanks a lot. The answer can be found in the following article: http://www.codeguru.com/Csharp/.NET/net_general/threads/print.php/c8503/ A 'DOS command' would be called like this: CommandLineProcess cmd = new CommandLineProcess(); cmd.Command = "dir"; cmd.Arguments = "C:\"; cmd.UseComSpec = ...Show All
John Ericson event associated to pressing enter (on the keyboard) while I m selecting a row in datagrid
I wonder about 2 things: 1/ How do I force in the code the cursor (to select or give focus) to the first row in my datagrid. when I do the method: datagrid1.focus() it doesn t select my datagrid it doesn t do anything. 2/ I want to trap the event of selecting the datagrid in my form. the code bellow doesn t doesn t work: Datagrid1_KeyUp( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles DataGrid1.KeyUp ...Show All
dougseven Process + Progress Bar
Hello, everybody I have an application that installs a program, example is Winzip using window installer. It install just fine, but the problem is I don't when it is done installing. So I want to put a progress bar into the form that will let the user know that the window installer have finished. Is this possible. Here is my code so far: I am using VS 2005 StartInfo.FileName = "MsiExec.exe"; StartInfo. ...Show All
