Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Updates To Windows Common Controls?


Hi,I have a little problem. I have an Access application that uses the TreeView control in the mscomctl.ocx file. To my knowledge, this set of controls is installed with either Office 2000 or some service pack of NT (in addition to VB 6.0). The problem is that I need at least the SP3 version of these controls. I have VB on my machine, so I have the updated control to use with Access, but everyone else has the older controls that were installed with NT/Office.Now, as far as I can find on MS's site, the only way to update these controls is to install SP3 on a machine that has VB6.0 - in other words, there's no way to just update that file itself if you need to use it with VBA in Office....SO.....does anyone know if I can legally distribute this file with my Access application since I have VB6.0 on my machine, or does everyone else have to have VB6.0 for me to legally upgrade their controls? I can't find anything helpful on Microsoft's site.Thanks for any insight and help!




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
MS Windows Common Controls
Microsoft Windows Common Controls-2 6.0 (SP4)
DTPicker or Date Picker.
I use a .manifest to get the XP Visual Styles.
The style applies to all sections of my forms except this control.
I mean that DTPicker does not have the XP styles enabled, not ?
How to enable that for this control ?
I believe that there is a way to do this, do you know why ?
In the WindowsXP, open your Phone Dialer (x:Program FilesWindows NT)
Goto Phone Menu and then select New Conference.
You will see the DTPicker control with the XP Visual Style enabled!!!
I want it now, plz help me!

Windows Common Controls
hi
i have seen a lot of tutorials and codes which enhance the VB program into xp style
and i made one such code to use in my apps

my question is:
can windows common controls 6.0 be turned into XP style?!

so far, using this code makes only windows common controls 5.0 into XP style
5.0 uses ComctlLib and 6.0 uses MSComctlLib
as u no 6.0 is much better
sooooooooo
any ideas?!:S:S


PS:my code makes a manifest file

All About Windows Common Controls
hi, i have reference to both windows common controls, (sp6) and (sp5). now i have mixed controls on my form coming from these two components. but when i use treeview, i get an error: type mismatch... how do i get around with this?

WHERE'S MY M$ Windows Common Controls
Hi group,

I'm going insane. I didn't use VB 6.0 SP5 for a couple of months due to another project. Now I really need it but I cannot find the Microsoft Windowns Common Controls?!?!?!

How, why, when, what?

Where can I find it? Do I need to reïnstall the product?

Any ideas?

Regards,
Visual Sander

MS Windows Common Controls
Hello!

Does anyone know where can I get MS Windows Common Controls 6.0 (Comctl32.dll)?
Any link really appreciated. If someone has it on his computer, can you send it to me by e-mail?

Regards
Zvonko

Windows Common Controls 6.0(sp6)
Hello VB people,

I am trying to use the progress bar from the Windows Common Controls 6.0(sp6) in VB6, and I haven't the slightest idea how to get started. I basically want the progress bar to run as other forms load. Any help would be appreciated.

D


MS Windows Common Controls 6.0 (SP4)
Hi Everybody,

recentlly, I have a problem when I tried to add the Microsoft Windows Common Controls 6.0 (SP4). When I clicked on Project menu --> Componrnts --> Check beside "Microsoft Windows Common Controls 6.0 (SP4)" a message box appear which said "File format no longer supported". I thought may be the "MSCOMCTL.OCX" file is damaged, so I downloaded a valid one from the NET, but still I have the same problem & same error message. Could anybody please help me?

MS Windows Common Controls
Hi,

I am updating an existing VB code developed by somebody else. Somehow I have managed to introduce two similar controls in the project components. They are
MS Windows Common Controls 5.0 (SP2) & MS Windows Common Controls 6.0 (SP4). If I try to remove either of them I get a message 'Can't remove control or reference, in use'. How do I figure out which control is being used where so that I can remove one of these.

Having these controls is giving me a type mismatch error at the following line in my code.
Set nodX = TreeView1.Nodes.Add(, , FolderID, foldername, ImageList1.ListImages(1).Index)

When I Full Compiled the project, it did not give any error. I also tried replacing the Imagelist index with the Image name. Neither of these approaches worked.

I confirmed that the two controls are causing the problem. I had a very old version (cannot track between these two versions on changes since I did not use sourcesafe) and this part of the code works fine there. The values of parameters while debugging are same. The nodx has been defined correctly in both the versions.

Any guidance ( maybe step by step) would be greatly appreciated.



Thanks in advance

MS Windows Common Controls
Hi,

I am relatively new to VB programming but have used Lotuscript which is a subset of VBScript.
Currently I am working on a Visual Basic 6.0 project. I am updating an existing code developed by somebody else. Somehow I have managed to introduce two similar controls in the project components. They are
MS Windows Common Controls 5.0 (SP2) & MS Windows Common Controls 6.0 (SP4). If I try to remove either of them I get a message 'Can't remove control or reference, in use'. How do I figure out which control is being used where so that I can remove one of these.

Having these controls is giving me a type mismatch error at the following line in my code.
Set nodX = TreeView1.Nodes.Add(, , FolderID, foldername, ImageList1.ListImages(1).Index)

I confirmed that the two controls are causing the problem. I had a very old version (cannot track between these two versions on changes since I did not use sourcesafe) and this part of the code works fine there. The values of parameters while debugging are same. The nodx has been defined correctly in both the versions.

Any guidance ( maybe step by step) would be greatly appreciated.

Thanks in advance

Sushant

Windows Common Controls
Hi,
I have recently been given a project that was written in VB5. I use VB6 and i was wondering if anyone knew of a way to "upgrade" the common controls that come with VB5 to the ones that come with VB6.
Basically my problem is that I want to get rid of all the VB5 toolbars and imaglists and use the ones that come with VB6. I don't however want to redo all the images and the toolbars that come wih VB6 don't recognise VB5 imagelists.
Any help appreciated.

Microsoft Windows Common Controls 6.0 HELP!!
I'm using Visual basic 6.0 Enterprise. I have one problem. When i add component Microsoft Windows Common Controls 6.0, and when inser status bar, and start program, my window looks fine, and status bar is cool. But when i resize form, i get hole in right corner of status bar.Is this becouse of my Windows Millenium Edition ( at my friend, he have Win98 and this is not case for him), or this is problem with my MSCOMCTL.OCX file????
HELP!!!!

Microsoft Windows Common Controls SP4
With the Microsoft Windows Common Controls, SP4, I put a toolbar in my project. How would I add/remove buttons from it? I know you can double - click on it during runtime to bring up a list of icons you can put in, but that list is empty! I was looking for a command like:

Code:
Toolbar.AddButton "Hello", "C:/Windows/Icon.ico"

MS Windows Common Controls - Toolbar
I was using this code for Toolbar v6.0:

Code:
Private Sub Toolbar_ButtonClick(ByVal Button As MSComctlLib.Button)
On Error Resume Next
Select Case Button.Key
Case "New"
NewMenu_Click
End Select
End Sub
Now I need to downgrade to Toolbar v5.0, but this code won't work:
Error: Procedure declaration does not match description of event or procedure having the same name.

Upgradind Windows Common Controls
Hi all,
I start a project in vb6, and I use some contents of Microsoft Windows Common Controls. But the Component checked, it's Windows common controls 5.0. Now, I need to change this to windows common controls 6.0, because I need some features of it. But when I try to uncheck the 5.0, appears a vb message saying what I can't change the reference because it's in use. And when I check the 6.0, appears a vb message saying what have conflicts with names.... There's another way do upgrade the controls?

Problem With Windows Common Controls
Hi there,
I've been developing a small application using VB 6.
In one of the forms, I have a couple of DTPicker
controls and they'd been working fine until a short
while ago just after I installed a commerical software
which contains a newer version of both MSCOMCT2.OCX
and COMCT232.OCX. These newer versions have
overwritten my older ones making my form unloadable.
So what should I do in order that both my application
and the commercial software can work? Anyone would
like to help? Thanks in advance.

Jeremy

Windows Common Controls Hotfix
FIX: The Windows Common Controls Mscomctl.ocx or Comctl32.ocx may cause your application or the Visual Basic 6 IDE to unexpectedly quit, or you may receive a "Divide By Zero" error message




Two strings walk into a bar. The first string says to the bartender: 'Bartender, I'll have a beer. u.5n$x5t?*&4ru!2[sACC~ErJ'. The second string says: 'Pardon my friend, he isn't NULL terminated'.

Microsoft Windows Common Controls 2- 6.0 Error
whenever i try to use or open a project using this component i get an error "object library not registered"

i tried to reinstall vb6 but it doesnt work..

can anybody help me!?!?!?

thx

Dropdown Buttons With Windows Common Controls 5.0
I am trying to achieve a windows XP style with my VB software, and found plenty of resources telling me that I had to use Windows Common Controls 5.0

This seems to work wodnerfully. However, I am having the issue of not being able to make dropdown buttons in my toolbar with these controls, whereas it is very easy with Windows Common Controls 6.0

Am I missing something, or do dropdown buttons simply not exist in 5.0? If that is the case, are there any workarounds?

Microsoft Windows Common Controls 6 / ListView
I've had a heck of a time finding a good example to do some simple appending to a ListView in ReportView mode. I finally figured it out (for a database search result form) so if anyone else has had the trouble ive had... here ya go!

Code:
With ListView1.ListItems.Add()
.Text = "Column 1"
.SubItems(1) = "Column 2"
.SubItems(2) = "Column 3"
End With
ListView1.View = 3 ' lvwReport
ListView1.FullRowSelect = True

Tab Control > Microsoft Windows Common Controls
Can Anyone help me with the Tab Control in Microsoft Common Controls?
I know how to make different tabs, but how can I make another 'form' appear when I click one of the tabs...
Just like the ones used in dialogs (word for example)

I've read something about a picturebox? but I don't know how to use it.
Any help is apreciated.

Thanks!
Jop

Missing: Microsoft Windows Common Controls (SP2)
I have installed VB6.0 in win 98 and tried to compile one of my VB applications. But the error message came as

" cannot find project or library" and on Clicking "OK" it showed that

Missing: Microsoft Windos Common Controls (SP2). How do i rectify it?

Referencing Extended Windows Common Controls
Hi, I understand one can add the IP Adress control to your project.

This control is found in the comctl32.dll file but when I try adding it via Project >> References >> Browse.. navigate to the file it says, "Could not add the specified file."

What gives?

Help is greatly appreciated.

Using List View Control In Windows Common Controls 6
Using a list box, am trying to show data from a database which the data is in access. The forms layout is setup that when your asked to enter a surname i.e Smith, it should display all the names begining with s until you type sm then narrow it down etc..
Please Help

Using List View Control In Windows Common Controls 6
How do you list items using this control with data from access.

*RESOLVED* ListView (Microsoft Windows Common Controls 6.0) With A Context Menu?
I'm using this ListView and was wondering if I can put a context menu on it? If not, is there a ListView control, free or that comes with VB / SP that does support a context menu?

Thanks.

Corrupt Comctl32.ocx &"Microsoft Windows Common Controls 5.0&" On XP
I have an HP desktop, XP home, with HP printer & scanner.

All of my VB apps that use comctl32.ocx (TreeView, ListView, ImageList, etc) constantly complain at startup that they can't find the file "hpmdinst.msi" "HP Memories Disc".

These same programs run fine on my other non-XP PCs.

I've scanned several systems, several CDs, and the web for this file. Nothing. DogPile had one hit - in Chinese.

Tried replacing comctl32, no diff.

Has anyone else seen this? Does anyone have any suggestions?
It's not fatal, but it is very annoying.

Thanks, DaveBo

Missing &"Microsoft Windows Common Controls-2 6.0 (SP4)&"
Hi,

I'm trying to add the DTPicker into my form, but somehow, my "Microsoft Windows Common Controls-2 6.0 (SP4)" is only SP3 and NOT SP4. Are there any settings to alter this? I'm using VB6, by the way. Can somebody please help me? It's driving me bonkers. Or is there another alternative to enable users to select dates other than the DTPicker?

In need of help,
Val

&"windows Common Controls&"
I have windows XP pro and visual basic 5 professional.
I tried to add "microsoft windows common controls 5.0 SP2" (comctl32.ocx) to my control library but VB say "you do not have appropriate license to use these controls"
Could the reason be that I am using Windows XP and you need a win98 SE license to use them? If so how can I bypass this? (I also own Win 98 Second Edition but it's not installed on my computer.

Smoth Updates To Listview Controls
Hello,

First post in this forum so I'd better start with a question!

I've written a VB app that displays information in a listview control in lvwReport mode. So far so good, but when the contents of the control is updated progmatically a nasty flicker effect can be seen (this may also be due to changing the smallicon value of each row).

Anyone know how to perform a smooth update to the control?

VB6.0 - Listview Control - (MSCOMM32.OCX)

App can be downloaded from: http://mankychicken.tripod.com/Serve...ServerPing.htm

It's a utility to work with the eDonkey network.

Look forward to your responses.


Cr1spy.

File Size And Multiple Controls In A Single OCX (like Common Controls)
I have been working on several controls that all draw with similar graphic methods, such as UseXPTheme, System, OfficeXP, Office2003, etc. DaVBMan reminded me that I can have several public controls in a single ocx like the Common Controls do. So far I have an autohide toolbar, custom button, custom frame with titlebar, scrollable container, and a system listbox. I also have a few more ideas for additional controls.

Here is what my concern/question is. For arguments sake, let's say the name of my main ocx is IDKControls. Then pretend that the size of the complete ocx is 1 meg. Somebody adds a reference to my ocx so all these controls show up in their vb toolbox. Then let's say the only control from the ocx they use is the custom button. When they build their setup for their program, is the entire size of the main ocx included in their compiled app, or just my control(s) that they use?

I guess my primary reason for asking is I'm trying to decide whether to set my controls up as stand-alone controls, or whether to go with the main ocx that contains all the controls. If I go with a single ocx I can move most of my graphic methods to a module that would be used by all the controls.

I have learned a lot in the past few months about drawing custom graphics, but when it comes to designing something like this I am still dealing with some very large holes in my knowldedge! Thanks


God Bless America

Windows Registry Updates Under Project Compatibility
I'm a bit confused about the Project compatibility option available to ActiveX components.   One book I have says that under Project compatibility the Windows registry is updated each time the ActiveX server/component is compiled, thus requiring you to recompile all the clients too.  However, another book says the Widows registry is only modified if a component is no longer backward-compatible.  Only in that event, will you need to recompile the clients.  Can anybody shed some light this discrepancy?

It might be useful to me and others if somebody could compare and contrast Project Compatibility and Binary Compatibility in plain English.

Thanks,
Jon   


User Controls And Windows Installer --controls Aren't Getting Registered
Hi,

Can anybody give me the rundown on what I need to do toget my user control to install with my application. I have a moving graphic control that uses a slider [MS windows Common Conrols 2(6.0)].It runs just fine when I test-install on my development drive--Win2K Pro on my secondasry IDE..

Well, that's no big trick since VS 6 Enterprise is already installed, and my control was registered locally when I built it. The problem is that when I reboot to my testing drive--NTS4 on my primary IDE-- it finds a data type mismatch. At first, I was getting a message saying that MSCOMCT2.OCX was not properly registered, or that a component was missing. After I included the control in the components for my main project [where it is not used directly, only through my user control], I no longer got the error for that component. It still doesn't start up properly though. I'm wondering what I'm missing in my installer.

Another thing I'm wndering about--and I don't know if this is related--is the ADODC controls. I have had problems with the events for these controls. A week ago, when I tried switching from ADO 2.0 to ADO 2.5, the compiler didn't recognize the signatures for these events, and I had to switch back to get them to work. Now the situation is reversed. The compiler started objecting to ADODC events again, and I had to switch the reference to ADO 2.5 to get the program to compile. Could this be the source of the data type mismatch that NT4 sees?

Any suggestions for how I can get the installer to install dependably would help.

Thanks,

Joseph

Joseph

Common Controls
I have been given the task of pruducing an input form to be filled in by a number of different people on different versions of windows, etc. It will contain a number of text fields, option buttons, combo boxes, etc to answer a variety of questions. This will be distributed in the form of a single executable, that will produce a text file containg the answers that can then be sent back to me for evaluation.

My challenge is that the executable cannot have an install file to register any files of any kind, so I need to include controls that most (preferably all) people will have on their systems already. How can I find out roughly which controls come with windows as per standard, so as to avoid any errors when trying to run the file on different machines.

Any help would be gratefully recieved.

Thanks in advance

Al.

Can't Use Common Controls 5
Im getting an error when i try to add Commont controls 5 to my project

Im running win xp sp2
VB6 pro


I have tried to unregister and reregister the comctl32 ocx and dll, when i try the dll it says that its loaded but cant find the entry point

I can add the controls to my ide but when i try to draw one on a form it gives me

"Licence Information for this component not found. You do not have an appropriate licence to use the functionality in the design environment"

Anyone else have this happen to them?? or know a way to fix it ??

Which Common Controls Do You Use?
Hi

Just wondering what version of Common Controls you use, I usually use Version 6 but it is buggy with some API. And I wish to use these API so I will need to use version 5.
But my program will be run on other computers so would version 5 cause problems? (they may already have Common Controls 6 installed from another program)

Thanks

Common Controls
How can I tell which version my controls are from?

It appears that some of mine are from 5.0 and others from 6.0.

Thanks!

Common Controls 6?
Can anybody please send me Common Controls 6 i am desperat.

MS Common Controls 2
Anyone care to upload their copy of it? I need the one that comes with VB6.0 Enterprise with the latest service pack.

Using Common Controls On The Web
I'm trying to port my program to web w/HTML/VBscript. This prog. uses MS-ComCtl 5 (COMCTL32.OCX). I can get some of it working, but whenever I do anything image related, (that is, it relies on ImgList) it tells my the Image List must be initiailized first. I assume VB does it automaticly, but howe do I do it manually from code?

Common Controls
Can anyone direct me to some good tutorials on using some of the common controls in the toolbox? I just stumbled across them yesterday and haven't been able to find much reference to many of them aside from msdn. Thanks.

Common Controls 6.0
hello
I sat and played around on my other computer and found that in vb5 I had something called Microsoft Windows Common controls 6.0 and some other controls 6.0 that's not present on my "first" computer. I'm pretty sure that I have made the same kind of installation of VB5 on both machines.
Does anybody know where this file might have come from?
I've notcied that sometimes when I install a servicepack to Office or IE, VB gets some new components. Is it from such a service pack?


------------------
On Error Goto Bed :0)
anders@zsystemdesign.se

Common Controls 6.0
Hi,

How do I use the common controls version 6.0, provided by windows xp, in my application? I know how to do it in visual C++, but at the MSDN site they didn't tell you how to do it in visual basic. Does anyone know how to enable them?

LuCkY

Designs For Common Controls
I would like to make a few custom controls but I'm stuck on the maths, I would like to make a ProgressBar and a Scrollbar and maybe a slider

For the progress bar:
1)How to convert the the value in t a percentage to display on the progressbar
2)A drawing function for colouring it in

For the Scrollbar:
1)The maths to get the "sliding block" size in the bar

For the Slider:
1)How to set a value based on the location of the sliding object

Common Dialog Controls
I have to choose files from the commondialog.showopen box in the following format abc.txt.1 and abc.txt.2 and abc.txt.3 and so on. I would like to filter out all but the latest file (abc.txt.3). The application the files are saved from, adds the file rev to each file at the time of saving.

--------------------------------------
Jared Sund
Pro/E Support Raytheon
(254)867-4388

Registry For Common Controls
Using VB 6.0 with Excel 2000, to use common controls, I need to adapt the registry to avoid the licence error. Where can I find these "extra controls" ? I already check KB item 318597, but answer is not relevant. Thanks in advance.

Microsoft Common Controls
Hello
I was checking out the Microsoft Windows Common Controls

I have got 5 of them when i hit ctrl +T
isn't there one common control which holds them all

the 5 i can see are
Microsoft Windows Common Controls 5.0 (SP2)
Microsoft Windows Common Controls 6.0 (SP6)
Microsoft Windows Common Controls-2 5.0 (SP2)
Microsoft Windows Common Controls-2 6.0
Microsoft Windows Common Controls-3 6.0

Microsoft Common Controls-3 (sp5)
for some reason i don't have the ocx for microsoft common controls-3 (sp5)... the coolbar control is supposed to be in that ocx!!! if it is possible please give me a link to download that ocx!

Upgrading MS Common Controls
I am now working on Visual Basic 6 on a project created with Visual Basic 5 which uses Microsoft Windows Common Controls and Microsoft Windows Common Controls-2

The project obvously uses the version shipped with that release of VB, i.e. MS Common Controls 5.0 (SP 2) and MS Common Controls-2 5.0 (SP 2), while I would like to upgrade those controls to the current versions, which are MS Common Controls 6.0 and MS Common Controls-2 6.0 (SP 4) respectively.

Can anybody tell me how to do this without losing code?

Thank you very much in advance

Printing With The Common Controls
How do you tell the Common Control Dialog what to print?

Copyright © 2005-08 www.BigResource.com, All rights reserved