View Full Version : ActiveX

11-10-2004, 02:23 AM
Has anyone happend across a half decent ActiveX tutorial? I'm looking to write an AcitveX control that will read a computer's hardware configuration, eg; mobo, chipset, hdd etc.. I can program in C++ and VB, and well MFC isn't particularily hard but I try to avoid it at all costs but I've just not go a clue about communication that has to go on and where to really begin with setting up such a control. The meat of it I can handle no sweat, but it's just getting started that I'm lost with.

11-10-2004, 03:29 AM
ive never used active x to do this but isnt active x jus a set of librarys for visual basic, i was just thinking wouldnt active x be too high level for this, surely theres a windows api function that can return all the info windows stores on your computer

correct me if im wrong , just an idea

11-10-2004, 03:51 AM
Well, this has to work through a browser. Hence the use of activex. I have no problems getting the required info from the computer in any language, it's just that I have no idea how to actually write a control which will manage and send this data for me so that I can work with it serverside.

11-12-2004, 06:19 PM
Here are some links:
MSDN: Component Development (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/com/htm/comportal_3qn9.asp)
ActiveX Programmerís Reference (http://www.dwam.net/docs/oleref/)
COM Tutorial Samples (http://gis.pku.edu.cn/Resources/archive/1998dcom/ms/samples/tutorial/tutorial.htm)
Developing ActiveX Components
with Visual Basic 5.0 (http://www.emu.edu.tr/english/facilitiesservices/computercenter/bookslib/Dan%20Appleman's%20Developing%20ActiveX%20Components%20With%20VBasic5/)