Archive for September, 2006

Making XMLRequest Through Proxy Server

using proxy settings  in Ajax

but this only works for me when object is of type winhttp

dim objWinHttp
Set objWinHttp = CreateObject("WinHttp.WinHttpRequest.5")
objWinHttp.Open "POST", strURL
objWinHttp.SetProxy 2, "proxy1:8080"
objWinHttp.SetCredentials "gooddomain\userid", "goodpassword", 1
objWinHttp.SetRequestHeader "CONTENT-TYPE", "application/x-www-form-urlencoded"
objWinHttp.SetTimeouts 30000, 30000, 30000, 30000
objWinHttp.Send m_cPostBuffer
if Err.number <> 0 then strHTML = "There is a problem in reaching the Remote host. Please try again later, or contact the Content Manager if the problem persists. Error: " & Err.number & " " & Err.description & strURL & " " strHTML = strHTML & "Status: " & objWinHttp.Status & " " & objWinHttp.StatusText ‘ Get the text of the response. else strHTML = objWinHttp.ResponseText
end if Set objWinHttp = Nothing ‘return the html to the calling program GlobalScreenScrapex = strHtml end Function

Orignal Article


Leave a comment

Facing Errors

recently during a project i was facing some trouble, i had written a script that was working fine on IE but making no response or callback event on Firefox…

after alot of search a very little mistake was found by some one at mozilla development mailing list.

onreadystatechange spellings were all lower case while mine were Came case. 😉

woooo! now its working fine.

Leave a comment

Ajax Working

during my R&D i came up with alot of Ajax Options…it was Interesting…
I have tried Anthem.Net its good but easiness comes with limitatins but still i like it very much..

Next Came Dojo….i have just downloaded and seen its GUI its good and well structured.

Yahoo!’s Ui Library is another option too…

i am using Aptana Editor for Ajax Coding its providing some good intellisense support for Javascript.

if any body new any other please tell me too.

Leave a comment

Mini Wiki Parser

i was Writing a WikiParser….i am also thinking about hosting it on

lets hope i will be able to do so. 🙂

Leave a comment

Accessing Webservice from asp/php

some days ago I came across a problem during a project, i was trying to access Webservice from asp page that was hosted on another domain, but operation was "timed out". webservice was there you can call it you can review it, was working fine from DotNet. but when ever from asp/php it was not.

so after some research here is the remedy:


<add name="HttpGet" />
<add name="HttpPost" />

these line should be located in system.web tag of web.config.

according to Microsoft these lines are supposed to be already added to machine.config but in majority cases it is not.

Leave a comment