Importing dat file

Earl Hickey

New member
Joined
Aug 10, 2006
Messages
2
Programming Experience
Beginner
[FONT=Verdana, Arial, Helvetica][FONT=Verdana, Arial, Helvetica] I am very new to VB 2005, and I have no idea how to proceed with this project. My task is to create a Windows Service that will import an orders.dat file that contains the following headers "FIRSTNAME", "LASTNAME", "ABANUMBER", "ACCOUNTNUMBER", "CITY", "STATE", "ZIP".

My goal is to create this service to import this file daily (Fri, Sat, & Sun would all need to be done on Monday as well), parse the data, and print a report with the same information in a different format.

Where do I start? Help me please!!!
[/FONT][/FONT]
 
Try the new "insert snippet" feature in VB2005, use context menu in code view inside a method and browse to 'processing files', select 'read a delimited file' and the code snippet is automatically inserted. 'Insert Snippet' is also available from main menu Edit > Intellisense > Insert. See screenshots attached.
is-contextmenu.jpg

is-browse.jpg

is-code.jpg
 
Thanks for the start -- it's exactly what I was looking for.

Like I said, I'm extremely new to this. Now my problem is, how do I re-format the data for printing?
 
Back
Top