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

Form-Class in a DLL-File

Status
Not open for further replies.

Hannes214

IS-IT--Management
Jan 30, 2006
45
DE
Hi

How can I compile a Form-Class and integrate that DLL-File to an other application?

IT-Management
( FoxPro-Newbi :eek:) )
 
As you know you could not buil standart DLL files with VFP, You could only build COM Servers. Also if you want user interface (Forms, Reports etc) you must build it as EXE not as DLL, but if you want his:
Code:
** In COM Project
DEFINE CLASS oMainForm AS Form OLEPUBLIC
     *** ALL Here
ENDDEFINE

In other application:
Code:
oForm = CreateObject([lcExeName.oMainForm])
oForm.Show()

not tested at all



Borislav Borissov
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top