All Questions
7 questions
0
votes
1
answer
700
views
Figuring out an issue using CSVReader with VB.NET
I am starting out using CSVHelper to write and read CSV files with VB.NET. I have been able to get writing of CSV files working, but am having an issue with the reading in of the file I just wrote.
...
0
votes
1
answer
403
views
using csvhelper writer with shouldquote in vb.net
I can see how shouldquote works with c# but does anyone have an example in vb.net?
I need to wrap every field with chr(34)
2
votes
1
answer
1k
views
CsvHelper - .CurrentRecord / .Context.Record replacement in current version of CsvHelper
For the current CsvHelper version, how do you get the string() you used to be able to get with:
csv.CurrentRecord() -> older versions.
csv.Context.Record() -> more recent versions.
Able to ...
0
votes
1
answer
185
views
Windows service build includes DLL's not referenced
Using Visual Studio 2017 I have created a Windows service using VB.net. I have the root service class and a project installer class. The Service builds, installs, and runs as expected. With the ...
1
vote
0
answers
414
views
Adding New Column in an Existing CSV File using CsvHelper
I wanna add one new header in my existing file.
What I have tried is this:
Public Class ImportData
Public Sub New()
MyBase.New
End Sub
Public Shared Sub Start(fo As FileInfo)
...
2
votes
1
answer
2k
views
.net Create a list of objects where the object type is from a string
I need a way of creating a list of objects where the object is from a string
for example I want the below to be converted to a list of objects
Dim categoryList as IList(Of "classname") = new List(Of ...
3
votes
3
answers
5k
views
How to keep the leading zeros in CsvHelper CsvWriter?
I am using the CsvHelper library to read/write csv files from my .net code.
All functionality are working fine so far, yet I am stuck in how can I keep the leading zeros when writing to csv file ...