Information générale
Catégorie:
Codage, syntaxe et commandes
>>>In my application I allow my users the ability to save BMP images in to a general field on the database. For whatever reason on one of the 3 machines that use the system. The images appear as an icon only. I figured that the bmp association wasn't set properly so I went into
>>>explorer and changed the application from some Logitech app to "pbrush" which is what it is set to on my system where it works with no luck.
>>>
>>>All machines are Win95/VFP 5.0
>>>
>>>Any insight anybody?
>>>
>>>Thanks in advance.
>>>
>>>Todd Collins
>>>toddc@djttd.com
>>
>>How are they "saving" the images?
>
>Todd, I'm having the same problem with one of my apps. If you get an answer for this I would be very interested. I too redefined the association and it wouldn't work. I am using the 5.0a version and reinstalled it to see if it would fix it, and it didn't.
>
>Thanks, Brad
>bstickley@ipass.net
Brad;
As it turns out the .bmp registry key was set to something like "PSImage.BMP"
I think now that whatever the logitech app was it was not an OLE server so
the item in VFPs scheme of things was a "package" right clicking on it popped up "Activate Package" and "Edit Package" as opposed to "Edit" or "Open" paint.
David suggestion to look at the .bmp and Paint.Picture keys turned out to be the key after changing the association to "Paint.Picture" all worked well. I had changed it to PBrush which my guess is probably isn't an OLEServer.
FYI. The embedded objects stayed as such after fixing the registry keys. I had to replace the item to get it to sync.
Thanks to David and George for your insight and advice.
Todd Collins
TODDnology
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement