Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Registered dll file in VFP
Message
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01320248
Message ID:
01320260
Views:
20
Check How to register/unregister an OCX/ActiveX programatically FAQ #7699
BTW, it's not a good idea to unconditionally copy an ActiveX control in the system folder. The PC could have newer/different version installed already.

>How to registered dll in vfp, i am getting a error in line 4
>
LOCAL lcfile,lcfile2,lctragetfile
>lcfile="MSCOMM32.OCX"
>lcfile2="MSCOMM32.OCX"
>COPY FILE (lcfile2) TO (GETENV("windir")+"\system"
>lcregthis="regsvr32.exe MSCOMM32.OCX"
>RUN/n1 &lcregthis /s
>CLEAR TYPEAHEAD
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform