How is it possible I can normally use Common Controls version 6.0, but for version 5.0 the licence is not found?
Can I force VB to use the old version?
I have VB version 5!!
(running on W2K)
Printable View
How is it possible I can normally use Common Controls version 6.0, but for version 5.0 the licence is not found?
Can I force VB to use the old version?
I have VB version 5!!
(running on W2K)
Maybe because you have liscence for ver 5.0 and when using ver 6.0 your control is UPGRADED....
DocZaf
{;->
Ok. So no chance to use the old version?
Sorry, That was just a guess, I may be wrong....
DocZaf
{;->
When you upgrade your control(s) they overwrite the old versions with the new ones, so...
BTW: Why do you need to use the older control?
That's the reason...Quote:
In developing the VB6 common controls, the VB development team stopped using comctl32.dll as its basis for functionality. Instead, the team took the unprecedented steps of removing the VB OCX dependency upon comctl32.dll, and opted (wrongly in this author's view) to rewrite the functionality available in comctl32.dll v4.72 as the new VB6 mscomctl.ocx. This redesigned OCX is not dependant on the original Windows' common control dll, and no longer relies on it for any functionality. And in creating the OCX, its implementation has been tweaked to the point where some methods that do work against the VB5 common control implementation (which uses comctl32.dll) no longer function as expected using the VB6 common control (mscomctl.ocx).
Why use the .ocx at all? I always use the comctl32.dll ...
in other words, use the GetOpenFilename and GetSaveFilename API functions.
Gerco.
Emm... that's nice Gero, but I need TreeView...
Yes, I have the code how to create it through API, but I mean it is too complicated (for simple app) and the reason why I am trying to use old version will not be solved.
Sorry, I thought you meant comdlg32.ocx and .dll...
I kinda misread the name... What has changed in the treeview since version 5 then? What do you need from the treeview?
I use the new version treeview all the time, and have found no odd behaviour...
Gerco.
The whole challenge is to change background and text color of the TreeView.
I found I can use TVM_SETBKCOLOR and TVM_SETTEXTCOLOR messages, but I also found this didn't work properly in 6.0 version (see the quotation).
Any other ideas?
Hmm, didn't try... can't you just set the properties for that? Or doesn't the treeview have backcolor and textcolor props?