Click here to Skip to main content
15,919,341 members
Home / Discussions / C#
   

C#

 
GeneralRe: Storing text information in an image Pin
MarcelErz13-Dec-05 21:14
MarcelErz13-Dec-05 21:14 
Questionwhat is the problem in the following code of classlibrary Project for log4net Pin
YogeshChoudhary12-Dec-05 19:04
YogeshChoudhary12-Dec-05 19:04 
Questionextracting substring Pin
Ankit Aneja12-Dec-05 18:57
Ankit Aneja12-Dec-05 18:57 
AnswerRe: extracting substring Pin
HakunaMatada12-Dec-05 19:33
HakunaMatada12-Dec-05 19:33 
GeneralRe: extracting substring Pin
Ankit Aneja12-Dec-05 19:47
Ankit Aneja12-Dec-05 19:47 
GeneralRe: extracting substring Pin
HakunaMatada12-Dec-05 20:15
HakunaMatada12-Dec-05 20:15 
GeneralRe: extracting substring Pin
Ankit Aneja12-Dec-05 20:27
Ankit Aneja12-Dec-05 20:27 
AnswerRe: extracting substring Pin
Anbuselvan12-Dec-05 20:19
Anbuselvan12-Dec-05 20:19 
Hi,

Change your code like this...

<br />
string comm="CONTSCAN E:\\projects backup\\ankitclam backup\\Clamtest\\testing\\hello.txt\r\n";<br />
<br />
/*<br />
int x=comm.Length;<br />
x=x-9;<br />
string path;<br />
path=comm.Substring(9,x);<br />
MessageBox.Show(path);<br />
*/<br />
<br />
comm = comm.Replace("CONTSCAN ","");<br />
comm = comm.Replace("\r\n","");<br />
System.Diagnostics.Debug.WriteLine(comm);<br />


Happy Programming!!! Smile | :)

Regards,

P.Anbuselvan
Sr. Software Engineer
Hyderabad
GeneralRe: extracting substring Pin
Ankit Aneja12-Dec-05 20:27
Ankit Aneja12-Dec-05 20:27 
GeneralRe: extracting substring Pin
HakunaMatada12-Dec-05 20:31
HakunaMatada12-Dec-05 20:31 
QuestionRegarding calling Events of Internet Explorer Pin
A.Grover12-Dec-05 18:50
A.Grover12-Dec-05 18:50 
QuestionWindows Service Question. Pin
HakunaMatada12-Dec-05 18:30
HakunaMatada12-Dec-05 18:30 
AnswerRe: Windows Service Question. Pin
Ray Cassick12-Dec-05 18:48
Ray Cassick12-Dec-05 18:48 
GeneralRe: Windows Service Question. Pin
HakunaMatada12-Dec-05 20:22
HakunaMatada12-Dec-05 20:22 
GeneralRe: Windows Service Question. Pin
Scott Serl13-Dec-05 7:00
Scott Serl13-Dec-05 7:00 
GeneralRe: Windows Service Question. Pin
HakunaMatada13-Dec-05 17:07
HakunaMatada13-Dec-05 17:07 
AnswerRe: Windows Service Question. Pin
Dave Kreskowiak12-Dec-05 19:54
mveDave Kreskowiak12-Dec-05 19:54 
Questionarranging ownedforms(owner-ownedform) Pin
tonato84812-Dec-05 17:41
tonato84812-Dec-05 17:41 
AnswerRe: arranging ownedforms(owner-ownedform) Pin
HakunaMatada12-Dec-05 18:23
HakunaMatada12-Dec-05 18:23 
QuestionHow to lock background forms when foreground form is active? Pin
2hdass12-Dec-05 17:24
2hdass12-Dec-05 17:24 
AnswerRe: How to lock background forms when foreground form is active? Pin
Christian Graus12-Dec-05 17:42
protectorChristian Graus12-Dec-05 17:42 
AnswerRe: How to lock background forms when foreground form is active? Pin
HakunaMatada12-Dec-05 18:12
HakunaMatada12-Dec-05 18:12 
QuestionSimple .Net 2.0 Data Binding question (WinForms) Pin
Furty12-Dec-05 15:46
Furty12-Dec-05 15:46 
AnswerRe: Simple .Net 2.0 Data Binding question (WinForms) Pin
Ista12-Dec-05 16:09
Ista12-Dec-05 16:09 
GeneralRe: Simple .Net 2.0 Data Binding question (WinForms) Pin
Furty12-Dec-05 16:14
Furty12-Dec-05 16:14 

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.