Hi,
I am using a
VB 6.0 component in ASP page.I get a "Type miss match" error wherever i used Server.CreateObject method. This method i used for creating a class object of a DLL.
Here is the code i am using.
Dim objLogin
Set objLogin = Server.CreateObject(Cstr(strComponentName) ".clsLogin")
'Call ValidateUser method of login object.
Set objRSValidLogin = objLogin.ValidateUser(strUserID, strPassword)
strComponentName contains component name.
I am surprised that even if get this error for a page,it does not come if i refresh the page.
Please let me know if you have any ideas on the same.Because i am really not able to find any solution for it.
Thankx in advance!