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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error No: 438; Object Doesn't Support this Property or Method 2

Status
Not open for further replies.

beckwiga

Programmer
Mar 30, 2005
70
Oddly enough, it seems all my Forms have stopped working properly. When I try to open each, I get an error "There is no object in this control" followed by the error "Error No: 438; Object Doesn't Support this Property or Method." All forms use the ListView control, but thats really about it. I had thought that the ListView control was part of mscomct2.ocx, but I'm not really sure. At any rate, it is registered and defined in my available References. I don't know what the heck has happened. All I can think is that I ran several spyware cleanup programs, and maybe somemthing unregistered these controls I registered manually?? Can someone verify the control I need to register for this ListView? The class for the listview is MSComctlLib.ListViewCtrl.2

Any comments appreciated...

 
Hi, beckwiga,

Could be. Which spyware apps did you run? If you check your references, the list will tell you if one is missing. If you select the missing one, it will also display the name of the file that contains the control. That's the one you need to re-install/re-register.

Ken S.
 
Treeview is such a fun control, but it does have its quirks.

Opening one of the offending forms in design view and insert a new treeview control. Then delete it. Your library reference may need refreshing.

Cheers,
Bil
 
Bil --

Did you mean insert a new ListView control instead of Treeview? I went to insert a Microsoft ListView, but it has disappeared from my controls list. I swear I used to have a Microsoft ListView control. I manually reregistered the mscomct2.ocx, but I still do not get the control back. Is this the right components to register? Under my references, I have nothing missing. Also, when I right click on my listview box (in design view) as if to go to the ListView Object properties, it is not there. See example.bmp


Anyone know where my control went or what I need to install to get it back? I'm assuming I want the Microsoft ListView. The spyware programs I ran were AdAware and Spybot S&D.
 
Actually.. I think i just figured it out.. I re registered my mscomctl.ocx and its back now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top