Link to home
Start Free TrialLog in
Avatar of Larry Brister
Larry BristerFlag for United States of America

asked on

.Net CsvWriter

In my code below... the file is created with double quotes in text fields.
How do I suppress that?

If CBool(createCSVFile) Then
    Dim writer As New CsvWriter(Path & "\Exports\" & Trim(Left(FileName, 50)) & ".csv", ",", Encoding.Default)
    writer.WriteAll(dt, True)
    writer.Close()
End If

Open in new window

Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

I really doubt that CsvWriter is a pure .Net object. Where did you get it from?
Avatar of Larry Brister

ASKER

Hey Eric...

DataStreams.dll

Imports DataStream.csv
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Perfect. Thanks