Results 1 to 4 of 4

Thread: how to create activex exe ???

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    2

    how to create activex exe ???

    In vb6 we created an (out of process) activex exe with thread-per-object threading, so that a single threaded app can create a number of instances of an app, each running in their own thread.

    Can't see how to do this (or equivalent) in .net. For that matter, can't yet work out how to create a single threaded COM object with .Net

    MS info suggests the equivalent of a multiinstance is a class library, but can't find the settings to configure class library as an out-of-process server or specify the threading model.

    Any suggestions ???

    Thanks,
    Martin.

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    you dont write COM and ActiveX in .NET. You use the System.Threading namespace/classes to control threading.

    Try searching for info on System.Threading.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    2
    We apreciate VB.net has a new threading model, but is it not possible to write and ActiveX exe any more for backward compatibilty with exisiting COM-based systems ????

  4. #4
    Addicted Member wolfofthenorth's Avatar
    Join Date
    Jan 2001
    Location
    Tatooine
    Posts
    169
    There is an option to compile with a COM wrapper under the project properties --> configuration properties --> build.
    That which does not kill us, only makes us stronger.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width