>Dear All
>I have a query related to com/dcom
>
>how to configure dcom control to use in a client machine.
>
>(I have created an activex exe which has a function called gettime.
>Next i have created a timeform in which i have a commandbuton. when i click this button i get the server time.
>this works Properly on my win98 server machine.
>
>But the problem is that when i run this erver\timeform on another client win98 pc it gives error message cannot create activex object.)
>
>please let me know where the problem lies.
>
>thanks in advance
You should register the DCOM class using CLIReg on the client machine (you will need the produced VBR&TLB files from the compilation).
Check FAQ#8021
Set up DCOM server on WIN98 only network by
John Jones(you can also try to create a file in shared folder of the remote machine and get its creation time.)
HTH
Zlatin Zlatev,
MCSD (VS6)Make solutions, not programs!