Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating and Using a DLL created in VFP.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00250303
Message ID:
00250416
Views:
9
>I thought VFP DLL's were not to have UI. If you want UI, I thought you had to compile to in-line COM servers (EXEs). Does this ring a bell?
>
>Joe

The following code works just fine when compiled as either a single or multi thread DLL.

**************************************************
*-- Class: frmshowme (c:\temp\junk.vcx)
*-- ParentClass: form
*-- BaseClass: form
*-- Time Stamp: 08/04/99 03:22:12 PM
*
DEFINE CLASS frmshowme AS form OLEPUBLIC


Top = 54
Left = 111
DoCreate = .T.
Caption = "Title"
Name = "frmShowMe"


ADD OBJECT cmdshowme AS commandbutton WITH ;
Top = 24, ;
Left = 48, ;
Height = 61, ;
Width = 265, ;
Caption = "Show Me", ;
Name = "cmdShowMe"


ADD OBJECT txtshowme AS textbox WITH ;
Height = 61, ;
Left = 48, ;
Top = 108, ;
Width = 265, ;
Name = "txtShowMe"


ADD OBJECT cmdrelease AS commandbutton WITH ;
Top = 192, ;
Left = 48, ;
Height = 49, ;
Width = 277, ;
Caption = "Close", ;
Name = "cmdrelease"


PROCEDURE cmdshowme.Click
Thisform.txtShowme.Value = " You hit the button. "
ENDPROC


PROCEDURE cmdrelease.Click
Thisform.Release
ENDPROC


ENDDEFINE
*
*-- EndDefine: frmshowme
**************************************************
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform