Error 424 (I know the problem, i forgot, how do you register a class?)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • code937
    New Member
    • Sep 2007
    • 24

    Error 424 (I know the problem, i forgot, how do you register a class?)

    Basically im taking an example out of one project and putting it into a new one, ive included the class and module but when i run its giving me an error 424, i know its because i havent registered something within the project (but ive forgotten how to do this) because on the demo project if i type pngclass. it gives me a list of things i can do but in my new project it doesnt.

    Cheers guys
  • code937
    New Member
    • Sep 2007
    • 24

    #2
    hate to bump but this is a really easy question, im just being dumb, please help :$

    Comment

    • 9815402440
      New Member
      • Oct 2007
      • 180

      #3
      hi
      use regsvr32 <class name> to register

      regards
      manpreet singh dhillon hoshiarpur

      Comment

      • code937
        New Member
        • Sep 2007
        • 24

        #4
        how do i register it in the project :) theres a setting in the menu somewhere as it works in one project but not in the other.

        Comment

        • debasisdas
          Recognized Expert Expert
          • Dec 2006
          • 8119

          #5
          Have you created an instance of the class obkect to access all its properties and methods ?

          Comment

          • code937
            New Member
            • Sep 2007
            • 24

            #6
            i think thats what im trying to do, because it works in one project but not in the other, could you give me a few quick steps on how to do this thanks :)

            Comment

            • debasisdas
              Recognized Expert Expert
              • Dec 2006
              • 8119

              #7
              Is the class part of the same project or another project .

              If it is part of another project better to compile a DLL file and refer to that from
              Project ----> references.

              Comment

              • QVeen72
                Recognized Expert Top Contributor
                • Oct 2006
                • 1445

                #8
                Hi,

                If the Class is not compiled to a dll, then
                copy the .cls module(From Previous Proj) to working folder of New Project. And add it to the New Project, by Selecting menu "Add Class Module/ existing"


                REgards
                Veena

                Comment

                Working...