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

oControl as Control

Status
Not open for further replies.

NevG

Programmer
Oct 10, 2000
162
GB
Hi People

Just tried ocnverting a small app to .NET. The main error I got was in a function trying to access the columnheaders property of a Listview after passsing the name of the listview in.

public function PopulateControl(oControl as Control)

end function

was the old way, says it cant resolve default property of the control for columnheaders.

what do I need to do different that will allow me to populate several differnt types of controls from the one function.

Thanks for any help

Neil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top