Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Anders Altberg
  Where is Anders Altberg?
 Uppsala
 Sweden
 Anders Altberg
 To: pratap adhikary
  Where is pratap adhikary?
 jabbalpur
 India
 pratap adhikary
 Tags
Subject: RE: VFP Com Object
Thread ID: 395509 Message ID: 395512 # Views: 74 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: VFP and .NET
Date: Wednesday, January 15, 2014 4:26:17 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.

Any decent installer will handle it. InstallShield is bundled with VFP since VFP7. http://msdn.microsoft.com/en-us/library/ms917481.aspx.
Inno Setup http://fox.wikis.com/wc.dll?Wiki~InnoSetup is popular with many.

-Anders

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