Click here to Skip to main content
15,897,187 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: csv => txt file Pin
David Mujica23-Oct-12 8:10
David Mujica23-Oct-12 8:10 
GeneralRe: csv => txt file Pin
dubscat23-Oct-12 8:12
dubscat23-Oct-12 8:12 
GeneralRe: csv => txt file Pin
dubscat23-Oct-12 8:14
dubscat23-Oct-12 8:14 
GeneralRe: csv => txt file Pin
dubscat25-Oct-12 8:55
dubscat25-Oct-12 8:55 
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 
thanks again, ChandraRam -
did try to work with the LF specification, and that is how the csv is delimited, however still getting the "input past end of file" error. my "second" code attempt, posted earlier:
...
BCMcsv = Dir$(BCMdrive & BCMtext)
 
    Dim f1 As Long
    Dim f2 As Long
    Dim strLine As String
 
    f1 = FreeFile
    Open BCMdrive & BCMcsv For Input As #f1
    f2 = FreeFile
    Open BCMdrive & "tempBCM.txt" For Output As #f2
    Line Input #f1, strLine 'ignore first line
    
Do While Not EOF(1)
        Line Input #f1, strLine
        Print #f2, strLine
Loop
    Close #f1
    Close #f2
...


does actually seem to work down to the "Line Input #f1, strLine" line, but it is reading the entire csv file at this point; doesnt seem to be parsing it line by line... ??
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 
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 

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.