Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FoxPro 2.6 Win application programme compiled to exe file in VFP6.0

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
One application software prepared in FoxPro 2.6 Win has been compiled to exe file in VFP6.0 and the generated exe file is running fine by putting the command ‘! < exe file name>’ in VFP6.0 command window. But the same exe file while running at dos prompts the display and colours of all screens of the software are totally changed. Again, it is working fine at dos prompts if VFP6.0 or FoxPro 2.6 Win is kept open in memory by minimising its command window. Please let me know what are the supporting files required to activate properly this exe file and how to add those supporting files to the exe file, while building executable file so that the exe file is run rightly to produce perfect screen display, colour etc., in absence of VFP or FoxPro window is activated.
 
It's not clear if you've rebuilt (recompiled) this FPW project in VFP 6.0 to produce a new .EXE. If you have, then just use the Setup Wizard to create an install set so you can install the VFP 6.0 runtime and system support files on any workstation you plan on running the application.

Rick
 

Even after making a setup file the problem is not solved. Placing vfp6renu.dll file at the same directory is also not giving the desired out put.How to place this file correctly?
 
I have checked out for &quot;INFO: Visual FoxPro 6.0 Required Run-Time Files&quot; which tells that: -
‘‘….. …… …….. ……… …….. …….. …….. ……. ……..
…….. ….. ………In addition, you must also register the following files:
Vfp6r.dll, Oleaut32.dll, Olepro32.dll, Vfp6run.exe. … …. … … … .. ‘’

My asking is that how to register those 4 files in Windows98.

Regards,
PKM
 
Manually you can use regsvr32 - e.g. At a command prompt (DOS Window) enter:
regsvr32 c:\windows\system\oleaut32.dll

You can also do this programatically with the FP RUN statement:

RUN regsvr32 c:\windows\system\oleaut32.dll

Or there are WinAPI calls that can do it.

Rick
 
Already used regsvr32 at- c:\windows\system> by entering :-

regsvr32 oleaut32.dll etc.

For all those 3 dll files “ DllRegisterServer in oleout32.dll succeeded “

etc, similar messages received. For Vfp6run.exe the message was:-

“Vfp6run.exe was loaded, but the DllRegisterServer entry point

was not found. Vfp6run.exe does not appear to be a .DLL or .OCX file.”


My problem remains same.

PKM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top