Answer Questions
rikrispy Implementing RadioButton Clone
I'm building a control that seeks to mimic the behavior of RadioButton. It's basically a RadioButton with a different visual representation. It also implements a few rules around when a particular item can be selected. I'll probably inherit from RadioB ...Show All
Xanthius RichTextBox - finding word at a position
Hi, In RichTextBox, I want to find the word which comes immediately(or 1 or 2 words) after a word say "Name". Name John Age 23 I will use Find("Name"), now I want "John" or "Age" (1 or 2 words) from reference "Name". How can we do it Thank you. Hi, I don't know what follows "Name". Let the RichTextBox control contents be as follows. ...Show All
xxxlazyxxx XP Style Controls
Can you suggest any XP Style windows controls in .net. Thanks in advance Prashanthan K sure, I'd suggest the RadioButton, it's delicious with guacomole, and it microwaves itself! just kidding. what the heck do you mean --------- Windows Forms Controls adopt& ...Show All
Martin2006 treeNode co-ordinates
How to determine the co-ordinates of a selected treeNode thx You just get the SelectedNode's bounds: TreeView1.SelectedNode.Bounds -mark Program Manager Microsoft This post is provided "as-is" ...Show All
Goodguy Easiest way to populate new DataGridView Row with previous row values?
I've got a DataGridView and want to populate the new row, using the RowEnter event, with whatever data is in the previous (data just entered) row. This will allow the user to simply change one field value, rather than retyping the consistent values. Other than temporarily storing all of the field data from each row as it is exited (ugh), what's the easiest/cleanest way Thanks S. hi, Is your pr ...Show All
Evian_ DataBinding to Textbox
Hi , I have a dataset ds with 2 tables artist --> table1 name artistid artistname collecion - --> table 2name collectionid collectiondate artistid etc.. have created a datarelation dr between artist and collection dr = new datarealtion("artistcollection",ds.tables("artist").columns("artistid"), ds.tables("collection").columns("artistid")) I have a form which displays all collection information which includes the artist name. I can nav ...Show All
u_r_twisted Curious about security architecture in TaskVision
I am fairly new to web services security. I learned a lot from the authenticationTicket method used in Task Vision and have even started plugging it in to a pre-existing Windows Forms Client/ Web Services Data provider app that I deployed a few ...Show All
Pat Long multiselect algorithm
I was wondering if anyone knew the algorithm used by windows for selecting multiple files (can be used by listboxes as well). I'm trying to implement the algorithm myself but I'm not quite sure of some of the details of it. sorry, I need the algorithm, not how to do it with a listbox. The problem is I have had to implement my own list control so I need to implement the algorithm myself ...Show All
Dennis van.der Stelt write char at interval
Apologies from a beginner... On each Timer interval, I want to write each character of a string in succession. This is as close as I can come (code included in Timer1Tick Sub): Dim msg As String = "abcdefgh" ...Show All
Geoff Davis ListControls' value property
How do I get the value property of an item in a list control I want to say something like: ListBox1.items.item(3).value but this is not allowed. I have the valueMember and display member set, but I cant get the value of an specific item. Thanx in&n ...Show All
Zarxrax manually raise event for ComboBox
In a form, I have a ComboBox. In the form load event handler , in some cases it is bound with some data and in other cases it is empty. If it is bound with some data, I want to select the first item in the combo's items and manually raise its SelectedIndexChanged event to do some processing. Note all the above is done in the form's load event handler. Could I do that and how The alternative now I use is to define another method to do the proc ...Show All
arcon5 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
Bob D. Closing a Windows form from another form
I am working on a program that has a timeout routine running in the background. After three minutes of inactivity, a timeout warning window is displayed on the screen. After an additional 3 minutes, the program times-out and I display the&nbs ...Show All
SAS8721 tableAdapter help...
this .tblPSITableAdapter.Insert(oPRNoTextBox.Text, fwdIDComboBox.SelectedValue , aTDNoTextBox.Text, sDANoTextBox.Text, approvalComboBox.Text, userIDComboBox.SelectedValue ); how do i get the fwid and userid from these comboboxes their valuemembers are fwid and userid, respectively. if i try to use fwidComboBox.ValueMember I get an Exception: You can't convert an int to string... ...Show All
th2007 How can I open a context menu by left-click?
I hope to open a context menu by left-clicking button of mouse, what do I do Try this: public class Form1 : Form { private System.Windows.Forms.ContextMenu contextMenu1; private void InitializeComponent() { ... } protected override void OnMouseDown(MouseEventArgs e) { &nbs ...Show All
