Results 1 to 2 of 2

Thread: Active X component Vs Com object: Newbie

  1. #1

    Thread Starter
    Hyperactive Member MarkusJ_NZ's Avatar
    Join Date
    Jun 2001
    Posts
    375

    Active X component Vs Com object: Newbie

    Hi,

    Im just starting in VB and I have a question about COM objects versus Active X components.

    Can an instance of a COM object display forms/ buttons etc on a web page or would I have to create an active X component to do that?

    Basically, what I am trying to do is create an instance of a Visual Basic ListBox on an internet page. I want to use the methods and properties that come with the VB listbox as they are much more powerful than the standard HTML listbox.

    Any help or suggestions welcome,

    Thanks in advance
    Markus

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    You want to make an ActiveX control with the list box on it then. Wrap the list box's function with your controls function - ex: Make a AddItem function for your control that does nothing more than call the list box's AddItem, etc.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

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