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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem _base Library not found. 1

Status
Not open for further replies.

kbklaus

Technical User
Mar 30, 2007
9
DE
I created a form xyz with a page-frame-object on it.
In the init-event of the form I wrote this to make the tabs
on the pageframe alphabetically:

*Init-Event in the form.
*Alphabet to place on Pageframe1

FOR i = 1 TO thisform.Pageframe1.PageCount
STORE "page"+ALLTRIM(STR(i))+"." TO zaehler
thisform.pageframe1.&zaehler.caption = CHR(64+i)
ENDFOR
thisform.Show

Worked well if I start this form external from a project.

But then I wanted to make a trial by making a standalone-exe-file from this and added the form and a short *.prg-Program (code only with "do form xyz") to a project.
But when I started the project to make the *.exe then VFP says " library visual classes _base not found".

What do I have to do?

Sorry it is the first time that I want to create a standalone-exe from a VFP-Program.

 
KBKlaus,

_BASE.VCX is the Foxpro Foundation Classes library, and is stored in the FFC folder in your VFP directory.

You probably have some code in your form, or in some of your controls, that refers to this library. If that is what you want, use SET PATH to ensure that the FFC folder is in your search path when you do the build.

If you don't want to use _BASE.VCX, find the code that refers to it (use Tools / Code References to search your project), then delete the reference.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top