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

Visual Basic

 
GeneralRe: Inserting a WAV into a VB.NET 2005 prog Pin
harveyhanson5-Mar-07 9:48
harveyhanson5-Mar-07 9:48 
GeneralRe: Inserting a WAV into a VB.NET 2005 prog Pin
nlarson115-Mar-07 9:58
nlarson115-Mar-07 9:58 
GeneralRe: Inserting a WAV into a VB.NET 2005 prog Pin
harveyhanson5-Mar-07 11:09
harveyhanson5-Mar-07 11:09 
GeneralRe: Inserting a WAV into a VB.NET 2005 prog Pin
nlarson116-Mar-07 3:36
nlarson116-Mar-07 3:36 
Questionflash file in vb.net Pin
bhawna_k5-Mar-07 6:33
bhawna_k5-Mar-07 6:33 
AnswerRe: flash file in vb.net Pin
AlexeiXX35-Mar-07 8:00
AlexeiXX35-Mar-07 8:00 
GeneralRe: flash file in vb.net Pin
bhawna_k5-Mar-07 22:38
bhawna_k5-Mar-07 22:38 
QuestionHandling embedded quotes in csv files Pin
Sarah Jane Snow5-Mar-07 6:15
Sarah Jane Snow5-Mar-07 6:15 
Hi, all.

I have a problem reading csv files with quotes embedded in a field, below is a sample of the data I'm trying to read, I have no control over the formatting of this file.

"A",32140,"Router Cutters & Accessories"
"A",32141,"Hinge Hole Cutters & End Mills"
"A",32148,"Step Drills"
"A",32149,"Subland Drills"
"A",32150,"Long Drills"
"A",32151,"Drill Blanks"
"A",32152,"Stub Drills"
"A",32153,"Extra Length Drills"
"A",32154,"Taper Pin Drills"
"A",32155,"Blacksmiths or 1/2" Shank Drills" 'this line is the problem
"A",32156,"Centre Drills"
"A",32157,"Socket Drills"
"A",32158,"Heavy Duty Drills"
"A",32159,"Micro Drills"
"A",32160,"MT Shank Drill"
"A",32161,"MT Shank Extra Length"
"A",32162,"MT Shank Heavy Duty"
"A",32163,"MT Shank Long Drill"
"A",32164,"1/4" Shank Drills" 'so is this one
"A",32165,"Spotting Drill"
"A",32166,"Short Carbide Tipped Drill"
"A",32167,"MT Shank Carbide Tipped Drill"

the code is:
Dim _TCode as string, _ItemCode as long, _Description as string
FileOpen(filenumber, _Path & File.FileName, OpenMode.Input)
While Not EOF(filenumber)
Input(FileNumber, _TCode)
Input(FileNumber, _ItemCode)
Input(FileNumber, _Description)
wend
=error "read past eof"Cry | :((

is there anybody who can help me to read these two lines without error.

Many thank in anticipation.

AnswerRe: Handling embedded quotes in csv files Pin
nlarson115-Mar-07 7:04
nlarson115-Mar-07 7:04 
GeneralRe: Handling embedded quotes in csv files Pin
Sarah Jane Snow5-Mar-07 21:07
Sarah Jane Snow5-Mar-07 21:07 
GeneralRe: Handling embedded quotes in csv files Pin
ChandraRam5-Mar-07 23:40
ChandraRam5-Mar-07 23:40 
QuestionHow to display CPU usage for a specific process? Pin
JUNEYT5-Mar-07 5:56
JUNEYT5-Mar-07 5:56 
AnswerRe: How to display CPU usage for a specific process? Pin
Duncan Edwards Jones5-Mar-07 6:16
professionalDuncan Edwards Jones5-Mar-07 6:16 
AnswerRe: How to display CPU usage for a specific process? Pin
Dave Kreskowiak5-Mar-07 8:54
mveDave Kreskowiak5-Mar-07 8:54 
Questionixporting the data from ms-access to excel in vb.net Pin
amaneet5-Mar-07 3:18
amaneet5-Mar-07 3:18 
QuestionHow to pass a textbox value to Crystal report in VB.Net Pin
Sagar Pattnayak5-Mar-07 3:11
Sagar Pattnayak5-Mar-07 3:11 
QuestionHow to access values of control created dynamically Pin
Deepak Tuteja5-Mar-07 3:01
Deepak Tuteja5-Mar-07 3:01 
AnswerRe: How to access values of control created dynamically Pin
nlarson115-Mar-07 9:41
nlarson115-Mar-07 9:41 
GeneralRe: How to access values of control created dynamically Pin
Deepak Tuteja5-Mar-07 20:08
Deepak Tuteja5-Mar-07 20:08 
QuestionCalling an Oracle stored procedure from VB Pin
nsurendran5-Mar-07 1:12
nsurendran5-Mar-07 1:12 
QuestionSalary Slip Pin
priya_p2335-Mar-07 1:04
priya_p2335-Mar-07 1:04 
AnswerRe: Salary Slip Pin
nsurendran5-Mar-07 1:29
nsurendran5-Mar-07 1:29 
Questionplz give me the answer Pin
HarishKumar20104-Mar-07 23:58
HarishKumar20104-Mar-07 23:58 
Answeranswer for ur Question Pin
prakash J9-Mar-07 2:19
prakash J9-Mar-07 2:19 
QuestionThis is the Third SOS. Pin
NANCO4-Mar-07 22:16
NANCO4-Mar-07 22:16 

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.