|
-
Jun 21st, 2007, 05:06 AM
#1
Thread Starter
Hyperactive Member
[2005] Uploading and displaying photo.
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.
-
Jun 21st, 2007, 05:13 AM
#2
Member
Re: [2005] Uploading and displaying photo.
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.
-
Jun 21st, 2007, 08:01 AM
#3
Thread Starter
Hyperactive Member
Re: [2005] Uploading and displaying photo.
Hi, sorry, its a windows application and will be uploaded into a database on another computer, thanks sir.
Last edited by aerialz666; Jun 21st, 2007 at 08:23 AM.
-
Jun 21st, 2007, 09:36 AM
#4
Thread Starter
Hyperactive Member
Re: [2005] Uploading and displaying photo.
-
Jun 21st, 2007, 09:41 AM
#5
Member
Re: [2005] Uploading and displaying photo.
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?
-
Jun 21st, 2007, 09:45 AM
#6
Thread Starter
Hyperactive Member
Re: [2005] Uploading and displaying photo.
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
-
Jun 21st, 2007, 09:56 AM
#7
Re: [2005] Uploading and displaying photo.
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
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Jun 21st, 2007, 10:00 AM
#8
Member
Re: [2005] Uploading and displaying photo.
-
Jun 21st, 2007, 11:08 AM
#9
Thread Starter
Hyperactive Member
Re: [2005] Uploading and displaying photo.
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
Last edited by aerialz666; Jun 21st, 2007 at 11:17 AM.
-
Jun 21st, 2007, 12:01 PM
#10
Re: [2005] Uploading and displaying photo.
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.
-
Jun 21st, 2007, 12:02 PM
#11
Thread Starter
Hyperactive Member
Re: [2005] Uploading and displaying photo.
hi sir, can you provide me a sample application of that? or a code? thank you
-
Jun 21st, 2007, 12:20 PM
#12
Re: [2005] Uploading and displaying photo.
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.
-
Jun 22nd, 2007, 03:48 AM
#13
Thread Starter
Hyperactive Member
Re: [2005] Uploading and displaying photo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|