Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Borislav Borissov
  Where is Borislav Borissov?
 Sofia
 Bulgaria
 Borislav Borissov
 To: pratap adhikary
  Where is pratap adhikary?
 jabbalpur
 India
 pratap adhikary
 Tags
Subject: RE: VFP Com Object
Thread ID: 395509 Message ID: 395510 # Views: 93 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: VFP and .NET
Date: Wednesday, January 15, 2014 3:44:25 PM         
   


> Hi Experts
>
> I have build COM DLL from VFP with , for example :-
>
> DEFINE CLASS Math AS SESSION OLEPUBLIC
>    FUNCTION Multiply(tnNum1, tnNum2)
>       LOCAL lnResult
>       lnResult = tnNum1 * tnNum2
>       RETURN lnResult
>    ENDFUNC
> ENDDEFINE
> 

> now I take reference the dll in Visual Studio and register the dll(administrator account), and able to see the com object(Math.Multiply)
> after successful Build the exe from Visual Studio, I have installed the latest exe at the client end
> but com object failed !
>
> Is that com object has to be distributed each clients separately and registered there, if yes then lots of work.
> Or
> Is that anyway to achieve WITHOUT distributed and registered .
>
> thanks in advance
> Best Regards
> Pratap.

Yes, you should distribute and register that COM everywhere.

-----------------
Borislav Borissov

Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.

ENTIRE THREAD

VFP Com Object Posted by pratap adhikary @ 1/15/2014 3:30:55 PM
RE: VFP Com Object Posted by Borislav Borissov @ 1/15/2014 3:44:25 PM
RE: VFP Com Object Posted by Anders Altberg @ 1/15/2014 4:26:17 PM
RE: VFP Com Object Posted by pratap adhikary @ 1/16/2014 4:55:13 AM
RE: VFP Com Object Posted by Anders Altberg @ 1/16/2014 9:35:56 AM
RE: VFP Com Object Posted by Mike Gagnon @ 1/23/2014 12:33:14 AM
RE: VFP Com Object Posted by Bernard Bout @ 1/22/2014 5:49:15 PM