Answer Questions
Joginder S Nahil Search through PDF, TXT and HTM files .. regex
Hi, I'm quite new to .NET, I have a directory with sub folders with hundreds of TXT, PDF and HTM files, my current task is to extract all numbers builded in this way 000000-000 (I figure out that reg ex for it will be: ^([0-9]{6}[\ ...Show All
Dr.Gonzo form close reason
Hi! I would like my form to be hidden when the use clicks on the window close button (the X button on the top-right corner). The e.CloseReason does not provide a value to determine that this particular button is the reason that is closing the form. This was very simple in VB6: Private Sub Form_QueryUnload(Cancel As Integer , UnloadMode As Integer ) If UnloadMode = vbFormControlMenu Then   ...Show All
alex2308 Whidbey! Whidbey! Whidbey! My Arse!
Ok I what's the deal For a few weeks now the front page of this site has been taken up by the announcement of the Whidbey section. What I read so far I have found that Whidbey is very cool. But plastering articles every where&n ...Show All
Andy Rich Problems with RichTextBox.Rtf
Hey guys, I'm trying to set the Rtf property of a Richtextbox and I'm having some issues. First I do this, which works fine: string test = @"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\ul\f0\fs20 Test\ulnone\par}"; this._agreementTextBox.Rtf = test; The textbox displays the underlined word "Test". However, when I tr ...Show All
Sindre Multiple select is not working for datagridview
I have MultiSelect for DataGridView set to "true", I verified it at a run time. I have checkbox in DataGridView which click causes that specific Row to be selected. Code below. Issue is that SelectedRows for DataGridView always contains one element (as if MultiSelect was set to "false"). It shall be something very obvious but I can not figure out what is causing this. private void dgrResults_CellContentClick( ...Show All
Audrey N. T. Where are windows forms controls icons stored?
Hi all... I have a custom control that I want to assign an icon that is similar to the icon of a control already present in VS 2005 toolbox but with a little change so I need to create a copy of it and made the modifications. I was searching for all Windows.Forms DLL's but I couldn't find them. Can you point me to the right file that stores these resources Thanks Jaime Get the reflector: http://www.aisto.com/roeder/dotnet/ ...Show All
FFil TabControl - Disable/Enable tab page
I have a tabcontrol with 2 pages. OnLoad the 2nd Tabpage shall be disabled (grayed out and not selectable). Later with code I need to enable the 2nd tab. Any Ideas how this can be done please. /Morten I think the gymnastics I'd have to go through to 'mimic' disabling a tab page are ridiculous. All third party tab controls make this as easy as in vb6. Obviously there's widespread desire for the abi ...Show All
LiFo invalid parameter used
I got this error when i add my imagelist to my toolbar how do it fix that error ! or why do i get that error.. thanx ...Show All
Swapnil Mahankal Accessing controls in external windows
How do you access controls in a window that have been created by another program I have got the window handle, and want a list of all controls in the external window. I am newbee to .NET, programming in C#. very thankful for help! Thanks for your reply. The problem is that I have not any instance of the window (it is external to my application), just a handle to the window (received from the Process class). Can I get the W ...Show All
ariana28 Extending Treeview
Can anyone help I want to extend treeview so that nodes can have a displaymember and value member, bit like combobox has. Not sure how to do this. Regards Ismail ...Show All
SQLinSouthseaUK Fill WebBrowser
Hello, I have a problem because I want t fill a form automaticly in a HTML format, Y guess I need first to Enum the Elements in the Webbrowser first and then get the element I want, so I can fill it with a string or integer later.. So my question is about how to get the elements in a Webbrowser Document, ( I need to fill a TextBox) and then fill them with an string or integer.... hope you can help me and thanks for everything!!. Hope ...Show All
ajb2607 Object Reference Error.
Here is some code of mine: Public PassedLine As String Dim myValue As String = PassedLine If myValue.IndexOf("Jason") > 0 Or myValue.IndexOf("Gaylord") > 0 Then ...Show All
peeko Parent Form Picture Box shows though Child forms!
In my parent form I have a picture box with a logo displayed. When I open any child forms, the picture box shows through the child form! How to I have my main parent form, that houses all the child forms of my application, display&nbs ...Show All
spirit7301 Multiple selection checkbox
Is there a control that list checkbox and support multiple selection I checked CheckedListBox and it doesn't support the multiple selection. How can i do to support it Is there any article out there for it I'd prolly need to check for Ctrl+shift everytime the user check an item. Thanks, That's not what i want ... I want the user to be able to do a multiple selection by using crtl+shift .... ...Show All
DanL43 DataGridView IsCurrentRowDirty
VB2005 I have a DataGridView bound to a dataset. If I add a row, and do not move off the row, an Update on the dataset does not record the added row. In my save logic I can test IsCurrentRowDirty = True but what do I do then http://msdn2.microsoft.com/zh-cn/library/system.windows.forms.datagridview.iscurrentrowdirty(VS.80).aspx 用 离 行 ,控件 提交所有的行更改。用 可以按 Ctrl+Enter,在不离 行的情 下提交行更改。若要以 程方式提交行更改, 用窗体的 ...Show All
