Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append General (Bitmap) causes NDVTM error under Win7
Message
From
01/01/2011 20:12:36
 
 
To
01/01/2011 18:58:51
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Environment versions
Visual FoxPro:
FoxPro Windows
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01494076
Message ID:
01494293
Views:
54
>>This is a FP2.6 WIN app. I tried to do a functional conversion once, but it just doesn't seem to work for me. Development started back in 1994 and has been ongoing since then. I've used GenScrnX and a number of other compiler hook modifications. Pushbuttons on my converted forms don't work, forms won't convert correctly - a whole host of problems that make the conversion process an exercise in futility. I haven't found a way to get it converted and working under VFP.
>>
>>I've been developing ancilliary programs in VFP9 for years, but the main app (over 1 million lines of code and hundreds of screens) is still in Fox 2.6a. It's a quite comprehensive system and I have clients in 26 states across the United States.
>>
>>I think that I may have figured out a workaround, however. All images are kept as JPEG files. I convert them, on the fly, to BMPs, store them in a temporary folder and then import them into a general field in a temporary cursor for printing. I'll spend the day writing a routine to copy the image report to a temporary folder, open the report file as a table, scan through and find the image object record and then replace the placeholder with the full path of the temporary BMP file. This will eliminate the need for general fields completely. Hopefully, that'll work as a temporary bandaid while I continue the process of rewriting my complete imaging and reporting module into VFP9.
>>
>>We shall see... :-)
>
>Walt,
>
>why do you need to have JPEG files to be converted to BMP? I have no problem to print a BMP file, in the report you drop an image in the band, right click for the context menu and fill in the details.
>JPG or BMP or PNG or other image files no problem. No need to import them into a general field as the report cursor image field contains the fully qualified filename.
>
>This should work and eliminates the use of General fields completely. Also it will reduce your table size dramaticaly so no 2 GG limit ,
>
>Regards,
>
>Koen

* IIRC you're limited to BMP files in FPW
* I believe the reason why he's using general field was because he probably wants the image to be based on record data rather than having the same image being printed repeatedly.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform