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

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Nov 2007
Posts: 58
Reputation: guest11 is an unknown quantity at this point 
Solved Threads: 2
guest11 guest11 is offline Offline
Junior Poster in Training

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

 
0
  #1
Dec 25th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

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

 
0
  #2
Dec 27th, 2008
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC