Search Results

Showing results 1 to 16 of 16
Search took 0.01 seconds.
Search: Posts Made By: dickersonka ; Forum: C# and child forums
Forum: C# Apr 8th, 2009
Replies: 10
Views: 1,126
Posted By dickersonka
The problem with that would be is that its not a singleton and can exist in multiple classes


private static readonly GlobalVariables TheSingleGlobalVariableInstance = new GlobalVariables();

...
Forum: C# Mar 19th, 2009
Replies: 4
Views: 588
Posted By dickersonka
The exe is the compiled solution, all exes have already been compiled as well

if you are in a winforms app, it needs to be compiled before running it, if you are in asp.net you can set the project...
Forum: C# Dec 2nd, 2008
Replies: 28
Views: 1,632
Posted By dickersonka
right, then the exception is correct

uri is expected to be a registered prefix, and javascript is not, things are working properly!!!
Forum: C# Dec 1st, 2008
Replies: 28
Views: 1,632
Posted By dickersonka
are you meaning something like this?


foreach (HtmlElement link in webBrowser1.Document.Links)
{
bool isValid = false;
string linkItem =...
Forum: C# Nov 24th, 2008
Replies: 4
Solved: string parsing
Views: 1,273
Posted By dickersonka
you are correct, String.split is the way to go to treat it the same as the tokenizer

the other way would be to use regex
Forum: C# Nov 21st, 2008
Replies: 4
Views: 730
Posted By dickersonka
lol yeh man, it worked fine, will you post the whole class structure then?
Forum: C# Nov 20th, 2008
Replies: 12
Views: 3,912
Posted By dickersonka
are you catching the key press event and checking for enter?


if ((int)e.KeyChar == (int)Keys.Enter)
{
Navigate(toolStripTextBox1.Text);
}
Forum: C# Nov 12th, 2008
Replies: 11
Views: 735
Posted By dickersonka
if you use fxcop or code analysis in visual studio there is a rule CA1806 to 'do not ignore method results'
http://msdn.microsoft.com/en-us/library/ms244717(VS.80).aspx
Forum: C# Nov 10th, 2008
Replies: 2
Views: 1,795
Posted By dickersonka
how about


int myValue = 6000;
Debug.WriteLine(Convert.ToString (myValue, 2));


little less lines of code
Forum: C# Nov 9th, 2008
Replies: 7
Views: 703
Posted By dickersonka
Rude, for giving him a link with what it is with code and saying to clarify the question?

Doesn't look like a good way to start off here RC131, when we are trying to help.
Forum: C# Nov 3rd, 2008
Replies: 9
Views: 2,527
Posted By dickersonka
here is the sql code to get it


SELECT
sysobjects.name AS "TABLE_NAME",
syscolumns.name AS "COLUMN_NAME",
systypes.name AS "DATA_TYPE",
syscolumns.LENGTH AS "LENGTH"
FROM ...
Forum: C# Oct 27th, 2008
Replies: 2
Views: 3,313
Posted By dickersonka
i think maybe a small correction to that, since he is getting them from the newEmployee object


string sql = "INSERT INTO employeeTable(EmployeeName, Salary) VALUES ('" + newEmployee.EmployeeName...
Forum: C# Oct 22nd, 2008
Replies: 6
Views: 584
Posted By dickersonka
Lol agree with ddanbe, like we told you yesterday use
tbSendText.Text

And just to shed some light on what the other guys are saying about the crlf (\r\n), the socket you are connected to needs to...
Forum: C# Sep 15th, 2008
Replies: 2
Solved: Stupid Question
Views: 399
Posted By dickersonka
you can do it with a binding source

http://blogs.msdn.com/dchandnani/archive/2005/03/12/394438.aspx
Forum: C# Sep 10th, 2008
Replies: 5
Views: 2,287
Posted By dickersonka
also before adding the items, make sure you call


this.comboBox1.Items.Clear();
Forum: C# Aug 28th, 2008
Replies: 14
Views: 1,770
Posted By dickersonka
Yes, I thought you made a custom wrapper around it that only accepted a char.

Anyways here's a link
http://forums.msdn.microsoft.com/en-US/netfxbcl/thread/ebf6b7f4-123c-4de0-b331-2ea74769c94d/
Showing results 1 to 16 of 16

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC