Results 1 to 5 of 5

Thread: .NET component in VB6

Threaded View

  1. #1

    Thread Starter
    Fanatic Member wildcat_2000's Avatar
    Join Date
    Nov 2000
    Location
    Italy
    Posts
    727

    .NET component in VB6

    dear all,

    as many here, i am new to .NET though i am an experienced VB programmer.

    for integration purposes with an existing software engine, i need to provide this engine with hooking abilities to the RichTextBox component of .NET.

    since i have a very complicated project in VB6, i do not want to upgrade all this project to .NET (i have no other need to than this requisite). the idea is then to find a way to use the RichTextBox .NET component in VB6.

    to do so, i am trying to build a Windows Control Library with a graphical interface which will have the RichTextBox .NET component in it, and then use this control in my VB application.

    i am totally able to register a .NET Windows Control Library as COM, so that i can see it in my 'References' Tab of my VB6 development environment.

    the question is: how would i go to actually use a 'visible' component? references are computation routines, i need the graphical aspect of it. should i add a reference to my NET component and then create them in VB6 dynamically with something like:
    VB Code:
    1. .Controls.Add("MyNETcontrol", "ctlName")
    any suggestions MORE than welcomed...

    thank you in advance,

    wc.
    Last edited by wildcat_2000; Aug 11th, 2005 at 07:18 AM.
    When your car breaks down,
    close all windows and retry

    => please rate all users posts! <=

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