Click here to Skip to main content
16,006,709 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: problem Pin
Bradml7-Dec-06 20:21
Bradml7-Dec-06 20:21 
Questionhtml problem Pin
amaneet6-Dec-06 22:31
amaneet6-Dec-06 22:31 
AnswerRe: html problem Pin
Bradml6-Dec-06 22:47
Bradml6-Dec-06 22:47 
GeneralRe: html problem Pin
amaneet6-Dec-06 22:57
amaneet6-Dec-06 22:57 
GeneralRe: html problem Pin
Bradml6-Dec-06 23:11
Bradml6-Dec-06 23:11 
QuestionZip file Parsing Pin
Ashish_chd6-Dec-06 18:10
Ashish_chd6-Dec-06 18:10 
AnswerRe: Zip file Parsing Pin
Vasudevan Deepak Kumar6-Dec-06 22:17
Vasudevan Deepak Kumar6-Dec-06 22:17 
QuestionDebugging AJAX... Pin
Jesse Evans6-Dec-06 11:28
Jesse Evans6-Dec-06 11:28 
Hi, folks!

Ok, here's the scene: I have an html page into which I want to put some data from an SQL database. The page uses the following code to do that:
   var xmlDoc = new ActiveXObject("MSXML2.DomDocument.3.0");<br />
   xmlDoc.async=false;<br />
   try<br />
   {<br />
      xmlDoc.load("DbInterface.asp?Method=QueryRecs&TheSN="+TheSN.value);<br />
   }<br />
   catch (e)<br />
   {<br />
      alert ("Error Loading XmlDoc: " + e.description);<br />
      delete xmlDoc;<br />
      return;<br />
   }<br />
<br />

Ok, now in DbInterface.asp I get and return the recordset by use of the following:
var rs=Server.CreateObject("adodb.recordset");<br />
rs.Open (sql,conn,adOpenKeyset);<br />
rs.Save (Response, adPersistXML);<br />
rs.close;<br />


This all works quite well, but here's my question: I had once figured out how to have DbInterface.asp display the XML of the recordset instead of returning it to the calling page. This made it pretty easy to see if the recordset was correct. I thought I had just replaced the rs.Save call with Response.Write (rs) and using window.open instead of xmlDoc.Load in the calling page, but I get the following error:
Response object, ASP 0185 (0x8002000E)<br />
A default property was not found for the object.<br />


Is anyone out there able to jog my memory? TIA!

[Edit]
Oh, and is there a way to avoid the Confirm dialog when using Window.Close() ?
[/Edit]

'til next we type...
HAVE FUN!! -- Jesse

AnswerRe: Debugging AJAX... Pin
Bradml6-Dec-06 12:45
Bradml6-Dec-06 12:45 
QuestionLoading XML Document Pin
dsk_dennis6-Dec-06 10:41
dsk_dennis6-Dec-06 10:41 
QuestionWhere do I put my initialization code in my custom web component vb project? Pin
howardjr6-Dec-06 5:27
howardjr6-Dec-06 5:27 
AnswerRe: Where do I put my initialization code in my custom web component vb project? Pin
howardjr8-Dec-06 6:54
howardjr8-Dec-06 6:54 
Questionhelp needed......Payment Gateway Integration Pin
NileshUpadhyay5-Dec-06 19:55
NileshUpadhyay5-Dec-06 19:55 
AnswerRe: help needed......Payment Gateway Integration Pin
theJazzyBrain5-Dec-06 21:46
theJazzyBrain5-Dec-06 21:46 
GeneralRe: help needed......Payment Gateway Integration Pin
NileshUpadhyay5-Dec-06 22:50
NileshUpadhyay5-Dec-06 22:50 
GeneralRe: help needed......Payment Gateway Integration Pin
theJazzyBrain6-Dec-06 0:06
theJazzyBrain6-Dec-06 0:06 
QuestionModal popup window compatible with IE and Firefox 2.0 and below Pin
jpatexor5-Dec-06 19:18
jpatexor5-Dec-06 19:18 
AnswerRe: Modal popup window compatible with IE and Firefox 2.0 and below Pin
Vasudevan Deepak Kumar6-Dec-06 1:30
Vasudevan Deepak Kumar6-Dec-06 1:30 
QuestionConvert URL in standard format if user doesn't enter correct format in browser address bar Pin
Amitux5-Dec-06 19:13
Amitux5-Dec-06 19:13 
AnswerRe: Convert URL in standard format if user doesn't enter correct format in browser address bar Pin
Vasudevan Deepak Kumar6-Dec-06 1:31
Vasudevan Deepak Kumar6-Dec-06 1:31 
Questionasking about ftp get function in php Pin
Arif Liminto5-Dec-06 15:03
professionalArif Liminto5-Dec-06 15:03 
AnswerRe: asking about ftp get function in php Pin
Bradml5-Dec-06 23:03
Bradml5-Dec-06 23:03 
GeneralRe: asking about ftp get function in php Pin
Arif Liminto5-Dec-06 23:44
professionalArif Liminto5-Dec-06 23:44 
GeneralRe: asking about ftp get function in php Pin
Bradml6-Dec-06 13:04
Bradml6-Dec-06 13:04 
GeneralRe: asking about ftp get function in php Pin
Sheethal_mehra6-Dec-06 0:38
Sheethal_mehra6-Dec-06 0:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.