Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URGENT - *display* linked picture in OLE control from db

Status
Not open for further replies.

wekkew

Programmer
Sep 28, 1998
123
GB
hi

using VB5 and access97

I have an ole object field in the database containing linked *.gif. In the Insert Object dialog I have ticked "linked" but not "display as icon". The file is listed as "Package" in table.

Ok - vb front end, data control, ole control bound to db ole object field. When I view the form the ole control contains an icon with filename underneath - if I double click then picture opens in photoeditor.

HELP - how do I get the picture to display *in* the ole control. Tried setting actions etc - do I need to set the class property? Slowly going up wall....

For reasons to long to go into here I need to stick with linked gifs and bound controls (no loadpicture statements please). Would move to picturebox/image control - just want to be able to display the picture.

ta
Kate

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top