|
-
Nov 2nd, 2000, 08:23 AM
#1
Thread Starter
New Member
It is very easy to put a picture for an Image from a file, but I do not know how to put it from an OLE value of Database record? such as:
Image1.Picture = LoadPicture("C:\MyDocuments\MyPict.bmp")
it runs ok, but:
Image1.Picture = LoadPicture(recordset1.Field("Picture"))
problem emerges.
-
Nov 4th, 2000, 07:23 AM
#2
Thread Starter
New Member
Help!!!
I have put a picture in a Field "fldPicture" of Table "Mytable" (database: "MyData").
Now, I want to set the picture to an Image, so, how can I do it by code?
If we set a picture to an Image from a file, we can do:
Image.Picture=LoadPicture("C:\windows\MyPicture.bmp")
Any reply will be highly appreciated!
------------------------------
VB6.0 ACCESS2000 JET 4.0
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
|