Results 1 to 4 of 4

Thread: Is it possible to use a C# ActiveX Component in VB6?

  1. #1

    Thread Starter
    Fanatic Member alexandros's Avatar
    Join Date
    Oct 2002
    Location
    Milky Way Galaxy
    Posts
    694

    Is it possible to use a C# ActiveX Component in VB6?

    Is it possible to use an ActiveX Component that was written
    in C# in a program that is being implemented in VB6?
    Of course the computer will have .NET framework installed.

    Also is it possible to use a dll written in C# in a VB6 program ?

    Thanks !

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    It should work as long as the target Framework is present .

  3. #3
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    You can't write ActiveX components in C#, not in any .NET language. You can make a .NET assembly COM compatible to work in VB6 but that is the closest thing.

  4. #4

    Thread Starter
    Fanatic Member alexandros's Avatar
    Join Date
    Oct 2002
    Location
    Milky Way Galaxy
    Posts
    694
    this assembly will it be able to work in VB6 as a component ?
    Moreover another dumb question.
    How do i place non .NET Activex components on a form in C#.
    I add a reference for example to "Microsoft Internet Controls"
    but i can nowhere find the webbrowser control so that i can put it on the form.

    thanks !

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