Results 1 to 8 of 8

Thread: Class Not Register

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Location
    Malaysia
    Posts
    124

    Class Not Register

    I designed an application with Masked Edit Control. When application has implemented to another PC without Ms visual studio, it comes with an error message "Class Not Register". Can anyone tell me what happen?

  2. #2
    Lively Member
    Join Date
    Jul 2003
    Location
    Kuala Lumpur (Malaysia)
    Posts
    92

    Hmmm...

    Hi,

    That mean some of your class or the class application the class looking for does not exists. You have to install the application where the com belong to, for you to use it.

    This also maybe the CLID (Class ID) is not the same with the current you install. To solve this, uninstall the old application and install the same version with your Developing Machine.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Location
    Malaysia
    Posts
    124
    hi, ok
    sorrie for asking b'cos i'm a beginner of vb.net, I copy the whole program folder to the another pc's directory, is that the correct way to do this?

    OR Should I need to do a setup program to solve this problem?

    I really can't understand what is Class ID (CLID), can you please explain to me in a more easier understand way?

    Thanks ...

  4. #4
    Lively Member
    Join Date
    Jul 2003
    Location
    Kuala Lumpur (Malaysia)
    Posts
    92

    Ok...

    Hi,

    XCopy theory should work in the dot net framework but sometime we cannot ignore some of the dependencies are fail to detect by the VS or it has make such a way that the COM you use will cause error without the original copy installed to the machine.

    The proper software deployment is through the Setup. No matter you use Microsoft Installer, InstallShield or WISE installer, it give you a an registring your controls, placement of the folder, condition setup, checking hardware requirement and uninstall feature (standard application must have).

    CLID ? ... ooo ... it is an ID of every control in your machine. This ID help OS to easy locate your control your application required. Before dot net, this create a huge trouble to programmer until they call this "DLL Hell". Because every time you build your control it create a new class id to you and registered it to the registry. As you know, after few hudred time of compiling. You register got few hudred CLID just for one control. During building setup this will create errorssss to you.

    In dot net, as long as the dot net control or the wrapped control is locate same path with the application, it's ok.

    Hope you understand....

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Location
    Malaysia
    Posts
    124
    All i need is to use installer to install my program then my problem will solve?

    Add in a merge module ??

  6. #6
    Lively Member
    Join Date
    Jul 2003
    Location
    Kuala Lumpur (Malaysia)
    Posts
    92

    Not really....

    Not sure about that... you have to do Try an Error.

    Start to do the base (base class) then test run on the target machine ... if fail.... check again ....


  7. #7

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Location
    Malaysia
    Posts
    124

    can you solve for me?

    Can you give me ur email , i send my program to you and hopefully you can solve for me....

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Nov 2002
    Location
    Malaysia
    Posts
    124
    ok, All worked now, i used installer to install and add in merge module inside. anywhere, thanks

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