|
caedrel -> RE: Registering an ActiveX control (9/20/2004 8:16:33 PM)
|
From the article by Chris Tacke: An extremely common question that comes up in the eVB newsgroups and developer web sites is the question of component registration. The questions usually take one of the following forms: "I've created an application that works fine on the emulator, but when I copy it to the device I get an error: 'Active-X can't create object.'" Or "My application is giving me the following error: 'The control GridCtrl1 ({532C2C02-6B55-11D1-9AA5-00C04FAD5AEC}) could not be created. What is wrong?" Both of these errors indicate the same problem: a required library is not registered on the device. Active-X controls and libraries are contained most often in DLL files. These files must be "registered" with the device so that when your code tries to create one, either with a call to CreateOnject or by placing it on a Form, it knows what DLL to call. (For how to go about doing this, see the full article by here)
|
|
|
|