Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
QuestionRegular Expression in String.Replace() method. Pin
248912822-Oct-07 21:29
248912822-Oct-07 21:29 
AnswerRe: Regular Expression in String.Replace() method. Pin
Pawel Gielmuda22-Oct-07 22:34
Pawel Gielmuda22-Oct-07 22:34 
AnswerRe: Regular Expression in String.Replace() method. Pin
Guffa22-Oct-07 22:54
Guffa22-Oct-07 22:54 
QuestionCopy Identity column data Pin
Rabab Siblini22-Oct-07 21:15
Rabab Siblini22-Oct-07 21:15 
AnswerRe: Copy Identity column data Pin
pmarfleet22-Oct-07 22:34
pmarfleet22-Oct-07 22:34 
GeneralRe: Copy Identity column data Pin
Rabab Siblini22-Oct-07 22:37
Rabab Siblini22-Oct-07 22:37 
GeneralRe: Copy Identity column data Pin
pmarfleet22-Oct-07 22:57
pmarfleet22-Oct-07 22:57 
QuestionGetting form names then converting [modified] Pin
Ajm11322-Oct-07 21:02
Ajm11322-Oct-07 21:02 
Ok I got a counter going for my tabs. I have it so when ever the user creates a new tab it will count the pages in a integer. Then that number will get placed in the name at the end of the of that rich text's name. So how can I retrieve the name of the rich text box when the user clicks on the it? Then will be placed in a string, so it can be reused when a user clicks a another rich text box.
        private void OnClickOfRTB(object sender, EventArgs e)
{
            //Get name of the rich textbox then set it as a string so it may be used in other events.
   string WorkingOn = newRtb[_pageNumber].Name;

}

        private void Paste(object sender, EventArgs e)
{
     //Get string then convert it back as if it was a form to use on the paste.
    newRtb.WorkingOn.ToString.Paste();

}


So all I am asking is how can I combine a winform name into a hole string so it can be used in things like paste then convert it the string like if it was a form object.

I know this mite not be the best way to handle it, but that is all I can think of.


So if you can please help or if you need to understand my question more please ask me. My Mind keeps going back and forth on this question on how this should work.
Thanks Aj.




-- modified at 3:19 Tuesday 23rd October, 2007
Questionto check compressed drive Pin
tnaveen22-Oct-07 20:14
tnaveen22-Oct-07 20:14 
AnswerRe: to check compressed drive Pin
Giorgi Dalakishvili22-Oct-07 20:28
mentorGiorgi Dalakishvili22-Oct-07 20:28 
AnswerRe: to check compressed drive Pin
Ajay.k_Singh22-Oct-07 20:42
Ajay.k_Singh22-Oct-07 20:42 
Questioncan anybody give me a example of making a control by inheriting system.windows.controls? Pin
jacobi#22-Oct-07 19:52
jacobi#22-Oct-07 19:52 
AnswerRe: can anybody give me a example of making a control by inheriting system.windows.controls? Pin
Ajay.k_Singh22-Oct-07 20:46
Ajay.k_Singh22-Oct-07 20:46 
Questioncompressed drive Pin
tnaveen22-Oct-07 19:21
tnaveen22-Oct-07 19:21 
AnswerRe: compressed drive Pin
Andrei Ungureanu22-Oct-07 19:55
Andrei Ungureanu22-Oct-07 19:55 
Questionneed your support Pin
prasadbuddhika22-Oct-07 19:18
prasadbuddhika22-Oct-07 19:18 
AnswerRe: need your support Pin
pmarfleet22-Oct-07 21:07
pmarfleet22-Oct-07 21:07 
QuestionHow to export the datagrid to powerpoint Pin
ayyp22-Oct-07 19:06
ayyp22-Oct-07 19:06 
AnswerRe: How to export the datagrid to powerpoint Pin
Abhijit Jana22-Oct-07 20:49
professionalAbhijit Jana22-Oct-07 20:49 
Questionspecify the drive Pin
tnaveen22-Oct-07 18:50
tnaveen22-Oct-07 18:50 
AnswerRe: specify the drive Pin
Ajay.k_Singh22-Oct-07 20:23
Ajay.k_Singh22-Oct-07 20:23 
QuestionString Array to string object Pin
A.Asif22-Oct-07 14:10
A.Asif22-Oct-07 14:10 
AnswerRe: String Array to string object Pin
Scott Dorman22-Oct-07 14:48
professionalScott Dorman22-Oct-07 14:48 
AnswerRe: String Array to string object Pin
Fayu22-Oct-07 17:10
Fayu22-Oct-07 17:10 
AnswerRe: String Array to string object Pin
J4amieC22-Oct-07 22:06
J4amieC22-Oct-07 22:06 

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.