Welcome to Dream.In.Code
Getting C# Help is Easy!

Join 132,120 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 1,995 people online right now. Registration is fast and FREE... Join Now!




MSXML2.SERVERXMLHTTP

 
Reply to this topicStart new topic

MSXML2.SERVERXMLHTTP, How to use MSXML2.SERVERXMLHTTP ?

reshma.bhandare
post 19 Apr, 2008 - 04:46 AM
Post #1


New D.I.C Head

*
Joined: 19 Apr, 2008
Posts: 1

i m working on this code, but, i dont know proper sintax thats why i m getting error like object can not define open() function,
Is there anyone who will giv me proper syntax for the same,

object objxmlhttp =new object();
objxmlhttp = Server.CreateObject("MSXML2.ServerXMLHTTP");
objxmlhttp.open("GET", strurl, false);
objxmlhttp.send();
strrandomaccesscode = objxmlhttp.responsetext;
Session["strrandomaccesscode"] = strrandomaccesscode;

Thanks in Advance.
User is offlineProfile CardPM

Go to the top of the page

PsychoCoder
post 19 Apr, 2008 - 05:09 AM
Post #2


using DIC.Core;

Group Icon
Joined: 26 Jul, 2007
Posts: 8,914



Thanked 117 times

Dream Kudos: 8475

Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions


Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: code.gif

Thanks smile.gif

I will let you know that there is no Server.CreateObject() in C#
User is online!Profile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/21/08 10:52AM

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month