|
-
Apr 30th, 2002, 10:24 AM
#1
Thread Starter
Member
Converting Text into an image
Hello.
Need a bit of help. In SQL 2000 I have a text field within a table and I want to copy in into a new table, but as an Image. I know that an Explicit conversion isn't allowed but I was wondering if any of you know if it is possible to somehow change it.
Any input or suggestions would be great.
Thanks in advance.
-
Apr 30th, 2002, 01:51 PM
#2
You could write a program that takes the text, prints it to a picturebox. You could then save the picturebox as an image file and upload it to the database.
Hope this helps,
-
Apr 30th, 2002, 04:14 PM
#3
Hyperactive Member
if you use Negative0's suggest, which is good, you can use the .appendChunk and .getChunk menthods along with a BLOB field. for a good example on how to implement the process of adding and retireve binary data from a database, please read Beacon's nice tutorial on the subject which is located at the top of the database forum!
good luck
Regan
For excellent Winsock example check here WINSOCK
-
May 1st, 2002, 03:02 AM
#4
Thread Starter
Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|