Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Your code to export to BMP
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01438557
Message ID:
01464534
Views:
87
Hi Nicholas
I see it fine in Firefox. I do have IIS compression running on that server... gzip. Also, the first page contains flash animation, perhaps that is throwing something into the mix? Try going directly to http://www.sweetpotatosoftware.com/home.htm rather than the flash/index page.

>Hi Craig
>
>off topic but when I access your website http://www.sweetpotatosoftware.com/ in Firefox I get
>
>Content Encoding Error
>
>The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
>
>loads ok in IE
>
>
>
>>Hey Mike
>>
>>As stated on foxite awhile back...
>>
>>"VFP Studio has not been worked on for over a few months now. Keep in mind that Visual Studio 2010 has significant changes to the designers. There are only two people that ever work/worked on VFP Studio (Bo Durban and myself), so resources have always been very limited. Will VFP Studio be completed? No idea... I haven't even had a chance to completely get my head around the changes that were made in VS 2010 as respect to VSX.
>>
>>I enjoy working on it and developing with Microsoft's VS Shell. If the mood strikes me I'll work on it."
>>
>>I dunno if that clears things up or makes it murkier for you Mike. But, it's the truth (abbreviated-version for brevity's sake).
>>
>>>Hey Craig,
>>>
>>>I'm glad to see that you're still hanging out here!! Can you do me a favor and tell me once and for all if the "VFP Studio" project is officially dead?
>>>
>>>Your blog does not say anything more about it (or anything lately for that matter). Hope you're keeping well.
>>>
>>>Mike
>>>
>>>
>>>>You still looking into this? Sorry I didn't see this message until just now... but yes, I have an FLL that Bo and I wrote some time back that can complete destruct VFP General Fields and get the different pieces of information and payloads (such as a Word doc for instance) that it contains. Let me know if you still need it.
>>>>
>>>>>Hi Craig
>>>>>
>>>>>I have found this code on the Internet which you wrote to export a general field of type BMP to a BMP file:
>>>>>
>>>>>
>>>>>LOCAL lcFileString
>>>>>SELECT "MyTable"
>>>>>COPY TO tmpTable FIELDS YourGeneralField NEXT 1
>>>>>lcFileString=FILETOSTR("tmpTable.fpt")
>>>>>ERASE "tmpTable.fpt"
>>>>>ERASE "tmpTable.dbf"
>>>>>lcFileString = RIGHT(lcFileString,LEN(lcFileString) - 599)
>>>>>=STRTOFILE(lcFileString, "MyExport.bmp"
>>>>>
>>>>>
>>>>>That is some interesting code. Do you know or does anyone knows if the same technique could be used to extract a DOC, XLS and PDF to preserve their intact format? Because, when we use the Object.SaveAs() property, in this case a Word file, the file that ends up being saved on the disk is way corrupted.
Previous
Reply
Map
View

Click here to load this message in the networking platform