Click here to Skip to main content
16,010,473 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Search Listbox Pin
Christian Graus31-Mar-09 15:03
protectorChristian Graus31-Mar-09 15:03 
GeneralRe: Search Listbox Pin
svanwass1-Apr-09 10:29
svanwass1-Apr-09 10:29 
QuestionAn error occurred while performing the drop: Illegal characters in path Pin
DirtBagger31-Mar-09 11:07
DirtBagger31-Mar-09 11:07 
QuestionDynamic PropertyGrid with CheckListBox Pin
jackgreat31-Mar-09 7:05
jackgreat31-Mar-09 7:05 
QuestionSet Wallpaper Pin
Pasan14831-Mar-09 5:23
Pasan14831-Mar-09 5:23 
AnswerRe: Set Wallpaper Pin
0x3c031-Mar-09 6:39
0x3c031-Mar-09 6:39 
QuestionOn Error GoTo in VBScript Pin
ATM_Guy31-Mar-09 4:59
ATM_Guy31-Mar-09 4:59 
AnswerRe: On Error GoTo in VBScript Pin
riced31-Mar-09 5:26
riced31-Mar-09 5:26 
GeneralRe: On Error GoTo in VBScript Pin
Uros Calakovic31-Mar-09 6:57
Uros Calakovic31-Mar-09 6:57 
QuestionProblem with movetoroot from the opc da automation wrapper Pin
dadio2531-Mar-09 3:53
dadio2531-Mar-09 3:53 
AnswerRe: Problem with movetoroot from the opc da automation wrapper Pin
dadio251-Apr-09 20:47
dadio251-Apr-09 20:47 
GeneralDisplay External Window in vb Form Pin
Samir Ibrahim31-Mar-09 2:48
Samir Ibrahim31-Mar-09 2:48 
GeneralRe: Display External Window in vb Form Pin
Dave Kreskowiak31-Mar-09 3:23
mveDave Kreskowiak31-Mar-09 3:23 
GeneralRe: Display External Window in vb Form Pin
Samir Ibrahim31-Mar-09 4:05
Samir Ibrahim31-Mar-09 4:05 
GeneralRe: Display External Window in vb Form Pin
0x3c031-Mar-09 6:55
0x3c031-Mar-09 6:55 
GeneralRe: Display External Window in vb Form Pin
Dave Kreskowiak31-Mar-09 7:26
mveDave Kreskowiak31-Mar-09 7:26 
GeneralRe: Display External Window in vb Form Pin
Samir Ibrahim1-Apr-09 5:07
Samir Ibrahim1-Apr-09 5:07 
QuestionFind Window Pin
Prasadsm31-Mar-09 1:38
Prasadsm31-Mar-09 1:38 
AnswerRe: Find Window Pin
Eddy Vluggen31-Mar-09 1:56
professionalEddy Vluggen31-Mar-09 1:56 
GeneralRe: Find Window Pin
Prasadsm31-Mar-09 2:01
Prasadsm31-Mar-09 2:01 
GeneralRe: Find Window Pin
Eddy Vluggen31-Mar-09 2:35
professionalEddy Vluggen31-Mar-09 2:35 
QuestionDelete Lines in Text File Pin
vijay248230-Mar-09 23:37
vijay248230-Mar-09 23:37 
AnswerRe: Delete Lines in Text File Pin
Prasadsm31-Mar-09 2:15
Prasadsm31-Mar-09 2:15 
AnswerRe: Delete Lines in Text File Pin
riced31-Mar-09 5:21
riced31-Mar-09 5:21 
Does this compile?
The line i = name.Substring(0, m) implies i is a string.
But in the sw.WriteLine(), name.Substring(0, i) implies i is an integer.

Are the lines in the text file indented by two spaces as in your example?
If so you could just drop lines that start with two spaces (assuming you don't trim them as you read them.)

Regards
David R

QuestionI created a superscript in a rich text box but neeed to convert the same to caret sign in a text box Pin
gautamrajsaxena30-Mar-09 22:18
gautamrajsaxena30-Mar-09 22:18 

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.