Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 3 of 3 total |
Blob field question |
Fri, Mar 31 2006 12:17 PM | Permanent Link |
"Stanimir Petkov" | Sorry for the dummy question,
Any tips for the following. -Storing a file into a blob field -Open file and edit woth the corresponding application -Store back to blob What is better to use, temporary files or some OLE technics. Cheers Stanimir |
Fri, Mar 31 2006 3:41 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Stanimir,
<< -Storing a file into a blob field >> To load from file: TBlobField(MyTable.FieldByName('MyBlobField')).LoadFromFile('c:\temp\mypicture.jpg'); To save as file: TBlobField(MyTable.FieldByName('MyBlobField')).SaveToFile('c:\temp\mypicture.jpg'); << -Open file and edit woth the corresponding application >> You would need to use some basic OLE commands to do this. See the Servers tab under Delphi for more information on the OLE server component wrappers in Delphi for MS Office. << What is better to use, temporary files or some OLE technics. >> It depends upon the application and whether it surfaces the ability to load streams into the application via its OLE server interface. -- Tim Young Elevate Software www.elevatesoft.com |
Sat, Apr 1 2006 4:20 AM | Permanent Link |
"Stanimir Petkov" | Tim,
Thanks alot. |
This web page was last updated on Tuesday, April 23, 2024 at 08:10 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |