JCF has pointed you to my web site. You might also want to look at my current FoxTalk series.
FYI, you don't need to do an objectcontext.createinstance under COM+. You can just CREATEOBJECT() and it will be in the same object context.
>I have an MTS application currently running on NT 4 and I am planning to switch it to Win 2000. Windows 2000 using Component Services instead of MTS.
>
>What is the code to create an instance of a Component
>
>When I use
>
>a = createobj('mtxas.appserver.1')
>b = a.getobjectcontext()
>ar = b.createinstance('{dll}')
>
>It does not work. (b) is not an object it says.
>
>Can anyone give me a hand.
>
>Mike Bedry
>
mike.bedry@leviathan-systems.com
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer