>> I want to register this ocx with windows, through vfp codes
Not strictly through VFP code but:
RUN /N <> REGSVR32.EXE <> /S
Where;
<> =windows system directory (normally c:\windows\system32)
<> = ocx you want to register.
The "/S" stops registration confirmation window being shown to screen.
So in your sample it might be:
RUN /N c:\windows\system32\REGSVR32.EXE abc.ocx /S
Gary.
Previous
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