Author | Topic: CLSID vs. ProgID | |
---|---|---|
AUGE_OHR | CLSID vs. ProgID on Wed, 07 Jan 2009 21:52:03 +0100 hi, i was ask why i use CLSID and not ProgID ? 1.) using XppFD.EXE you can dragdrop a activeX into Form. using Class Code it will generate CLSID and, if you have enable Licence Option, under XP will generate Runtime Licence for VISTA 2.) the ProgID normal does include Version Number. It will not work any more after update. this shoud not happend with CLSID ! Sample : oWMP:CLSID := "{6BF52A52-394A-11D3-B153-00C04F79FAA6}" this is M$ Media Player from Version 7 up to "lates" Version. the ProgID from v7 is oWMP:CLSID := "WMPlayer.OCX.7" but you also have .8 .9 .10 .11 .12 for different Version ... but all use same CLSID !!! so a good Developer will not change CLSID ! greetings by OHR Jimmy |