CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 1998
    Posts
    1

    Registering problem with Activex component



    Dear Friends,

    I have one problem to create EXE file of Visual Basic V5.0.

    Actually I have used MSFLEXGRID and mschart Objects in my project.

    So When I Create EXE File of my project and run it on Standalone

    PC Having Windows 95 , after copying following 2 DLL Files:

    1) msvbvm50.dll

    2) vbrun300.dll,


    It gives me following err:

    ERROR No 429: ActiveX Component can't Create Object.


    and if I run it on Standalone PC having WIN95 and VC++ 5.0, it

    gives me error :

    ERROR NO 339: Component 'mschart.Ocx" not Currectly registered:File

    is missing or invalid.


    If I copy "mschart.ocx" on that computer, my project does work.

    But I think that "To run EXE of VB , we only need Above 2 DLLs and

    the OCX files.


    So I am Seeking your help. Kindly Send me solution.


    With Regards

    From



    Ravi




  2. #2
    Join Date
    Nov 1998
    Posts
    10

    Re: Registering problem with Activex component



    If I understand you correctly, you are saying the program does not work if you do not copy across the OCX? All OCX's that you use must be copied across and registed!!! Do you register the OCX on the second computer?


    The fastest way of doing all of this, is to use the Application Setup Wizard to generate all the files you need.

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

Featured