Delphi Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreDelphi Programming

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 Dev Shed Forums Sponsor:
  #1  
Old May 13th, 2004, 10:39 AM
Enchantress's Avatar
Enchantress Enchantress is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Novi Sad, Serbia & Montenegro
Posts: 3 Enchantress User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Enchantress
Paradox BLOB Graphic type

Hi!

How can I add a picture (TBitmap, for example) to a field whose type is Blob Graphic?

thank you

Reply With Quote
  #2  
Old May 13th, 2004, 11:34 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Click here for more information.
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,713 Scorpions4ever User rank is General 3rd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 3rd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 3rd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 3rd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 3rd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 3rd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 3rd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 3rd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 3rd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 3rd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 3rd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 3rd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 3rd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 3rd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 3rd Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 3rd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 3 Days 11 h 21 m 11 sec
Reputation Power: 1179
TBlobField has LoadFromFile and LoadFromStream methods. If you already have the TBitmap loaded and ready, then you can use the Assign method:
BlobField.Assign(Bitmap);
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne

Puzzle of the Month solved by Keath and KevinADC, superior perl programmers of the month

Reply With Quote
  #3  
Old May 14th, 2004, 08:04 AM
Enchantress's Avatar
Enchantress Enchantress is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Novi Sad, Serbia & Montenegro
Posts: 3 Enchantress User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Enchantress
Thank you!

Reply With Quote
  #4  
Old December 4th, 2004, 02:33 PM
pupiboy_22 pupiboy_22 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 1 pupiboy_22 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
help me too...

how can i insert picture to blob field (graphic field) of paradox?
And how can i get blob field (graphic field) of paradox to show (dbimages or image component)?
Do you have for example? I'm beginner...
Please...
Thanks!!!

Reply With Quote
  #5  
Old December 14th, 2004, 09:52 AM
Enchantress's Avatar
Enchantress Enchantress is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Novi Sad, Serbia & Montenegro
Posts: 3 Enchantress User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Enchantress
Quote:
Originally Posted by pupiboy_22
how can i insert picture to blob field (graphic field) of paradox?
And how can i get blob field (graphic field) of paradox to show (dbimages or image component)?
Do you have for example? I'm beginner...
Please...
Thanks!!!


You can insert picture of type TPicture with something like :
DataSource1.DataSet.FieldByName('DreamPicture').Assign(image2.Picture);

and to show it put DBImage on the form and set values for DataSource and DataField.

Cute nick! *kiss*

Reply With Quote
  #6  
Old January 4th, 2005, 06:13 PM
ArnMan ArnMan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 29 ArnMan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 11 m 52 sec
Reputation Power: 0
Enchantress,
Hello, I have a question to ask you on the blob insertion.
I was wondering if you could provide a small project that would allow me to add a graphic to a form, then insert it into a database.
Just something simple, that I can dig in and see how it is done. I have tried to use your solution
DataSource1.DataSet.FieldByName('DreamPicture').Assign(image2.Picture);
but I havent been able to get it to work.
Thank you

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreDelphi Programming > Paradox BLOB Graphic type


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 3 hosted by Hostway
Stay green...Green IT