Runtime Error 339

Posted on 2005-05-10
Last Modified: 2012-06-27
Hai there,

I developed a small application using VB6.0 and SQL SERVER, which has  four FORMS and one data report

Using INNOSETUP i make it as package
And iam using the odbc connection to connect hte VB with SQL server

when i installed on client machine and in my machine it works well and it doesnt give any errors
but when  close the application it gaves the error

runtime error 339, MSCOMCTL.OCX or one of its dependencies not correctly registered: a file is missing or invalid

it doesnt give any errors in any form when the application is running

hope you got my point
waiting for solution
Question by:maramreddy
    1 Comment
    LVL 1

    Accepted Solution

    Please update your Microsoft Visual Basic 6.0 Common Controls and try again.
    I believ you have an other version of mscomctl.ocx on your client machine.
    I'm not sure if INNOSETUP distribute and overwrites mscomctl.ocx correctly. Have you enabled the distribution of mscomctl.ocx in INNOSETUP (in dependencies)?

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
    Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
    Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now