Results 1 to 13 of 13

Thread: [2005] Uploading and displaying photo.

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    258

    [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.

  2. #2
    Member
    Join Date
    Jun 2007
    Location
    England
    Posts
    61

    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.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    258

    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.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    258

    Re: [2005] Uploading and displaying photo.

    bump anyone?

  5. #5
    Member
    Join Date
    Jun 2007
    Location
    England
    Posts
    61

    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?

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    258

    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

  7. #7
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    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

  8. #8
    Member
    Join Date
    Jun 2007
    Location
    England
    Posts
    61

    Re: [2005] Uploading and displaying photo.


  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    258

    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.

  10. #10
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    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.

  11. #11

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    258

    Re: [2005] Uploading and displaying photo.

    hi sir, can you provide me a sample application of that? or a code? thank you

  12. #12
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    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.

  13. #13

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    258

    Re: [2005] Uploading and displaying photo.

    bump

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width