can anyone see where im going wrong?..
im trying to pass a xml string into a vb6 dll, but i get a error
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: ''
/MyWeb/Guestbook2.asp, line 55
the code giving the problem is:
dim objGuestbookWriteNode
set objGuestbookWriteInfoDLL = createobject("Guestbookdll.Guestbookclass")
dim GetGuestbookWriteResult
GetGuestbookWriteResult = objGuestbookInfoDLL.Guestbookwrite(cstr(strXMLwrit e))
set objDOM = server.CreateObject("MSXML2.DOMDocument")
objDOM.LoadXML(GetGuestbookWriteResult)
and strXMLwrite is:
strXMLwrite = "<Guestbook><EntryID></EntryID><UsersIP>" & Request.ServerVariables("REMOTE_HOST") & "</UsersIP><DatePosted>" & NOW & "</DatePosted><Message>" & Request.Form("txtGuestbookEntry") & "</Message><UsersName>" & Request.Form("txtUsersName") & "</UsersName></Guestbook>"
and the dll is expecting in StrWrite as string.
can anyone help?...