I need help in finding the name of a COM object.
For instance if I need to use the CDO object in WIn2k I use:
oMsg = CREATEOBJECT("CDO.Message")
and to use the windows Scripting :
oWshFile = CREATEOBJECT("Scripting.FileSystemObject")
But how exactly do I find out that I am to use "CDO.Message" or "Scripting.FileSystemObject"?
Specifically the "CDO" and "Scripting" part when I want to use COM libraries.
For instance when I open the Object browser in VFP and select the COM tab, I see all these COM servers(?) listed with events, methods, properties etc.
But I can see nowhere the name that I can use in my CREATEOBJECT(cClass) statement.
So, how exactly do I get this information from a COM server so that I can use it in a VFP application.
IN VB all that is needed is to include a reference to it in my project and use the name displayed there.
In VFP is it guesswork or is there some way of finding out?
Thanks
Bernard