borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (what is intstatus for?)Next Topic (vb6 programming with symbian OS nokia phone) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Error message about common dialog control Solved Topic
Poster Message
iliekater
Level: Master

Registered: 04-02-2005
Posts: 134

icon Error message about common dialog control

I had created a VB6 program which I tested anf run on many PCs and worked fine . However , it seems I missed something : I only used it on PCs having the Greek version of Windows (it is about WinXP Pro SP2) . Lately I run the program on a PC with English version of Windows and hiugh it got installed , when I start it , I get the foolowing error message :
Failed to load control 'Commondialog' from comdlg32.ocx . Your version of comdlg32.ocx maybe outdated . Make sure you are using the version of the control that was provided with your application .

I also received messages that this error also appeared on others who also used english version of Windows .
So , is this error happening due to the difference of the Windows versions ? Is it something else ?
What should I do to solve the problem ?
Up to now the only thing I did is to remove the comdlg32.ocx from the files added during the proces on which the setup file is created (with the wizzard) , but either with or without file , there is the same problem .

11-07-2007 at 06:52 PM
View Profile Send Email to User Show All Posts | Quote Reply
Keithuk
Level: Big Cheese


Registered: 02-11-2006
Posts: 28
icon Re: Error message about common dialog control

The language of the operating system shouldn't make any difference its the version of comdlg32.ocx that you are referencing.

There is no need to remove comdlg32.ocx from the installation package. Which installation package are you using? Which service pack of VB are you using? SP6 has the lastest version of comdlg32.ocx. An installation package should check the version number of existing ocx's before it updates to a newer version.

____________________________
http://www.martin2k.co.uk/forums/

I've been programming with VB for 12 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

10-05-2008 at 01:20 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
iliekater
Level: Master

Registered: 04-02-2005
Posts: 134
icon Re: Error message about common dialog control

I am using no service pack at all . I'd like to use the SP6 but it seems it alters the installation wizzard . Though I'd like to by VB6 , the problem is that it's not sold anywhere nowadays ...
Is there anywhere I can find a newer version of the comdlg32.ocx ?

25-05-2008 at 07:12 AM
View Profile Send Email to User Show All Posts | Quote Reply
Keithuk
Level: Big Cheese


Registered: 02-11-2006
Posts: 28
icon Re: Error message about common dialog control

quote:
iliekater wrote:
I am using no service pack at all . I'd like to use the SP6 but it seems it alters the installation wizzard . Though I'd like to by VB6 , the problem is that it's not sold anywhere nowadays ...
Is there anywhere I can find a newer version of the comdlg32.ocx ?

What do you mean installation wizzard?

To install a dll or ocx from SP6 all you need to do is download Service Pack 6 for Visual Basic 6.0, Vs6sp6B.exe. Open Vs6sp6B.exe with WinZip and extract to a folder of your choice. In this exe there are 32 cab files which contain the dll's and ocx's used in SP6. Open each cab file with WinZip and just extract them to your WinSys folder and re-register them with Run: Regsvr32 Comdlg32.ocx or what ever the filename is.  

[Edited by Keithuk on 25-05-2008 at 06:45 PM GMT]

____________________________
http://www.martin2k.co.uk/forums/

I've been programming with VB for 12 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.
25-05-2008 at 06:43 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
iliekater
Level: Master

Registered: 04-02-2005
Posts: 134
icon Re: Error message about common dialog control

Thanks , I will give it a try !

30-05-2008 at 05:07 AM
View Profile Send Email to User Show All Posts | Quote Reply
iliekater
Level: Master

Registered: 04-02-2005
Posts: 134
icon Re: Error message about common dialog control

Thanks man , it really worked ! Thank you !

10-10-2008 at 08:28 PM
View Profile Send Email to User Show All Posts | Quote Reply
Keithuk
Level: Big Cheese


Registered: 02-11-2006
Posts: 28
icon Re: Error message about common dialog control

quote:
iliekater wrote:
Thanks man , it really worked ! Thank you !


You're welcome iliekater.  

____________________________
http://www.martin2k.co.uk/forums/

I've been programming with VB for 12 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.
10-10-2008 at 11:29 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : VB General : Error message about common dialog control Solved Topic
Previous Topic (what is intstatus for?)Next Topic (vb6 programming with symbian OS nokia phone) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Il portale per lui e lei | Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2008 Andrea Tincaniborder