Click here to Skip to main content
15,887,267 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Anyone have a program where I can enter a username and have it provide info from Active Directory? Pin
Simon_Whale15-Feb-13 14:17
Simon_Whale15-Feb-13 14:17 
Questionmathematical expression with custom user input operand separately Pin
arave052114-Feb-13 6:12
arave052114-Feb-13 6:12 
AnswerRe: mathematical expression with custom user input operand separately Pin
Jibesh15-Feb-13 7:57
professionalJibesh15-Feb-13 7:57 
AnswerRe: mathematical expression with custom user input operand separately Pin
Eddy Vluggen15-Feb-13 10:17
professionalEddy Vluggen15-Feb-13 10:17 
QuestionZoom in / Zoom Out functions Pin
syllar12-Feb-13 21:55
syllar12-Feb-13 21:55 
AnswerRe: Zoom in / Zoom Out functions Pin
Dave Kreskowiak13-Feb-13 2:07
mveDave Kreskowiak13-Feb-13 2:07 
AnswerRe: Zoom in / Zoom Out functions Pin
Simon_Whale13-Feb-13 2:23
Simon_Whale13-Feb-13 2:23 
QuestionEditing columns in a CSV File Pin
Mike Prophete12-Feb-13 11:29
Mike Prophete12-Feb-13 11:29 
Hello Commmunity,

I am very new to VB and would like some help with a small project. I am trying to modify a column in a csv file and save my changes to a new csv file. Here is a sample of my file:

firstname, lastname, phone, email
john, smith, 1111111111, jsmith@someone.com
brad, green, 2222222222, bgreen@someone.com

I would like to search for value 'phone' in the column and replace it with 'cell phone' or change any existing column name with a new value.

firstname, lastname, cell phone, email
john, smith, 1111111111, jsmith@someone.com
brad, green, 2222222222, bgreen@someone.com

I found a few examples to import the csv into a datatable but I have not found a solution that would allow for an empty value from the orginal csv file into VB datatable. Here is an example:

Import File:
firstname, lastname, phone, email
john, smith, 1111111111, jsmith@someone.com
brad, green, 2222222222, bgreen@someone.com
sam, brown, 3333333333, ,
mike, black, , mblack@somesone.com

Export File should be this:
firstname, lastname, cell phone, email
john, smith, 1111111111, jsmith@someone.com
brad, green, 2222222222, bgreen@someone.com
sam, brown, 3333333333, ,
mike, black, , mblack@somesone.com

Thank you,

Mike
AnswerRe: Editing columns in a CSV File Pin
Eddy Vluggen13-Feb-13 9:13
professionalEddy Vluggen13-Feb-13 9:13 
AnswerRe: Editing columns in a CSV File Pin
Michael Haephrati20-Feb-13 3:57
professionalMichael Haephrati20-Feb-13 3:57 
QuestionHelp required in grid conditon Pin
siddisagar12-Feb-13 4:09
siddisagar12-Feb-13 4:09 
Questionant colony algorithm Pin
showdowngh12-Feb-13 3:20
showdowngh12-Feb-13 3:20 
AnswerRe: ant colony algorithm Pin
Simon_Whale12-Feb-13 3:57
Simon_Whale12-Feb-13 3:57 
AnswerRe: ant colony algorithm Pin
Dave Kreskowiak12-Feb-13 11:47
mveDave Kreskowiak12-Feb-13 11:47 
QuestionHow to add Listview subitem with For Loop Pin
kurja-kurdoh9-Feb-13 17:58
kurja-kurdoh9-Feb-13 17:58 
AnswerRe: How to add Listview subitem with For Loop Pin
Richard MacCutchan9-Feb-13 21:44
mveRichard MacCutchan9-Feb-13 21:44 
GeneralRe: How to add Listview subitem with For Loop Pin
kurja-kurdoh19-Feb-13 6:38
kurja-kurdoh19-Feb-13 6:38 
GeneralRe: How to add Listview subitem with For Loop Pin
Richard MacCutchan19-Feb-13 6:59
mveRichard MacCutchan19-Feb-13 6:59 
GeneralRe: How to add Listview subitem with For Loop Pin
kurja-kurdoh19-Feb-13 18:02
kurja-kurdoh19-Feb-13 18:02 
GeneralRe: How to add Listview subitem with For Loop Pin
Richard MacCutchan19-Feb-13 21:50
mveRichard MacCutchan19-Feb-13 21:50 
Questionvb6 code for grow island or grow valley game Pin
Shiela Alvarez7-Feb-13 14:25
Shiela Alvarez7-Feb-13 14:25 
AnswerRe: vb6 code for grow island or grow valley game Pin
Dave Kreskowiak7-Feb-13 18:48
mveDave Kreskowiak7-Feb-13 18:48 
GeneralRe: vb6 code for grow island or grow valley game Pin
Shiela Alvarez23-Feb-13 4:34
Shiela Alvarez23-Feb-13 4:34 
GeneralRe: vb6 code for grow island or grow valley game Pin
Dave Kreskowiak23-Feb-13 5:16
mveDave Kreskowiak23-Feb-13 5:16 
QuestionThis File has been modified outside the source editor. Pin
QuickBooksDev5-Feb-13 3:53
QuickBooksDev5-Feb-13 3:53 

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.