Click here to Skip to main content
15,891,529 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: csv => txt file Pin
David Mujica26-Oct-12 3:14
David Mujica26-Oct-12 3:14 
AnswerRe: csv => txt file Pin
ChandraRam24-Oct-12 0:32
ChandraRam24-Oct-12 0:32 
GeneralRe: csv => txt file Pin
dubscat24-Oct-12 5:38
dubscat24-Oct-12 5:38 
GeneralRe: csv => txt file Pin
dubscat25-Oct-12 5:55
dubscat25-Oct-12 5:55 
GeneralRe: csv => txt file Pin
ChandraRam25-Oct-12 6:35
ChandraRam25-Oct-12 6:35 
GeneralRe: csv => txt file Pin
dubscat25-Oct-12 7:22
dubscat25-Oct-12 7:22 
GeneralRe: csv => txt file Pin
ChandraRam25-Oct-12 7:25
ChandraRam25-Oct-12 7:25 
GeneralRe: csv => txt file Pin
dubscat25-Oct-12 7:39
dubscat25-Oct-12 7:39 
yes, did, but was still getting the "input past end of file" error. here's the code again:
....
BCMcsv = Dir$(BCMdrive & BCMtext)
 
Set objFSO = CreateObject("scripting.filesystemobject")
Set objCSV = objFSO.CreateTextFile(BCMdrive & BCMcsv, True, False)
Set objTXT = objFSO.OpenTextFile(BCMdrive & BCMcsv, 1)
 
sLines = Split(objTXT.ReadAll, vbLf)
objTXT.Close
 
iNumberOfLines = UBound(sLines)
 
If iNumberOfLines > 1 Then
    Set objTXT = objFSO.OpenTextFile(objCSV, 2) 'For Writing
    For i = 1 To iNumberOfLines
        objTXT.WriteLine sLines(i)
    Next
        objTXT.Close
End If
 
...Set objects = nothing ...

GeneralRe: csv => txt file Pin
ChandraRam25-Oct-12 7:44
ChandraRam25-Oct-12 7:44 
GeneralRe: csv => txt file Pin
dubscat25-Oct-12 8:53
dubscat25-Oct-12 8:53 
GeneralRe: csv => txt file Pin
ChandraRam26-Oct-12 3:04
ChandraRam26-Oct-12 3:04 
GeneralRe: csv => txt file Pin
dubscat26-Oct-12 3:25
dubscat26-Oct-12 3:25 
QuestionECDiffieHellmanCng & CngKey Usage Pin
Dominick Marciano21-Oct-12 15:54
professionalDominick Marciano21-Oct-12 15:54 
Questiondeployment Pin
Dirquez21-Oct-12 9:21
Dirquez21-Oct-12 9:21 
AnswerRe: deployment Pin
Richard MacCutchan21-Oct-12 22:03
mveRichard MacCutchan21-Oct-12 22:03 
AnswerRe: deployment Pin
Dave Kreskowiak22-Oct-12 2:13
mveDave Kreskowiak22-Oct-12 2:13 
Questionbackround picture in windows aero theme Pin
Syafrie00719-Oct-12 18:59
Syafrie00719-Oct-12 18:59 
Questiondo loop hang and not resopnding while running langtime.how rectify this Pin
leostalin9117-Oct-12 23:18
leostalin9117-Oct-12 23:18 
AnswerRe: do loop hang and not resopnding while running langtime.how rectify this Pin
Eddy Vluggen17-Oct-12 23:31
professionalEddy Vluggen17-Oct-12 23:31 
AnswerRe: do loop hang and not resopnding while running langtime.how rectify this Pin
Syafrie00719-Oct-12 19:03
Syafrie00719-Oct-12 19:03 
AnswerRe: do loop hang and not resopnding while running langtime.how rectify this Pin
Syafrie00719-Oct-12 19:03
Syafrie00719-Oct-12 19:03 
GeneralRe: do loop hang and not resopnding while running langtime.how rectify this Pin
Dave Kreskowiak20-Oct-12 3:58
mveDave Kreskowiak20-Oct-12 3:58 
GeneralRe: do loop hang and not resopnding while running langtime.how rectify this Pin
josephSurgeon31-Oct-12 4:22
josephSurgeon31-Oct-12 4:22 
Question[SOLVED] Getting System.StackOverflowException Pin
AmbiguousName15-Oct-12 19:38
AmbiguousName15-Oct-12 19:38 
AnswerRe: [SOLVED] Getting System.StackOverflowException Pin
Jay Royall19-Oct-12 1:10
Jay Royall19-Oct-12 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.