Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to insert image into mysql table with vfp
Message
 
 
To
24/03/2010 08:00:56
Hee Lim Wang
Fantasy Software Enterprise
Malaysia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01455978
Message ID:
01456895
Views:
39
>CURSORSETPROP("MapBinary", .T., 0)
>SQLExec(lnHandle,"select bImage from TableImage","tmp")
>Thisform.Image1.PictureVal=tmp.bImage
>thisform.Refresh
>
>Why my image control in the form still does not show any image ?????

Do you know the original format of the picture file? If you try

strtofile(TableImage.bImage, 'c:\myPicture.jpg') and try to view the file, will it work?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform