Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Progress bar and Status bar control missing

Status
Not open for further replies.

vyper78

Programmer
Feb 5, 2004
30
AU
Guys

An interesting problem.

When loading my program lately, it came up with some tmp file error. I would continue to load, but I noticed that my status bar and progress bar on my main form had been turned into picture boxes (and hence code specific for the progress bar and status bar control would not fire).
So, I decided to delete them off the form and re-insert them. However, they didn't appear to be on my control palet. Now, I'm pretty sure that these types of things are "common controls". I went into the components section and made sure that the "Microsoft Windows Common Controls-3 6.0" was selected.

I went and tried the other Common Controls versions. I found that version 5.0 came up with a status bar and progress bar. I started to use those until I realised that the progress bar did not have a "smooth" option. Therefore I'm assuming that there is an updated one in a later version that isn't showing up.

I know this is a long-winded message, but this is an SOS for help.

Ideas?

Ken.
 
Found the Answer!

I found that the file that I couldn't install was the mscomctl (Common Controls 6.0) - it kept coming up with an error "Name conflicts with existing module ...".

I fixed it by opening project in notepad, finding reference to 'mscomctl' and deleting it. I was then able to open project and enable the Common Controls 6.0 component and vwala - the progress bar and status bar returned.

Hope this may help others who find themselves frustrated with such an error.

Ken.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top