General information
Category:
ActiveX controls in VFP
How can I implement and active X (ocx file) in an application without dropping it onto a form? This is copy protection software and I am trying to create an object defined through a calss that specifies the ocx file I am implementing.
My class looks like this:
DEFINE CLASS SoftProtectionX1 as OLEControl
DocumentFile = "D:\source\vfp\dev\SoftProtectionX1.ocx"
ENDDEFINE
My create code looks like:
SoftProt=CreateObject("SoftProtectionX1")
SoftProt.Execute
Thanks,
Mike
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only