Answer Questions
Jeremy_AK ListBox
I know. I have so many questions about a listBox. But here is my question. Lets say I have three items in my list box as follows: 369, 659, 156. How would I check to see if an item contains a certain number Try this: listBox3.Items.Clear (); string match = ( string ) listBox2.SelectedItem; foreach ( object item in listBox1.Items) { if ((( string ) item).Contains (match)) { listBox3.Items.Add (item); } } You ...Show All
Jeroen Bransen - J-Thread Need Help: Image In A Datagrid Column (code partially from here)?
OK. I'm new to .NET. VERY new to classes, overriding, etc. Pretty much lost, I guess is the best way to say it. Anyway, for over a week now I've been trying to do something that I thought would be pretty easy but as ...Show All
Ricardo Tome How to display "&&" characters in Menu Items using .Net
I am using .net version 1.1. I want to add the menu items dynamically. If the menu item having the text "char &&&&&& &&&&&&", it is displayed as char &&& &&&. How to display the character as normal text. I knew Mnemonic function avoiding the underscore to display. Please help me. I have moved this post from the .NET Framework General forum to this forum ...Show All
poulidis What permission is required for Process.Start()?
If I do a Process.Start() in a medium trust environment, I get a SecurityException. This is not documented in VS .NET 2003. What permission do Process & ProcessStartInfo require Frustrated in launching land. Mark Levison The problem is that&n ...Show All
Michael Coomer avalon like open source project
a few weeks ago, i ran into a web site that has an open source project that does what the "avalon" (xaml) on longhorn is going to do. i forgot the name and the url. can someone please refer me to this site thanks. ...Show All
T.J. Glazier Tree View - remember selected node
Situation: The users selects a tree node which causes report parameters to be displayed. The user clicks on the save button causing the report parameters to be saved. At this point the slected tree node is no longer available because the whole tree is&nb ...Show All
Craig Mackles Having trouble with debugging
Hello, I cant seem to debug an SQL stored procedure using VS .Net's debugger. I set breakpoints on the data adapter's call to Fill and the stored procedures first line. However, when I debug, the breakpoint in the stored procedure turns to a question&nbs ...Show All
SANDEEP MAMUNURI Design patterns and best practices for rich clients
Hello All - I have been developing an n-tier application with a .net windows based rich client (rather large MDI app) sitting on the front end for about 8 months. Hindsight once again being the case, I wish we would have spent more time up front investigating patterns and best practices to apply when developing this rich client. We have gone through phases where we thought it best to keep ALL logic out GUI components (user controls, etc) a ...Show All
Munni Button problem...
Hi! I need som help with coding. I wan't to have a ToolStripMenuItem and link it to another form but I don't know the code for that. Can someone please help me Thanks in advance. Didde wrote: I wan't to have a ToolStripMenuItem and link it to another form Please be more specific on your question as I (like anyone else reading this post I suspect) have got no clue as to what you are look ...Show All
msnashok How do I Modify a Textbox while reading a file.
I am reading a file using streamreader, in a Do-Loop. I have a progress bar to show the status, but I also want to write more detailed progress info to a textbox. Nothing shows up until the file read has completed. How do I correct&nb ...Show All
Fabrizio Valenti ListView
Ok. I have 3 timers, 3 textBoxes, and a ListView. In the ListView, I have 2 Columns. The 3 textBoxes have starting values of "0". In a button click event, I start timer1, and what it does is increment the value of textBox1 all the way up to 10, and while it is incrementing the value, it places the numbers in all the textBoxes into the first column of the listView. Like so... public void timer1_Tick( object sender, EventArgs e) ...Show All
Bruce Hamilton Binding Comboboxes to custom lists
I am running .NET Framework 2.0 B2 I am missing something when it comes to implementing databinding in custom classes. I have a view class that acts as my main data source. The view class basically just loads up the data and returns via properties and BindingLists of NameValuePairs (which is just a replacement for KeyValuePair so that databinding will work) The view class also maintains current properties that tell me what the current selected i ...Show All
Joseph Ollero How do I access the non client area of a richtextbox?
How do I access the non client area of a rich textbox so that I can put nline numbers along the left or right side of the control. ...Show All
Randy VanDeMaat date in windows form
I have these code it is working in .net(web form) but not in the .net(windows form). It gives me error on listitems. I am trying to make a dropdownlist for day/month and year Still trying to learn vb. Dim now As New Date now = Date.Today Dim n ...Show All
Cas10 Reusing SysIPAddress32 in WinForms, problem in Win2K
Hi all, I created an IPAddress control that reuse the system's SysIPAddress32 class, this is based on some old C++ tricks, here's what I did: public class IPAddress : TextBox { public IPAddress() { SetStyle(ControlStyles.ResizeRedraw, true ); } protected override CreateParams CreateParams { get { CreateParams cp = base .CreateParams; c ...Show All
