Results 1 to 4 of 4

Thread: Trying to run a VB6 project

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2005
    Location
    North Carolina
    Posts
    102

    Trying to run a VB6 project

    I have VB2005 now on a machine with XP and the old VB6 was removed. I can run some of my old VB6 programs from my desktop except for one. I get the following message:
    Code:
    Component 'MSMASK32.OCX' or one of its dependencies not correctly registered: a file is missing or invalid.
    What can I do to fix this?

  2. #2
    Frenzied Member bmahler's Avatar
    Join Date
    Oct 2005
    Location
    Somewhere just west of the Atlantic
    Posts
    1,568

    Re: Trying to run a VB6 project

    Do you have an installer for the vb6 app that contains all the required dependencies? if so, then you can reinstall it. However, if you were just using the exe that was created by vb6 and only using on a machine that had vb6 installed, you will need to replace the missing components.
    Boooya
    • Visual Studio 2008 Professional
    • Don't forget to use [CODE]your code here[/CODE] when posting code
    • Don't forget to rate helpful posts!
    • If you're question was answered please mark your thread [Resolved]


    Code Contributions:
    PHP
    PHP Image Gallery v1.0PHP Image Gallery v2.0
    VB 2005
    Find Computers on a networkSimple License EncryptionSQL Server Database Access dllUse Reflection to Return Crystal ReportDocumentSilently Print PDFGeneric Xml Serailizer


    Useful Links: (more to come)
    MSDN (The first and foremost)MSDN Design Guidelines API Reference • Inno Setup CompilerInno Setup PreprocessorISTool - Fairly easy to use GUI for creating inno setup projects • Connection StringsNAnt -Automated BuildsCruise Control .NET - Frontend for automated builds

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2005
    Location
    North Carolina
    Posts
    102

    Re: Trying to run a VB6 project

    I am just using the exe that was created from VB6. Once I find the missing file(I assume I find it off of the internet), where do I place it?

  4. #4
    Frenzied Member
    Join Date
    Mar 2005
    Location
    Sector 001
    Posts
    1,577

    Re: Trying to run a VB6 project

    http://www.santanacreations.com/needed_files.html

    If it needs to be registered I don't think it matters where the file is but you can spare yourself some typing if it is in the system32 dir:

    file is in Windows\system32: regsvr32 MSMASK32.OCX

    file is in some other dir: regsvr32 path\MSMASK32.OCX
    VB 2005, Win Xp Pro sp2

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