how to save file doc, xls, into database sql server 2000 in VB6

5 pts.
Tags:
Microsoft Office
Microsoft SQL Server 2000
Visual Basic
Visual Basic 6
how to save file doc, xls, into database sql server 2000 in VB6 with rdoconnection?

Answer Wiki

Thanks. We'll let you know when a new response is added.

You’ll want to open up a binary stream and read that binary stream into a variable. Then take that variable and write the value into the table or stored procedure.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Vatchy
    It would be more efficient to save the document somewhere on the system and just use the SQL Server entry to point to the document, rather than having the entire document in the database.
    1,410 pointsBadges:
    report
  • carlosdl
    It could (be more efficient), but you have to take into consideration that the documents won't be automatically included in database backups and that access to those documents could need to be secured through OS permissions additionally, among other things.
    69,475 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following