>Please excuse my persistence ( and apparent ignorance ) here, I must be missing something, either on the C++ end or the IE end of things.
>
>If I am understanding correctly, based on what you, Ed R. and Erik have said, I should have created a COM component in C++ ATL that is capable of being instantiated in a web page using Createobject() in VBScript. The DLL currently very simple with only a single function containing one API call in it. It has been tested successfully in VB and VFP.
>
>However, there must be something you all think I know that I must not know, because I cannot get the object to instantiate in a web page on my local machine that built the DLL. IE returns "Error: ActiveX component can't create object: 'SysData.IssSysData'" at the Createobject( "SysData.IssSysData" ) statement.
If you have your browser set up to not instantiate ActiveX objects any call to Createobject will fail. Using CreateObject on a Web Page is usually not a good idea, because CreateObject will have no way to automatically download a component and thus can't check for signatures. It requires that the component is already there.
That said the right way to deal wtih objects in a script page is to the use the < OBJECT > tag, which on the other hand won't work with every object (CreateObject works with any registerd component that supports IDispatch - youc an even instantiate VFP that way given you have rights).
You process should be: make sure the component works in VFP. Then move it into the script page with < OBJECT > making sure you don't have ACtiveX controls/objects disabled in your security settings.
+++ RIck ---