Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying a bitmap - shows icon not the image
Message
De
11/03/1998 21:39:58
 
 
À
09/03/1998 17:26:47
Brad Stickley
Parker Pneumatic Div. North America
Wake Forest, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00083461
Message ID:
00084069
Vues:
23
>>>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
Fil
Voir

Click here to load this message in the networking platform