Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Loading images from SQL 2000 to VB6

Loading images from SQL 2000 to VB6

Scheduled Pinned Locked Moved Visual Basic
databasecomhelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vbrookie_tx
    wrote on last edited by
    #1

    I need help in displaying personnel photos stored in a SQL 2000 table either in a field with datatype image or a field with datatype nvarchar which has the path to the photo. Which is better to use? I have a vb6 project with a Picture box, but when I set the DataField property to the field name, the photo does not display. I have a DataGrid that lists each personnel name, so I want to be able to select a record and the person's picture displays in the Picture box. The DataGrid's DataSource property is set to an ADODC data control. I can do this easily with the table being in Access using the OLE control and setting the DataField property to the field name in the Access table. But the user wants to move the tables to SQL 2000 and wants to update the VB6 project to use ADODC data controls instead of the intrinsic data control. Any help would be greatly appreciated. And I thought this would be an easy task. :confused:

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups