Hello, I am new to COM Programming. I have created a COM Object in vc++(ATL Wizard) with two simple functions add and subtract 2 nos. I need to test it using a vbs file. How do I proceed? How to include the DLL in this file. Can anyone help me? thanks, Jaya
1. Register the COM DLL on your machine. 2. In the VBS file you can use the CreateObject method to create an instance of the COM object and call its methods. Regards, UrStop
Also, if you are asking about VB Script in a ASP page then it would be server.CreateObject instead of just CreateObject