Results 1 to 6 of 6

Thread: Consuming .net objects from vb6

  1. #1

    Thread Starter
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530

    Consuming .net objects from vb6

    Anyone know if it is possible to have an object sitting on a .net server, and have a vb6 client connect and access the object, must be able to cope with events too?

  2. #2
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    Yup it possible, but its a little tedious since you'll be doing things backwards.
    Dont gain the world and lose your soul

  3. #3
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    You can make the .NET object COM Complaint.

  4. #4

    Thread Starter
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530
    cool, is it just a flag?

  5. #5
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Try searching the help for 'Exposing .NET Framework Components to COM' which is an article on what needs to be done for this. Its mainly using Attributes from the System.Runtime.InteropServices namespace or sharing interfaces.

  6. #6

    Thread Starter
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530
    thx Ed, found what I needed here:
    http://msdn.microsoft.com/library/de...nentstocom.asp

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