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!

OCX controls and VC++

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Got a quick question. We have an OCX library that has buttons and stuff in it. How would I include that into my VC++ project so that I can use these user defined buttons? Any and all informatio would be greatly appreciated.

Niky Williams
NTS Marketing
 
In VC++ 6.0 IDE click on Project -> Add to Projects -> Components and Controls and then open Registered ActiveX Controls then Insert the required control. Note your Control should be registered first you can do that by either double clicking on your .OCX file or using regsrv32. This will automatically generate wrapper class files for your control.
I would like to point out that your control has to be created first before using. Hope this helps
 
Oh, that's easy..I feel stupid now. Thank you so much for the information.

Niky Williams
NTS Marketing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top