Click here to Skip to main content
16,005,038 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: username and password [modified] Pin
Tom Deketelaere22-Jul-07 23:25
professionalTom Deketelaere22-Jul-07 23:25 
GeneralRe: username and password Pin
saraswathy14323-Jul-07 18:34
saraswathy14323-Jul-07 18:34 
QuestionProblem with VS 2003 Pin
Vimalsoft(Pty) Ltd22-Jul-07 22:34
professionalVimalsoft(Pty) Ltd22-Jul-07 22:34 
AnswerRe: Problem with VS 2003 Pin
originSH23-Jul-07 1:17
originSH23-Jul-07 1:17 
GeneralRe: Problem with VS 2003 Pin
Vimalsoft(Pty) Ltd23-Jul-07 2:11
professionalVimalsoft(Pty) Ltd23-Jul-07 2:11 
QuestionHow to write into the text file line by line without the space in between the line? Pin
sweehin1822-Jul-07 21:47
sweehin1822-Jul-07 21:47 
AnswerRe: How to write into the text file line by line without the space in between the line? Pin
Tom Deketelaere22-Jul-07 22:32
professionalTom Deketelaere22-Jul-07 22:32 
GeneralRe: How to write into the text file line by line without the space in between the line? Pin
sweehin1822-Jul-07 22:57
sweehin1822-Jul-07 22:57 
Here are the coding inside the class

    Dim delimiter As String<br />
            delimiter = "  "<br />
<br />
            Dim columnsplit() = Split(SplitTextLineContent, delimiter)<br />
<br />
<br />
            Dim j As Integer<br />
            Dim content As String<br />
            content = " "<br />
<br />
            For j = 0 To UBound(columnsplit)<br />
<br />
                Dim objConvertText As ConvertText 'obj means object<br />
                objConvertText = New ConvertText 'create new object from class<br />
<br />
                content += (columnsplit(j)) & " "<br />
<br />
                objConvertText.WritetoFile(content)<br />
<br />
            Next j


Here are the function:

Public Function WritetoFile(ByVal content As String)<br />
<br />
        Dim File_TO_CREATE As String = "c:\a.txt"<br />
<br />
        'declare to create the file<br />
        Dim oWrite As System.IO.StreamWriter<br />
        oWrite = System.IO.File.CreateText(File_TO_CREATE)<br />
<br />
        oWrite.WriteLine(content)<br />
<br />
        oWrite.Close()<br />
<br />
        WritetoFile = content<br />
<br />
    End Function

GeneralRe: How to write into the text file line by line without the space in between the line? Pin
Tom Deketelaere22-Jul-07 23:11
professionalTom Deketelaere22-Jul-07 23:11 
GeneralRe: How to write into the text file line by line without the space in between the line? Pin
Luc Pattyn23-Jul-07 2:46
sitebuilderLuc Pattyn23-Jul-07 2:46 
GeneralRe: How to write into the text file line by line without the space in between the line? Pin
sweehin1824-Jul-07 8:32
sweehin1824-Jul-07 8:32 
GeneralRe: How to write into the text file line by line without the space in between the line? Pin
Luc Pattyn24-Jul-07 11:45
sitebuilderLuc Pattyn24-Jul-07 11:45 
GeneralRe: How to write into the text file line by line without the space in between the line? Pin
sweehin1824-Jul-07 23:06
sweehin1824-Jul-07 23:06 
GeneralRe: How to write into the text file line by line without the space in between the line? Pin
Luc Pattyn24-Jul-07 23:33
sitebuilderLuc Pattyn24-Jul-07 23:33 
GeneralRe: How to write into the text file line by line without the space in between the line? Pin
sweehin1824-Jul-07 23:48
sweehin1824-Jul-07 23:48 
GeneralRe: How to write into the text file line by line without the space in between the line? Pin
Luc Pattyn24-Jul-07 23:59
sitebuilderLuc Pattyn24-Jul-07 23:59 
Questionerror at runtime Pin
Sonia Gupta22-Jul-07 21:19
Sonia Gupta22-Jul-07 21:19 
QuestionTransparencykey for runtime drawing Pin
Ahmad Zaidi22-Jul-07 20:56
Ahmad Zaidi22-Jul-07 20:56 
AnswerRe: Transparencykey for runtime drawing Pin
Tom Deketelaere22-Jul-07 22:36
professionalTom Deketelaere22-Jul-07 22:36 
GeneralRe: Transparencykey for runtime drawing Pin
Ahmad Zaidi23-Jul-07 0:56
Ahmad Zaidi23-Jul-07 0:56 
GeneralRe: Transparencykey for runtime drawing Pin
Tom Deketelaere23-Jul-07 1:29
professionalTom Deketelaere23-Jul-07 1:29 
AnswerRe: Display text doc Pin
Sathesh Sakthivel22-Jul-07 20:14
Sathesh Sakthivel22-Jul-07 20:14 
GeneralRe: Display text doc Pin
ASPnoob22-Jul-07 20:16
ASPnoob22-Jul-07 20:16 
GeneralRe: Display text doc Pin
Paul Conrad22-Jul-07 20:18
professionalPaul Conrad22-Jul-07 20:18 
Questiontwo dimensional array in vb.net Pin
Sonia Gupta22-Jul-07 19:18
Sonia Gupta22-Jul-07 19: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.