Answer Questions
bpsmicro KeyDown/KeyPress/KeyUp wishes
This has really anoyed me for a very long time with .net and it really really really needs to be fixed. In VB6 on the Keydown/keypress and keyup events we could override the key that came in. As a result we could do things like all&nb ...Show All
chanccw CodeDom & InitializeComponent
Trying to replicate the 'InitializeComponent" method of the designer for a form creator I'm building and I can't seem to get the InitializeComponent / Algorithm correct. Has anyone a link to an article or code snippet dealing specifically with replicating&nbs ...Show All
Lillian Inheriting from a component and showing the result in the designer?
I already posted this in the Visual Studio C++ Express Edition board, but after not having received a single answer despite dozens of views I figured this might be a better place to ask this question: Joltan wrote: In Visual Studio 2005 C++ Express Edition I extended the ListView class through inheritance with some methods of my own to create a specific ListView type I need repeatedly in a small project of mine. Now the new ListView ...Show All
jresnick Programmatically select a row on DataGridView
How do you select a row on a DataGridView control programmatically Best way I could find to find and then select a row foreach (System.Windows.Forms. DataGridViewRow row in m_dataGridView.Rows) { // check if this is a row i want if (row.Cells[ "Column1" ].Value.ToString().Contains( "123" ); row.Selected = true ; } ...Show All
miteshpNOSPAM Error "Failed to create component 'AxHost'." when importing OCX control.
Hi All, I get this error: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Design, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. when I do this: 1) Regsvr32 <random>.ocx 2) in DevEnv, Toolbox, right click, Choose Items... 3) in Choose Toolbox Items dialog, COM Components tab, click <random>.<random> item. At this point, the control show ...Show All
tfrench How to make a splash page
How do I enable my application to have its own splash page to stay on the screen for 3 sec. Here's one in C# http://www.fawcette.com/vsm/2003_04/magazine/columns/qa/ I have trouble getting the main form "on top" after the splash screen wi ...Show All
likwoka Drawing in a Panel
Hi, I need to do complex drawing in a Panel to give the opportunities to the user to see the design prior to print it. I put really basic code to draw a rectangle in the panel but I don't have any scroll bar to see the rest of it. How do we tell to the panel that it's fixed display area will be ex: 900x400 and the virtual display area 3000x2000. I tried to set the autoscroll prop but without success Code sample (very basic...I know ) Dim ...Show All
Rakesh Mishra How to reference an active form in design time
My question is: I have to change status of controls, i.e text of a textbox, on the startup form of my application. I just don't know how to make a reference to the form to do that. As you may know, the form is created automatically wh ...Show All
Arun Marathe treeview control in a context menu? possible?
Is it possible to have a treeview control within a context menu What I am trying to achieve is when ever a user rightclicks on a datagridcomboboxcolumn, I want a treeview to appear. Is this possible If not, is there another of achieving the s ...Show All
HyperX Serious bug in DataTable Select
If you use a datatable select on a column that contains a GUID you will have a major problem if you are not using US language. We are using Danish language and when selecting like this: ds.Tables(0).Select(GuidColumn = 'SomeGUID') It will not always retu ...Show All
Matt Pickle ConfigurationManager.AppSettings
Hi! I'm trying to use the AppSettings collection in a child assembly (Class Library) to read application settings from the executing assembly, but it doesn't return any values. In fact, the collection is empty. How is it supposed to work In VS2003 it& ...Show All
Aman Bedi Windows Schedular
Hi, I need to make a program that run at given time. Now, for this I am not allowed to make the Program as service or Tray Icon type of thing. The Suggested way is to add teh entry in the windows Task Schedular taht run program&n ...Show All
casgo Consistant Styles among controls
It would be nice to have flat everything! 3D comboBoxes look like crap on a flat form:) amen! ...Show All
Shawn Levendusky strange breakpoint / "...inside OS Loader lock." error when calling Form.Show()
Hi, I have some strange error I do not understand. In a C# dll, which is called from an outProc COM server in order to provide dialog and user IO, a variable of type Form is created via new. This is done inside some object cstr and if I call Show of this form variable the dialog is shown as non-modal window, so everything is fine. If I skip this initial Show command and call it later as response to a notify-icon mouse click, I get the error m ...Show All
trggr_happy_jack Do I hear C# anytime soon???
I was wondering if there will be a C# sample of TaskVision anytime soon I am also interested in the source code in C#, any updates on the status of this We'll have that up in about 2 weeks with some&nbs ...Show All
