Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 9th, 2004, 11:10 AM
jainvivek jainvivek is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 3 jainvivek User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Retrieving Ole Object

Hi,
I am developing an application in VB and using Access as the backend. I am storing images in the db as OleObject. I want to know how i can retrieve the image in the db, from the code, and what would be returned, whether an object is returned. Thank You

Reply With Quote
  #2  
Old January 9th, 2004, 11:25 AM
dsomers dsomers is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Winston-Salem, NC
Posts: 198 dsomers User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
I think you can use:

Temp = GetObject(MyObj, "OleObject")

Or something to that effect.

Later,
David Somers

Reply With Quote
  #3  
Old January 9th, 2004, 12:14 PM
jainvivek jainvivek is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 3 jainvivek User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Retrieving Ole Object

Thanks for the reply, you asked me to try this :
Temp = GetObject(MyObj, "OleObject")

i would like to know, what would the variable MyObj contain, would it be the resultset?

Reply With Quote
  #4  
Old January 9th, 2004, 03:55 PM
dsomers dsomers is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Winston-Salem, NC
Posts: 198 dsomers User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
It would be the image or path to the image.

Later,
David Somers

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Retrieving Ole Object


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway