Results 1 to 3 of 3

Thread: Class Module and Inet Control

  1. #1

    Thread Starter
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308

    Class Module and Inet Control

    Hi,

    I have and ActiveX DLL project in which I have a class module, I want to use Inet Control in my class module, how can I create the instance of Inet Control in class module, as in Standard EXE project, we select and draw control on form, what will I do in case of class module.

    Thanks.

  2. #2

    Thread Starter
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308
    Anyone please ??

  3. #3
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    You cannot create an instance of a control without a Form. Some options for you

    1) Pass an instance of the INet control sited on a form to your class module

    2) Use the COM object model instead. Set a Reference to the Microsoft Internet Controls (not the same as the INet Component).

    3) Use the Microsoft Win32 Internet API functions directly.

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