Results 1 to 4 of 4

Thread: Problems with Class not registered in my VB6 control replacement tool

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2017
    Posts
    694

    Question Problems with Class not registered in my VB6 control replacement tool

    Hello!

    I am trying to write a VB6 frm / cls / ctl / vbp parser to be able to replace controls with other controls.

    I have already solved a few riddles, but I am still experiencing "class not registered" errors, and I don't understand why.

    I would therefore like to ask if somebody has some resources / documentation about .vbp files (do the entries have to "sorted"?) and .frm / .ctl files regarding their relations (Begin/End, BegingSomeProperty/EndSomeProperty) and the alphabetic sorting, etc.

    Thank you!

  2. #2
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    6,949

    Re: Problems with Class not registered in my VB6 control replacement tool

    Can you be more specific about the issue here and how it relates to tB?

    Obviously you'd need to have the new controls installed just like you would for the VB6 IDE.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2017
    Posts
    694

    Re: Problems with Class not registered in my VB6 control replacement tool

    The controls are registered. I wrote this converter to update all my projects to use the vb common control replacements.
    I noticed that unlike the vb6 controls, some of the replacement controls store their caption/text in the .frx files.
    I noticed that I can also get away with normal strings in the .frm files if I use ansi strings, so I replaced e
    g. "my caption":.frx.... with "simpletest".
    it is one topic that I don't understand yet and which I planned to tackle last.

    I would love to be able to understand where vb6 chokes without guessing and trying.

    The form .log files are not helpful. The just state that the controls xy was not registered. But I see no difference to a sample project that was not processed by my converter. Apart from the frx strings.
    Last edited by tmighty2; Mar 26th, 2025 at 12:01 PM.

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2017
    Posts
    694

    Re: Problems with Class not registered in my VB6 control replacement tool

    I made it!! I overlooked a decimal separator in a property value.
    It works now.

Tags for this Thread

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