What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! General » Plus! Tweak! for Plus! 3.61 :)

1 votes - 5 average   Plus! Tweak! for Plus! 3.61 :)
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: Plus! Tweak! for Plus! 3.60 :)
quote:
Originally posted by Choli
Thanks for the suggestion, Cookie. But do I need to change my COMCTL32.OCX every time I want to compile the program? That would be a bit dodgy... I thinking... would it be possible to have 2 versions of that file installed (registered) at the same time? What about if I copy the old comctl32 with other name and use it in VB instead of the new version? (i mean in the menu Project > components).
The reason why compiling with an older version has the benefit of working with newer versions is because of the binary compatibility and because of the same GUID and ProgID's (if there wasn't binary compatibility the GUID and ProgID's would be different). So no, you can't have two copies of that same OCX registered at the same time; they use the same GUID and thus there can only be one path to the OCX file (the currently registered one). Note: this also goes for all GUID's, not only for GUID's of OCX's. Hence why installing, for example, multiple msn messenger versions is not _that_ good.


This said, you can run an application with another OCX by putting that OCX inside its applications directory or startup directory _and_ IF that application handles this correctly (not all use the default windows path search order and certainly not all handle the registering of such files correctly). It also depends on weither the OCX is selfregistering or not. If the application registers the OCX in its current directory or the OCX registers itself because it was called wrongly by the application, the shit could hit the fan. Especially when you decide to delete that OCX again (eg: you uninstall the application). Hence this is a _very_ common cause to problems with DLL's, OCX's, etc that needs registering.


I actually didn't tried yet what you suggested though; it might work, it might not. It depends on how VB handles that GUID and filename inside the project file. I do know that if there is an older version listed there (eg '#1.2#') and you have a new version registered (eg: typelibrary v1.3) that it will automatically update to that new one (despite disabling the setting "Upgrade ActiveX Controls" in your projects properties as that is something different). So I assume for now that VB follows that GUID and updates its project file with the currently registered typelibrary.


I'll try some stuff out and let you know... In the meantime you could make a small batch script or something which switches between the old and new by renaming and (un)registering them (that's what I do atm). Besides, there is no harm in using the old OCX (if you know what you're doing; as in: you know you are running on an old one), as long as you don't notice any crashes of course and as long as a certain program doesn't explicitly requires the new version :P

EDIT, after trying several things: As I suspected, VB looks at the GUID and follows it to get the current registered version and it will compile with that one. So putting:
"Object={6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.2#0; C:\MyApp\COMCTL32.OCX" inside your project file or form files will not work. Thus I'm afraid you'll need to 'swap' the versions each time before you compile (a batch script is very handy for this; pm me if you need it ;)).

This post was edited on 09-28-2005 at 02:06 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
09-27-2005 11:48 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Plus! Tweak! for Plus! 3.61 :) - by Choli on 05-23-2004 at 08:12 AM
RE: Plus! Tweak! for Plus! 3 - by Varish on 05-23-2004 at 08:13 AM
RE: Plus! Tweak! for Plus! 3 - by MSN on 05-23-2004 at 08:16 AM
RE: Plus! Tweak! for Plus! 3 - by Nemesis on 05-23-2004 at 08:20 AM
RE: Plus! Tweak! for Plus! 3 - by Wabz on 05-23-2004 at 08:22 AM
RE: Plus! Tweak! for Plus! 3 - by Choli on 05-23-2004 at 08:23 AM
RE: Plus! Tweak! for Plus! 3 - by Sk3tch on 05-23-2004 at 08:23 AM
RE: Plus! Tweak! for Plus! 3 - by KeyStorm on 05-23-2004 at 08:24 AM
RE: Plus! Tweak! for Plus! 3 - by Vilkku on 05-23-2004 at 09:21 AM
RE: Plus! Tweak! for Plus! 3 - by Choli on 05-23-2004 at 09:28 AM
RE: Plus! Tweak! for Plus! 3 - by Club17 on 05-23-2004 at 10:36 AM
RE: Plus! Tweak! for Plus! 3 - by Jeronimo on 05-23-2004 at 10:46 AM
RE: Plus! Tweak! for Plus! 3 - by CookieRevised on 05-23-2004 at 02:14 PM
RE: Plus! Tweak! for Plus! 3 - by Sunshine on 05-23-2004 at 02:31 PM
RE: Plus! Tweak! for Plus! 3 - by Choli on 05-23-2004 at 02:48 PM
RE: Plus! Tweak! for Plus! 3 - by CookieRevised on 05-23-2004 at 03:37 PM
RE: Plus! Tweak! for Plus! 3 - by Choli on 05-23-2004 at 03:47 PM
RE: Plus! Tweak! for Plus! 3 - by lylesback2 on 05-23-2004 at 04:11 PM
RE: Plus! Tweak! for Plus! 3 - by user27089 on 05-23-2004 at 04:15 PM
RE: Plus! Tweak! for Plus! 3 - by Choli on 05-23-2004 at 04:15 PM
RE: Plus! Tweak! for Plus! 3 - by Pure_BY on 05-23-2004 at 09:25 PM
RE: Plus! Tweak! for Plus! 3 - by RebelSean on 05-23-2004 at 09:33 PM
RE: Plus! Tweak! for Plus! 3 - by Choli on 05-23-2004 at 09:34 PM
RE: RE: Plus! Tweak! for Plus! 3 - by Guido on 05-23-2004 at 10:25 PM
RE: Plus! Tweak! for Plus! 3 - by RebelSean on 05-23-2004 at 09:38 PM
RE: RE: Plus! Tweak! for Plus! 3 - by Leif on 05-23-2004 at 09:59 PM
RE: RE: Plus! Tweak! for Plus! 3 - by Sunshine on 05-23-2004 at 10:01 PM
RE: Plus! Tweak! for Plus! 3 - by RebelSean on 05-23-2004 at 10:02 PM
RE: Plus! Tweak! for Plus! 3 - by RebelSean on 05-23-2004 at 10:06 PM
RE: Plus! Tweak! for Plus! 3 - by surfichris on 05-23-2004 at 10:10 PM
RE: Plus! Tweak! for Plus! 3 - by Luke_Lamont on 05-23-2004 at 10:54 PM
RE: Plus! Tweak! for Plus! 3 - by Pure_BY on 05-23-2004 at 10:54 PM
RE: Plus! Tweak! for Plus! 3 - by DarKnight on 05-23-2004 at 11:18 PM
RE: Plus! Tweak! for Plus! 3 - by MC Inferno on 05-23-2004 at 11:24 PM
RE: Plus! Tweak! for Plus! 3 - by Kafman on 05-24-2004 at 12:35 AM
RE: Plus! Tweak! for Plus! 3 - by pablotossi on 05-24-2004 at 01:20 AM
RE: Plus! Tweak! for Plus! 3 - by Choli on 05-24-2004 at 09:58 AM
RE: Plus! Tweak! for Plus! 3 - by reisyboy on 05-24-2004 at 10:05 AM
RE: Plus! Tweak! for Plus! 3 - by lopardo on 05-24-2004 at 07:01 PM
RE: Plus! Tweak! for Plus! 3 - by Caramellita on 06-04-2004 at 12:24 PM
RE: Plus! Tweak! for Plus! 3 - by em.bee on 09-10-2004 at 09:45 PM
RE: Plus! Tweak! for Plus! 3 - by Choli on 09-10-2004 at 10:04 PM
RE: Plus! Tweak! for Plus! 3.20 - by Choli on 09-20-2004 at 09:18 PM
RE: Plus! Tweak! for Plus! 3.20 - by Pure_BY on 09-20-2004 at 09:22 PM
RE: Plus! Tweak! for Plus! 3.20 - by Patchou on 09-20-2004 at 09:24 PM
RE: Plus! Tweak! for Plus! 3.20 - by Pure_BY on 09-20-2004 at 09:32 PM
RE: Plus! Tweak! for Plus! 3.20 - by Choli on 09-20-2004 at 10:16 PM
RE: Plus! Tweak! for Plus! 3.20 - by Sunshine on 09-20-2004 at 11:19 PM
RE: Plus! Tweak! for Plus! 3.20 - by Pure_BY on 09-21-2004 at 04:59 AM
RE: Plus! Tweak! for Plus! 3.20 - by Chrono on 09-21-2004 at 05:11 AM
RE: Plus! Tweak! for Plus! 3.20 - by Choli on 09-21-2004 at 12:04 PM
RE: RE: Plus! Tweak! for Plus! 3.20 - by Sunshine on 09-21-2004 at 12:10 PM
RE: Plus! Tweak! for Plus! 3.20 :) - by Choli on 09-26-2004 at 08:15 PM
RE: Plus! Tweak! for Plus! 3.20 :) - by toddy on 09-26-2004 at 08:28 PM
RE: Plus! Tweak! for Plus! 3.20 :) - by uam on 10-09-2004 at 08:23 PM
RE: Plus! Tweak! for Plus! 3.20 :) - by Choli on 10-09-2004 at 09:12 PM
RE: Plus! Tweak! for Plus! 3.20 :) - by uam on 10-10-2004 at 09:38 AM
RE: Plus! Tweak! for Plus! 3.20 :) - by Choli on 10-10-2004 at 12:54 PM
RE: Plus! Tweak! for Plus! 3.20 :) - by benjyrama on 10-22-2004 at 09:51 PM
RE: Plus! Tweak! for Plus! 3.20 :) - by Tochjo on 10-22-2004 at 09:53 PM
RE: Plus! Tweak! for Plus! 3.50 :) - by Choli on 03-17-2005 at 10:05 AM
RE: Plus! Tweak! for Plus! 3.50 :) - by Screeny on 03-17-2005 at 10:27 AM
RE: Plus! Tweak! for Plus! 3.50 :) - by uberdosis on 03-17-2005 at 03:03 PM
RE: Plus! Tweak! for Plus! 3.50 :) - by Patchou on 03-17-2005 at 07:28 PM
RE: Plus! Tweak! for Plus! 3.50 :) - by The_Thief on 03-17-2005 at 07:53 PM
RE: Plus! Tweak! for Plus! 3.50 :) - by Ireland123 on 03-17-2005 at 07:54 PM
RE: Plus! Tweak! for Plus! 3.50 :) - by adam.yao on 03-18-2005 at 01:07 AM
RE: Plus! Tweak! for Plus! 3.51 :) - by Choli on 04-13-2005 at 07:42 PM
RE: Plus! Tweak! for Plus! 3.51 :) - by Sunshine on 04-13-2005 at 07:47 PM
RE: Plus! Tweak! for Plus! 3.51 :) - by Patchou on 04-13-2005 at 11:19 PM
RE: Plus! Tweak! for Plus! 3.51 :) - by riahc4 on 04-14-2005 at 06:11 PM
RE: Plus! Tweak! for Plus! 3.51 :) - by Pr0xY on 04-14-2005 at 06:35 PM
RE: Plus! Tweak! for Plus! 3.51 :) - by Choli on 04-14-2005 at 07:49 PM
RE: Plus! Tweak! for Plus! 3.52 :) - by U.A.Emirates on 04-14-2005 at 10:42 PM
RE: Plus! Tweak! for Plus! 3.52 :) - by Patchou on 04-15-2005 at 03:36 AM
RE: Plus! Tweak! for Plus! 3.52 :) - by blackjack on 04-15-2005 at 12:12 PM
RE: Plus! Tweak! for Plus! 3.52 :) - by Pure_BY on 04-15-2005 at 12:49 PM
RE: Plus! Tweak! for Plus! 3.52 :) - by DanielLapointeDL on 04-15-2005 at 04:50 PM
RE: Plus! Tweak! for Plus! 3.52 :) - by cardshark on 04-25-2005 at 04:04 AM
RE: Plus! Tweak! for Plus! 3.52 :) - by Manix123 on 04-25-2005 at 06:25 AM
RE: Plus! Tweak! for Plus! 3.52 :) - by Choli on 04-25-2005 at 07:22 PM
RE: Plus! Tweak! for Plus! 3.52 :) - by cardshark on 04-28-2005 at 04:27 PM
RE: Plus! Tweak! for Plus! 3.52 :) - by Manix123 on 05-16-2005 at 07:39 PM
RE: Plus! Tweak! for Plus! 3.52 :) - by L. Coyote on 07-03-2005 at 01:40 AM
RE: Plus! Tweak! for Plus! 3.52 :) - by dylan! on 07-03-2005 at 02:00 AM
RE: Plus! Tweak! for Plus! 3.52 :) - by L. Coyote on 07-03-2005 at 02:44 AM
RE: Plus! Tweak! for Plus! 3.52 :) - by Choli on 07-03-2005 at 10:14 AM
RE: Plus! Tweak! for Plus! 3.52 :) - by super-schaf on 07-10-2005 at 08:00 AM
RE: Plus! Tweak! for Plus! 3.52 :) - by L. Coyote on 07-10-2005 at 08:49 AM
RE: Plus! Tweak! for Plus! 3.52 :) - by riahc4 on 09-27-2005 at 12:25 AM
RE: Plus! Tweak! for Plus! 3.52 :) - by L. Coyote on 09-27-2005 at 12:29 AM
RE: Plus! Tweak! for Plus! 3.60 :) - by Choli on 09-27-2005 at 09:13 AM
RE: Plus! Tweak! for Plus! 3.60 :) - by CookieRevised on 09-27-2005 at 03:24 PM
RE: Plus! Tweak! for Plus! 3.60 :) - by absorbation on 09-27-2005 at 03:33 PM
RE: Plus! Tweak! for Plus! 3.60 :) - by Choli on 09-27-2005 at 09:57 PM
RE: RE: Plus! Tweak! for Plus! 3.60 :) - by CookieRevised on 09-27-2005 at 11:48 PM
RE: Plus! Tweak! for Plus! 3.60 :) - by qgroessl on 09-28-2005 at 02:03 AM
RE: Plus! Tweak! for Plus! 3.60 :) - by Choli on 09-28-2005 at 11:46 AM
RE: Plus! Tweak! for Plus! 3.60 :) - by qgroessl on 09-28-2005 at 12:23 PM
RE: Plus! Tweak! for Plus! 3.60 :) - by L. Coyote on 09-28-2005 at 12:29 PM
RE: Plus! Tweak! for Plus! 3.60 :) - by ipab on 10-05-2005 at 02:33 AM
RE: Plus! Tweak! for Plus! 3.60 :) - by Choli on 10-05-2005 at 07:44 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by Foppah on 10-05-2005 at 08:01 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by CookieRevised on 11-01-2005 at 05:03 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by Choli on 11-01-2005 at 07:00 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by masken on 11-14-2005 at 04:14 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by Tochjo on 11-14-2005 at 07:29 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by blueyez on 12-22-2005 at 09:19 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by Plik on 12-22-2005 at 10:32 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by blueyez on 12-22-2005 at 10:46 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by L. Coyote on 12-22-2005 at 10:50 PM
RE: RE: Plus! Tweak! for Plus! 3.61 :) - by CookieRevised on 12-22-2005 at 11:26 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by blueyez on 12-22-2005 at 10:56 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by L. Coyote on 12-22-2005 at 11:02 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by blueyez on 12-22-2005 at 11:04 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by ddunk on 12-22-2005 at 11:34 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by CookieRevised on 12-23-2005 at 12:08 AM
RE: Plus! Tweak! for Plus! 3.61 :) - by Choli on 12-23-2005 at 09:25 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by riahc4 on 06-27-2006 at 01:39 AM
RE: Plus! Tweak! for Plus! 3.61 :) - by Choli on 06-27-2006 at 11:32 AM
RE: Plus! Tweak! for Plus! 3.61 :) - by Dave on 08-15-2006 at 02:32 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by Choli on 08-15-2006 at 04:50 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by Patchou on 08-15-2006 at 05:44 PM
RE: RE: Plus! Tweak! for Plus! 3.61 :) - by riahc4 on 08-22-2006 at 02:32 AM
RE: Plus! Tweak! for Plus! 3.61 :) - by Dave on 08-22-2006 at 08:25 AM
RE: Plus! Tweak! for Plus! 3.61 :) - by CookieRevised on 08-22-2006 at 09:31 AM
RE: Plus! Tweak! for Plus! 3.61 :) - by Mnjul on 11-30-2006 at 07:36 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by Choli on 11-30-2006 at 08:31 PM
RE: Plus! Tweak! for Plus! 3.61 :) - by Choli on 12-03-2006 at 06:33 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On