www.itbusinessedge.com

Login Register

www.itbusinessedge.com

 

www.developer.com

Login Register

www.developer.com

 

www.developer.com

Login Register

www.developer.com

 

www.itbusinessedge.com

Login Register

www.itbusinessedge.com

 
Login | Register
Find Code
 

Close

 
  • Submit Code
  • ASP, HTML and XML
  • Database
  • Dates and Math
  • Files and Directories
  • Forms and Controls
  • Lists, Collections and Arrays
  • Miscellaneous
  • Multimedia / Games
  • Network / Internet
  • Office/VBA
  • Registry
  • Screen / Graphics
  • String Manipulation
  • System API
  • VB.NET / ASP.NET
  • Windows 2000/XP
 

Import a Delimited Text File into a Database

Category:
Database
Type:
Snippets
Difficulty:
Intermediate

Author: Intelligent Solutions Inc.

Version Compatibility: Visual Basic 6

More information:
This example imports a text file into a database table using ADO. Because it uses ADO, it should work with all data sources, though it has only been tested with Access. Usage is explained in the code's comments.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code:
Sponsored Links:

Terms of Service | Licensing & Permissions | Privacy Policy
About the Developer.com Network | Advertise
Terms of Service | Licensing & Permissions | Privacy Policy
About the IT Business Edge Network | Advertise
Acceptable Use Policy
Terms of Service | Licensing & Permissions | Privacy Policy
About the Developer.com Network | Advertise
Acceptable Use Policy
Terms of Service | Licensing & Permissions | Privacy Policy
About the IT Business Edge Network | Advertise