Re: VBScript component as server?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



mr_unreliable wrote:
hi Volker,

Good Luck with this one.

afaik, vbScript is better as a client than as a server.

With visual basic, you can write a program to work as
a server (actX exe), but still, using getobject could be
a problem.

In order to use getobject, I vaguely remember that you
first have to have your exe make an entry of itself in
the "ROT" (i.e., the "Running Object Table")...
Ok, looks like natively it doesn't work but maybe there's
a control out there that can make it possible...

Lots of Greetings!
Volker

Volker Hetzer wrote:

Hi!
I'd like to write a VBScript that I can start with a double click,
which then runs indefinitely (more or less) and which then I can
connect to by using getobject.

Is something like this possible?

Lots of Greetings!
Volker
.



Relevant Pages

  • Re: Error accessing my C# app from VBScript
    ... Given that accessing a .NET app from VBScript ... using GetObject is known as "accessing an out of process COM server", ... >> underscore (class interface) and did the regasm /tlb option. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: MultiUse ActiveX Exe creates multiple instances (Round 2)
    ... GetObject is your problem. ... have many objects living in the same server. ... "Niall Quiggin" wrote in message ... > I have changed the DCOM configuration to be the interactive user and made ...
    (microsoft.public.vc.atl)
  • Re: Using Excel with Automation from a web page
    ... GetObject is used to find an open Excel.Application ... That object then tries to open an Excel ... on the development machine, which runs its own server, ok. ... >> Hi Martijn, ...
    (microsoft.public.inetserver.iis.security)
  • Re: GetObject question
    ... Before changing our "server" to win small bus 2003 the following line ... Set moAcadApp = GetObject(, "AutoCAD.Application.17") ... There are some registry keys that are visible if logged in as admin and not ...
    (microsoft.public.vb.general.discussion)
  • Re: MultiUse ActiveX Exe creates multiple instances (Round 2)
    ... GetObject is your problem. ... have many objects living in the same server. ... > I have changed the DCOM configuration to be the interactive user and made ... // Signal to existing intance to show GUI and then exit. ...
    (microsoft.public.vc.atl)