Print Page | Close Window

Stop autom. updating control versions in VB6

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=9254
Printed Date: 16 November 2024 at 12:18pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Stop autom. updating control versions in VB6
Posted By: Fabian
Subject: Stop autom. updating control versions in VB6
Date Posted: 08 January 2008 at 8:17am
Hi all
 
Shame on me, but I do not know if and if yes how to to go back to an older version of CJ controls in VB6. Each time I start the VB6 IDE the CJ controls would be updated to the newest version automatically. That is fine, but how can I keep an older version with older CJ controls?
 
Thanks


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6



Replies:
Posted By: Oleg
Date Posted: 08 January 2008 at 3:18pm
Hi,
If you have both old and new versions installed VB will always bug you and you will have always answer "no".
if you don't need new version, uninstall it and manually replace version in vbp and frm files in some text editor.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Fabian
Date Posted: 09 January 2008 at 1:57am
Hi oleg
 
Thanks for your fast respose. I have 11.1.3 and 11.2.2 installed but VB6 simply replaces all controls by the newer version SILENTLY???
 
Any idea?
Thanks


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6


Posted By: mav46
Date Posted: 09 January 2008 at 6:26am
Originally posted by Fabian Fabian wrote:

Hi oleg
 
Thanks for your fast respose. I have 11.1.3 and 11.2.2 installed but VB6 simply replaces all controls by the newer version SILENTLY???
 
Any idea?
Thanks
 
.. me too in some project, in other ask for the update ? Why ? What is the difference ?


-------------
Product: Xtreme SuitePro (ActiveX) 12.1.1
Platform: Win XP (32bit)
Language: Visual Basic 6.0 SP5


Posted By: joeliner
Date Posted: 09 January 2008 at 10:21am
quite a paradox for me, as well. Try this:

Open vb file in text editor.
precheck: ensure both old and new ocxs are registered. To make sure you get the correct GUI code for each control, create a new project and add the old ocxs. Then open the project file in a text editor.

1. add the line NoControlUpgrade=1 between Helpfile="" and Command32=""
2. Ensure the Object GUI code pertains to the older version and not the new one.  e.g. Object={BD0C1912-66C3-49CC-8B12-7B347BF6C846}#11.2#0;

3. save project and open in VB.

P/s: i cant assure anyone twil work but just try. :)


Posted By: Fabian
Date Posted: 10 January 2008 at 10:03am
That's exactly what I needed
 
Thanks a lot!


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net