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:
01320249
Views:
20
This message has been marked as the solution to the initial question of the thread.
>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
It should be:
lcfile2 = "MSCOMM32.OCX"
lcfile  = GETENV("windir")+"\system\"+lcfile2
COPY FILE (lcfile2) TO (lcfile)
lcregthis="RUN regsvr32.exe /s "+lcfile
&lcregthis
NOT TESTED!
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform