943,806 Members | Top Members by Rank

Ad:
Dec 25th, 2008
0

Want to attach file in vb application.......

Expand Post »
hi all,

I am making an insurance policy application in which i want give the facility of attaching file to user.
Actually i want to give facility that suppose customer give the required papers like license copy or marksheet then user make scan of that files and attach that files to the users record.

so i make table for that attachment the fields contains are cust_id, attach_file_name and size_attach_file.

So can anybody help me and tell or give me some code for doing this.

thanks in advance

Regards
Guest11
Reputation Points: 10
Solved Threads: 2
Junior Poster in Training
guest11 is offline Offline
59 posts
since Nov 2007
Dec 27th, 2008
0

Re: Want to attach file in vb application.......

The best solution to this, from what I can tell, is to have one of those fields (ie: attach_file_name) point to a given file in a designated directory. While it is theoretically possible, saving the bits of the image into the database itself is an awful idea. This ties yours hands in the future when you need to make corrections to the data (ie: renewed drivers license).

Let me know if I'm way off track here, or if this seems like something you are looking for.

Coma
Team Colleague
Reputation Points: 361
Solved Threads: 214
Taboo Programmer
Comatose is offline Offline
2,413 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: urgent need : help me with project
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Saving Mshflexgrid data with insert statment





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC