Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dbf to Html
Message
 
To
31/01/2008 15:22:48
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01287633
Message ID:
01287665
Views:
5
Hi,

Thanks for your time and response.

The prg is very, very simple...
close databases all
set safety off
set deleted on 
use test
DO (_GENHTML) WITH [test], [test],2
set safety on
set deleted off 
close databases all
The dbf contains one (1) field of varchar(100) data.

As stated, when run from IDE, no problems. The htm is created and IE opens to show the contents as expected.

The problem arises when the prg is placed into a pjx in order to create an exe. After building the exe, double clicking it, regardless of where it resides in my folders, results in the error.

So the conclusion is that the IDE, which has the VFP parent folder in it's path, can find all the necessary components to produce the HTML. When the EXE is compiled it no longer has the VFP parent folder as part of its path (nor should it if it is to run independently of VFP). That's when it goes awry.

Apparently, there is something that _GENHTML is calling that is missing / not found when running from the exe.

I too read the help file but came away without a solution. I do not need a form or anything else. All I wish to do is convert my dbf to html so it can be viewed in a browser.

Vince

Note: This is not a missing runtime module problem as the necessary files are readily found by other EXE's that I have built.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform