|
-
Feb 20th, 2001, 12:00 AM
#1
In SQL Server, Northwind database, Categories table has a column "Picture", that column type is image. I think that all picture is update into data by binary type.
But I don't know how to display that data into a real picture in VB form, And I also can't update a picture into database when I choose a picture from my application.
Hope to hear from you soon.
-
Feb 20th, 2001, 07:45 AM
#2
Fanatic Member
-
Feb 20th, 2001, 07:48 AM
#3
Fanatic Member
-
Feb 20th, 2001, 07:59 AM
#4
Fanatic Member
-
Feb 21st, 2001, 02:01 AM
#5
If you don't mind, please send me your code.
Thanks.
-
Feb 21st, 2001, 03:45 AM
#6
Put a pictureox on your form and link it to your database and field picture...
It will display the picture when it's bound to the control...
Gerco.
-
Feb 21st, 2001, 03:51 AM
#7
Fanatic Member
-
Feb 21st, 2001, 09:57 PM
#8
I agree with Faisalkm. The Gerco's idea doesn't work with SQL Server. The message error is can not bound picture to database.
-
Feb 22nd, 2001, 01:39 AM
#9
It won't work with SQL server, you're right about that... didn't know at first..
It works fine with access... :-(
Perhaps export the binairy data to an array or a file and cast it to a StdPicture or something?
Gerco.
-
Feb 22nd, 2001, 02:57 AM
#10
Fanatic Member
-
Feb 22nd, 2001, 04:18 AM
#11
Hey Gerco, do you know how to cast it to a StdPicture. For instance, .gif file
-
Feb 22nd, 2001, 04:24 AM
#12
Fanatic 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
|