hi, im making a Human Resource system and i would like to know the codes and things needed to upload / display a photo. Can someone kindly upload a simple / small sample application with upload photo features? or complete codes for it? thank you.
Printable View
hi, im making a Human Resource system and i would like to know the codes and things needed to upload / display a photo. Can someone kindly upload a simple / small sample application with upload photo features? or complete codes for it? thank you.
Hey aerialz666,
When you say upload a photo; where do you want it to be uploaded to? Will it be uploaded to a remote server or actually uploaded and stored into the program itself?
Do you want to picture to be displayed within the program or via a web browser etc?!!?
Once thats cleared up, im sure people will have a better idea of how to help you.
Hi, sorry, its a windows application and will be uploaded into a database on another computer, thanks sir.
bump anyone?
When you say Database, what do you mean exactly?
As far as im aware, you can insert text into a database but im not sure about actual pictures?
You can upload a picture to an FTP server and then view it by calling it with the webbrowser tool or something?
Sorry, im just having trouble getting to grips with what you mean.
Maybe you could brief us on the project in full?
hi, its a Human Resource System windows application, basically in an employee profile, i want a feature where the user can upload the picture of the corresponding employee. thanks
What is the backend DB? There are example of saving an immage to DBs in these forums. Did you try a seach?
A quick search revaels:
http://www.vbforums.com/showthread.p...image+database
This should help mate:
http://www.vbforums.com/showthread.p...image+database
thanks for the links ! btw the backend DB is MS SQL 2005 Express, and im using VB 05.
can anyone explain it to me in a simple way or through a simple windows application sample? thank you
Personally, when I run a file uploading script, the image doesn't ever touch the database. Information is mangled to create a unique file name, then I save the image into a defined folder with that file name, and in the database there will be an Image field that simply holds the file name of the image. Tends to work pretty well.
hi sir, can you provide me a sample application of that? or a code? thank you
Unfortunately, it's a web application... if someone else with knowledge could tell me if the FileUpload object behavior is the same, I can post the code I use.
bump