[Last Call] Learn how to a build a cloud-first strategyRegister Now


Runtime Error 339

Posted on 2005-05-10
Medium Priority
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

Accepted Solution

wuerzi earned 500 total points
ID: 13967665
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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Suggested Courses
Course of the Month18 days, 8 hours left to enroll

826 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