Re: n-tier Architecture and IIS

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

From: David Browne (meat_at_hotmail.com)
Date: 08/31/04


Date: Tue, 31 Aug 2004 14:42:49 -0500


"Curt Emich" <cemich@comcast.net> wrote in message
news:uLXVOj4jEHA.3876@TK2MSFTNGP15.phx.gbl...
>
>
> I tried to instantiate the object I created using CreateObject in
> another VB.NET app. Apparently, that's not the way to do things,
> because I got the message "Cannot create ActiveX Control".
>
> I tried to use "New", but I couldn't see the object in the Intellisense
> list. I know it's registered in the registry, but I can't seem to get
> to it.
>
> Any ideas?
>

If you want to access it from VB.NET, then set a reference to the dll. You
should use CreateObject only from non-.net COM clients. You can always test
using VBScript (an unmanaged COM client) instead of VB.NET.

David



Relevant Pages

  • Re: Software inventory not working as expected
    ... > putting an app in the ARP is to create an entry in the registry under the ... > If you app can do it by running the MSI by itself, ... >>> Sounds like the clients have not received the policies containing your ... >>> LastWriteDate, Size, CompanyName, ProductName, ProductVersion, ...
    (microsoft.public.sms.inventory)
  • Re: In process/Out of process question
    ... A class inside my own app ... To use CreateObject, the class must be registered in the registry, with a path ... registered an ActiveX exe. ...
    (comp.lang.basic.visual.misc)
  • Re: n-tier Architecture and IIS
    ... I tried to instantiate the object I created using CreateObject in ... another VB.NET app. ... I know it's registered in the registry, but I can't seem to get ...
    (microsoft.public.dotnet.framework)
  • Re: VB making more threads than coded
    ... Background thread 1 ... started app I get 11 threads in task manager. ... I know I am making 1 thread per a CreateObject call because if I disable ...
    (microsoft.public.vb.winapi)
  • Re: CDialog as a child window?
    ... I missed the point about the right side of the app form being a plitter. ... > CreateObject, call the Create method with a CCreateContext object, then ... > As for the protected ctor, that's an easy one to remedy - you can try any ...
    (microsoft.public.vc.mfc)