Hi all,
I created a COM Class DLL and was able to run my application on local. However, when I shifted everything to the virtual directory, it started giving problem. Particularly problems like, "Retrieving the COM class factory for component with CLSID {XXXX} failed due to the following error: 80070002", and "Cannot create ActiveX component". However, due to trial an error, these errors might not be the error we are looking for.
I guess the problem is that the COM is not register in the virtual directory or something. I'm not certain. Would be extremely grateful if you guys would be able to give me a hand on this, thank you!
The DLL is "SPB231.dll" and it runs normally on local when I call for it via CreateObject("SPB231.SPB231").
A portion of the responsible codes will be given:
Dim dllCaller As New Object
Dim dllName As String
dllCaller = Microsoft.VisualBasic.CreateObject(dllName & "." & dllName)
dllCaller.cmdVar(clicked)
buildXML(dllCaller.theForm(), dllCaller.theScreen(), dllCaller.theURl())
ASKED:
Aug 5 2009 4:26 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _