Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~4K People Reached
Favorite Forums
Member Avatar for nicewave

Could someone tell me why I get the error "Operation failed:Index and lengt must refer to a location within the string Parameter:Length". It happened at this line: TheDataGridView.Rows[j].Cells[i].Value = tmpStr.Substring(0, 709); tmpSize = g.MeasureString("Anything", tmpFont); RowsHeight.Add(tmpSize.Height); tmpSize = g.MeasureString(TheDataGridView.Rows[j].Cells[i].EditedFormattedValue.ToString(), tmpFont); if (tmpSize.Width > 710) { string tmpStr = TheDataGridView.Rows[j].Cells[i].ToString(); TheDataGridView.Rows[j].Cells[i].Value …

Member Avatar for Momerath
0
260
Member Avatar for nicewave

I've a datagridview shown, I would like to change the font of that row to bold when a user hover over any cell on that row. I know I can use the rowenter and rowleave but some how it changed the font bold to the whole grid not just the …

Member Avatar for PatSharbaugh
0
2K
Member Avatar for nicewave

Has anyone seen this error? I wrote a short program to loop thru each of the specified directory and check each of the files and for some reason I got this error. Does anyone know how to handle this? I want the program skip this file name and continue with …

Member Avatar for darkagn
0
94
Member Avatar for nicewave

I've the following code to search and high light a string in a rich text box but it seems like it works on some and not on some. Suppose my Rich Text Box Text string is "CUST.DATA.OBJ-1681 sometext and sometext and sometext" and if I search on "CUST.DATA.OBJ" then it …

Member Avatar for thines01
0
183
Member Avatar for nicewave

Could someone tell me how to go about this? I've a dataGrid and when a user right-click on one of the row's header I want a context menu pop-up with the menu choices "View Detail", "Cancel". Thanks in advance...

Member Avatar for nicewave
0
161
Member Avatar for nicewave

Could someone tell me why I can't use the following code? It kept saying 'string' does not contain a definition for 'Match' and no extension method 'Match'. string SearchText = "7,true,NA,false:67,false,NA,false:5,false,NA,false:5,false,NA,false"; string Regex = @"\btrue\b"; int NumberOfTrues = Regex.Match(SearchText, Regex).Count;

Member Avatar for Mitja Bonca
0
188
Member Avatar for nicewave

I've a form, when it's show I don't want the user to be able to resize it by dragging the bottom righ-hand side corner of the form. Could someone tells me how to disable this? Thanks in advance.

Member Avatar for Mitja Bonca
0
78
Member Avatar for nicewave

I'm making a Login form with two text boxes(username, password) and a button called "Login". I would like to simulate the Login click when the user finishing enter the password and press the "Enter" key. Could someone tell me how to go about doing this? Thanks in advance.

Member Avatar for jbrock31
0
115
Member Avatar for nicewave

Could someone tell me why when I start a project, it added a new Form1, I can rename this to something else but I can't seem to rename the Form1.Designer.cs? How do I change the default form name? Thanks in advance.

Member Avatar for Mitja Bonca
0
83
Member Avatar for nicewave

I'm a newbie so please be patient with me. I've two forms, one is the main form and the other is the login form. On start up, I would like to have the login form show up so the user can enter their credentials and upon successfully login I want …

Member Avatar for Mitja Bonca
0
86
Member Avatar for nicewave

Could someone tell me how to print the code for the whole project? If possible with line # too. Thanks in advance.

Member Avatar for skatamatic
0
82
Member Avatar for nicewave

I added a Button on my form, I want to arrange it's location precisely to the pixel on the form. Does anyone know how I can do that? Thanks in advance.

Member Avatar for nicewave
0
180
Member Avatar for nicewave

Does anyone know of a third party simple grid for C#? Preferbably free ones. Not the Datagrid within C#. I'm try to learn C#. Thanks...

Member Avatar for ddanbe
0
137