Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Store image file via ADO with DCOM
Message
From
06/03/2001 09:13:42
 
 
To
05/03/2001 21:17:33
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00478246
Message ID:
00482192
Views:
17
Hi!

Don't use just Value property of the ADO field that corresponds to the image field on SQL Server. there are methods of that field type that allows you to work with its content. They're called like 'GetChunk' and 'AppendChunk', but I may be wrong about these names.

HTH.

>Dear Vlad,
>
>Thank you for your advice and suggestion. I tried your solution. That is great!! I can get the picture or other OLE object when I using 2 tier with pure VFP command. According your reply to use ADO on COM server and assign the value of ADO record into String variable. An error message showed "Array demension are invalid." when the OLE object is larger. I can't assign the ADO value into String. I also try to create a empty table to store the ADO into a MEMO field, the error message also prompted. Did you face this error and have any solutions? Thank you very much ....
>
>Best Regards,
>
>Justy Chow
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform