|
-
Jun 18th, 2002, 10:17 AM
#1
Thread Starter
Addicted Member
Very basic
Hi. I have this very basic question. I´ve never used an ASP command in my life so....
I'm already connected to the internet.
As I imagine I have an ASP exe in a server that if I sen a command like the one that follows:
--CODE--
var mobj = new ActiveXObject("Microsoft.XMLHTTP")
var xmlDom = new ActiveXObject("Microsoft.XMLDOM")
mobj.open ("POST", "serverName ortNumber/SMSForum/getXML.asp?forum_id=1&username=aaa&password=bbb" ,false)
mobj.setRequestHeader ("Content-Type","text/xml")
mobj.setRequestHeader("Cache-Control","no-cache")
mobj.send ("<send>empty</send>")
xmlDom.async = false
xmlDom.loadXML(mobj.responseXML.xml)
if (xmlDom.parseError == 0){
// access to the object XMLDOM permited
}
--END CODE--
How can I convert this into a function in VBasic ??
Sorry for the basic question but I only programm in VB for front-end to video-graphics programs.
Sorry once again.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|