Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB Databases
|
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 20th, 2005, 02:15 AM
Registered User
 
Join Date: Jan 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to upload data in multiple files at once?

I need to upload multiple files at once by VB 6.0

I have created a Common Dialog to browse files and saved the files' names and pathes in TextBoxes respectively.

Next, I need to upload the data in these files to a SQL Server by clicking a CommandButton. How do I program this part? thanks.


 
Old January 28th, 2005, 11:14 PM
Authorized User
 
Join Date: Jul 2004
Posts: 34
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to chipset Send a message via MSN to chipset Send a message via Yahoo to chipset
Default

 
Quote:
quote:I have created a Common Dialog to browse files and saved the
Quote:
 files' names and pathes in TextBoxes respectively.

Next, I need to upload the data in these files to a SQL Server by
 clicking a CommandButton. How do I program this part? thanks.
you mean for example you want to get a file, say a textfile (file.txt), the whole of its contents into a database? if thats what
you mean, open the file, and save all the content of the file into
a string ot a varient, and then pass the variable to your data base
:)



Arowolo
 
Old June 27th, 2007, 05:25 AM
Registered User
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hey can u paste the code here .. means for common dialog to browse the file and where can i get this component option in control.I am very new to this.plz tell me

Thanks & regards
Ajay Kumar Singh





Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload Multiple Files Anypond .NET Framework 2.0 1 February 21st, 2008 05:07 AM
upload multiple files in db with persits aspjpeg dann2 Classic ASP Basics 0 May 10th, 2007 11:20 PM
Importing Multiple files in Multiple tables Versi Suomi Access 6 June 1st, 2005 08:47 AM
UPLOAD - MULTIPLE - FILES cli PHP How-To 5 May 29th, 2005 04:59 PM
How to upload multiple Files at once hwsc VB How-To 1 January 23rd, 2005 12:45 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.