Click here to Skip to main content
15,886,518 members
Home / Discussions / C#
   

C#

 
QuestionDomainController() is inaccessible due to its protection level?? Pin
lane0p230-Jan-11 0:11
lane0p230-Jan-11 0:11 
AnswerRe: DomainController() is inaccessible due to its protection level?? Pin
Estys30-Jan-11 0:49
Estys30-Jan-11 0:49 
AnswerRe: DomainController() is inaccessible due to its protection level?? Pin
mgr_2k731-Jan-11 2:50
mgr_2k731-Jan-11 2:50 
AnswerRe: DomainController() is inaccessible due to its protection level?? Pin
Philip Lane31-Jan-11 21:32
Philip Lane31-Jan-11 21:32 
AnswerRe: DomainController() is inaccessible due to its protection level?? Pin
Dalek Dave9-Feb-11 13:34
professionalDalek Dave9-Feb-11 13:34 
GeneralRe: DomainController() is inaccessible due to its protection level?? Pin
lane0p210-Feb-11 6:34
lane0p210-Feb-11 6:34 
QuestionText break into two part Pin
mjawadkhatri29-Jan-11 3:16
mjawadkhatri29-Jan-11 3:16 
AnswerRe: Text break into two part Pin
OriginalGriff29-Jan-11 3:26
mveOriginalGriff29-Jan-11 3:26 
You are looking for the String.Substring method[^]
What it does it returns a new string, cut down from the original. You just have to specify the start position of the new string (in characters from the beginning of the original) and the length of the new string, in characters:
int len = textBox1.Text.Length;
textbox2.Text = textBox1.Text.Substring(0, len - 1);
textbox3.text = textbox1.Text.Substring(len - 1);
(if you don't specify the length, you get the whole remaining string).
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

AnswerRe: Text break into two part Pin
OriginalGriff29-Jan-11 20:50
mveOriginalGriff29-Jan-11 20:50 
GeneralRe: Text break into two part Pin
Richard MacCutchan29-Jan-11 21:31
mveRichard MacCutchan29-Jan-11 21:31 
GeneralRe: Text break into two part Pin
OriginalGriff29-Jan-11 21:42
mveOriginalGriff29-Jan-11 21:42 
GeneralRe: Text break into two part Pin
Not Active30-Jan-11 6:43
mentorNot Active30-Jan-11 6:43 
GeneralRe: Text break into two part Pin
OriginalGriff30-Jan-11 8:19
mveOriginalGriff30-Jan-11 8:19 
GeneralRe: Text break into two part Pin
Abhinav S30-Jan-11 17:59
Abhinav S30-Jan-11 17:59 
GeneralRe: Text break into two part Pin
OriginalGriff30-Jan-11 20:23
mveOriginalGriff30-Jan-11 20:23 
AnswerRe: Text break into two part Pin
Pete O'Hanlon30-Jan-11 9:24
mvePete O'Hanlon30-Jan-11 9:24 
AnswerRe: Text break into two part Pin
Valery Possoz31-Jan-11 12:23
professionalValery Possoz31-Jan-11 12:23 
Questionget URL from Chrome Pin
moums28-Jan-11 11:45
moums28-Jan-11 11:45 
AnswerRe: get URL from Chrome Pin
Luc Pattyn28-Jan-11 15:33
sitebuilderLuc Pattyn28-Jan-11 15:33 
GeneralRe: get URL from Chrome Pin
Not Active28-Jan-11 15:45
mentorNot Active28-Jan-11 15:45 
GeneralRe: get URL from Chrome Pin
Luc Pattyn28-Jan-11 15:56
sitebuilderLuc Pattyn28-Jan-11 15:56 
GeneralRe: get URL from Chrome Pin
Dave Kreskowiak28-Jan-11 17:42
mveDave Kreskowiak28-Jan-11 17:42 
GeneralRe: get URL from Chrome Pin
Luc Pattyn28-Jan-11 18:11
sitebuilderLuc Pattyn28-Jan-11 18:11 
GeneralRe: get URL from Chrome Pin
Pete O'Hanlon28-Jan-11 22:56
mvePete O'Hanlon28-Jan-11 22:56 
GeneralRe: get URL from Chrome Pin
Luc Pattyn29-Jan-11 1:10
sitebuilderLuc Pattyn29-Jan-11 1:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.