Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Importing png in general field
Message
From
17/11/2016 08:39:59
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01643560
Message ID:
01643605
Views:
41
>>>>>I have a problem when i import a png file in a general field.....It is not recognized and when i try to print it i can see only the file name...
>>>>
>>>>How you put png file to general field?
>>>>With command or with GUI? How OLE class/application did you select?
>>>>
>>>>MartinaJ
>>>
>>>With Append General command
>>
>>If you use a general field, this field gets associated with a specific program. If this program isn't installed on a machine, the field won't show as expected, which is what you see. That's one of many reasons why general fields should NOT be used. It sounded like a good idea when they were introduced, but experience has shown that they are a real pain to work with. Cyanide is quicker...
>
>The problem is that if use a blob field and i import a png file (with transparency) then i have problems to show it with crystal reports )it is shown with black background). I have no problems if i import a bmp file in a general field (

A blob field is NOT a general field, and a general field is NOT a blob field. These field types are technically very different. The most important difference is that a general field is tied to an external application, e.g. Excel or Word, while a blob field are "independent" and are usually used together with an Image control using its PictureVal property.

What field type do you use?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform