Answer Questions
Patrick Cournoyer BUG in NotifyIcon Control...!?
When adding a contextmenu to a notify icon , everything works fine until you decide to change ownerdraw settings for the menuitems to true ... The _MeasureItem and _DrawItem events do not get triggered when doing this from a notifyicon ... I  ...Show All
coyoteworks Remote Access
Hi, I have a windows forms application, developed under .Net 2003. This application mainly accesses a remote Oracle database to generate reports. To be able to run my application, I have to install it on every PC that needs to use it, along ...Show All
Bill Rose Dictionary type and serializtion problem in VS2005
I have created a control with property of Dictionary<K,V> type and in designer I initialize this property but it is not serialized (key and value are generic types) - what can I do to force it to serialize. This property i ...Show All
bursteguy Insert command ADO.net
Hi, I have to insert 10-15 rows in the database. Should I insert them one by one or there is a ADO.net function that mass inserts values or a function that I can use to run multiple queries Thanks, Oops...Sorry! I didnt know that you were using .net 1.1. Anyways, below is the link which can help you in batch updates for .net 1.1. Link: http://msdn.microsoft.com/data/dataaccess/adonet/default.asp ...Show All
Karthik Mani Two datagrids and scrollbars
Hello, I am writing a quick data comparison app to compare similar data from development and test environments. I have two datagrids on the screen each getting bound to a datatable from one of the environments. What I want to do is link up&nbs ...Show All
shnacooti Adding a new "blank" record to edit
I have a bunch of controls bound to a dataset. When I bring up existing data and make edits, all is well. But I'm missing the boat completely when it comes to adding a new blank record to be filled in. I try adding a new row,&nb ...Show All
Ze Lin Custom Control Problem
Dear all, I have created a custom control in C# (A panel with context menu's, event handlers etc already built in) in a dll, a control library. I've added this control to my user controls in my main application (a different project). I can then drag the panel onto my main form and resize it etc. The main form builds fine but when i run it and click on a panel I get an error "Object reference not set to an instance of an object". It is like the ...Show All
rythm Detecting state of DataGridView
I have the classic problem of what to do with changes to a row that have not yet been committed when the user does a save. I'm using a DataGridView control in Virtual Mode (which is a truly sweet feature.) User edits a cell and doesn't move to another cell / row ( ) so that the change is not "committed" i.e. not pushed to the changed value back into the grid and its underlying data structure. He then does the save command. The problem i ...Show All
Ashish Nayyar Setting the 'startup' winform in a project?
Hi, I can't figure this out: In VS.NET I have a project that has two winforms. Form1.cs and Form2.cs. When I hit F5, Form1.cs opens. How can I tell VS.net to open Form2.cs instead, first I know it is some setting somewhere,  ...Show All
AustinStephens Persist Hashtable property
Can anyone help me figure out how to persist the data in a control property thats of type Hashtable I created a TypeConverter for the Hashtable, and added these properties to the control property: [Browsable(true)] [Description("ServiceAlias parameters")] [Editor( typeof(O ...Show All
rsedor Hidding the .MSI file ???
Hi all ! I have been work an a small solution. I am wondering if there is anyway to hide the .msi after the deployment solution is compiled I get the setup.exe windows.msi and setup.inf, I would prefer to hide the .msi ...Show All
TheChemist Setup Project: How do I make a dialog conditional?
I have created a setup project in VS2003. I have added three Dialogs. The first one has two radio buttons: if the user chooses the first button I want it to go to Dialog B, if the user chooses the second button I want it to go to Dialog C. Is it possible to create a conditional path like this in a setup project There's no support in Visual Studio setup projects for this, although there is support for it with o ...Show All
Eric Rook Problem with cursor on C#
I read MSDN documents and I make an cursor size 16x16, it's work well. But I can make an cursor 32x32. Do you have any idea for me Thanks Can you clarify what you're looking for Are you hoping to create a 32x32 cursor for the mouse pointer for your WinForms app It sounds like you may already have a solution for this, but you no longer like it Can you explain why thanks - mike Sorry about my typing mi ...Show All
BethM Initial Selection in Combo box
I have an application that requires the user to select from a combo box, to load a specific record. The application responds to the selectedindexchanged event. The datasource for the combo box is a data set which is loaded in the New&nbs ...Show All
RyanH One or more errors encountered while loading the designer
Hi, I was working on a simple Winforms C# project. I created a few of TableAdapters using the designer and attached them to datagridviews on my form. After realizing that i did not want one of the tables I went to the XSD designer and deleted it. After that the project still excutes ok but the form designer is unable to display the form in design view I get the following error: One or more errors encountered while loading t ...Show All
