C++/CLI COM component deployment



Hi!
I've done my first little COM component (using the clr) and after signing, regasm and gacutil I can call it from vbscript.
set X = createobject("ComComponent.Class1")
msgBox X.Testfunktion(2)

But the problem we're facing is that for a real development of several components (currently existing as scripting components) we need to be able
to call them by their path names. The situation is this:
We want to use those components to extend a PCB CAD tool.
At any time several users work with several projects, each CAD-Tool session
works with one project only. We typically release our components first for one project/user combination only and after this "beta" test for all projects.
So, we have the following directory structure:
....\BETA.ComponentName.PCBName.Username
....\FINAL.ComponentName.ALL.ALL
Those directories sit in a shared network drive and we really can't afford
to register and "install" each component on each client PC. We will release
very often, on average daily.

I'm looking for a way that lets me instantiate a component in VBScript
like this:
Dirname = figurOutDirName(ComponentName, PCBName,Username)
set X = createobject(Dirname&"\whatever.something")
X.myMethod(...)

Is this possible?

Lots of Greetings!
Volker
--
For email replies, please substitute the obvious.
.



Relevant Pages

  • Re: can run javascript cant run vbscript - WHY
    ... > varies from browser to browser) not the DOM (Document Object Model, ... the VBScript Interpreter may choke on a function that does not ... I made no mention of server side code and was trying to help troubleshoot on ... > is he is trying to use a vbscript msgbox call in a web form."), ...
    (microsoft.public.dotnet.languages.vb.controls)
  • COM Interop problem with variants holding object references
    ... I'm now testing the project using VBScript ... public class FactoryObject ... MsgBox C.GetObjectName) ... same objects and methods as my .NET component and it works fine -- all three ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Finding block begin/end in VBScript
    ... Isn't MsgBox supported in VB.NET...I think it is. ... > the prompt text, typed a space, expecting to see a dropdown containing the ... > vbscript constants for the buttons. ... String type does get intellisense. ...
    (microsoft.public.scripting.vbscript)
  • Re: Finding block begin/end in VBScript
    ... Isn't MsgBox supported in VB.NET...I think it is. ... > the prompt text, typed a space, expecting to see a dropdown containing the ... > vbscript constants for the buttons. ... String type does get intellisense. ...
    (microsoft.public.vsnet.ide)
  • Re: C++/CLI COM component deployment
    ... I've done my first little COM component and after signing, regasm and gacutil I can call it from vbscript. ... ProgId = figureOutProgId ... And in the directory structure I find a description file with the correct ProgID? ... And can then the "figureOutProgId" function or component somehow browse the available shared assemblies? ...
    (microsoft.public.dotnet.languages.vc)