I've been attempting to run the example code from the address listed below. However, when the program reaches the line -
BlobToFile rs!Photo, "c:\photo1.dat", rs!Photo.ActualSize, 16384
- it displays an error telling me that
WriteFromBinary is not an optional argument.
If anyone is...
On a visual basic form, I have a text box in which the user can enter a file path name. I want to store that file path in a access db table. That part I know. However, if the path is for a bitmap or something else that can be stored as an OLE object, I want to store it in another table as an OLE...
If I have a string type variable that is a file path name,
such as,
Dim strFile As String
strFile = "C:\image.bmp"
is there any way to convert that string to an OLE oject using VB code. If so, I would appreciate some help.
I have an interesting problem. In an accessdb table I have a field containing file paths. In a crystal report, I would like to create a formula field that takes the contents of the file paths db field, checks if any of the entries have a .bmp extension, and if so, uses the path to display the...
I have an interesting problem. In an accessdb table I have a field containing file paths. In a crystal report, I would like to create a formula field that takes the contents of the file paths db field, checks if any of the entries have a .bmp extension, and if so, uses the path to display the...
I have no trouble placing a bmp in a report, however I can't seem to get jpegs or gifs to do the same. In an ms access database field, when I insert a bmp, the field reads "Bitmap Image", when I insert a jpeg or a gif, the field reads "Package". The package objects won't show...
Thanks for the tip!
I had no trouble placing a bmp in a report, however I couldn't seem to get jpegs or gifs to do the same. In the database field, when I insert a bmp, the field reads "Bitmap Image", when I insert a jpeg or a gif, the field reads "Package". The package...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.