asp-classic

Where is the documentation for MSXML API? [closed]

穿精又带淫゛_ 提交于 2021-02-18 02:04:29
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Improve this question Especially for vbscript/ASP. set xmlDoc = CreateObject("Msxml2.DOMDocument.3.0") 回答1: At microsoft : http://msdn.microsoft.com/en-us/library/ms764730(VS.85).aspx At DevGuru ( updated link ): http://www.devguru.com/content/technologies/xml_dom/index.html 回答2: http:

Where is the documentation for MSXML API? [closed]

邮差的信 提交于 2021-02-18 02:02:16
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Improve this question Especially for vbscript/ASP. set xmlDoc = CreateObject("Msxml2.DOMDocument.3.0") 回答1: At microsoft : http://msdn.microsoft.com/en-us/library/ms764730(VS.85).aspx At DevGuru ( updated link ): http://www.devguru.com/content/technologies/xml_dom/index.html 回答2: http:

Where is the documentation for MSXML API? [closed]

寵の児 提交于 2021-02-18 02:01:52
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Improve this question Especially for vbscript/ASP. set xmlDoc = CreateObject("Msxml2.DOMDocument.3.0") 回答1: At microsoft : http://msdn.microsoft.com/en-us/library/ms764730(VS.85).aspx At DevGuru ( updated link ): http://www.devguru.com/content/technologies/xml_dom/index.html 回答2: http:

Thread Sleep in Classic ASP?

送分小仙女□ 提交于 2021-02-17 19:24:36
问题 I'm doing some revision on an old app that is written in classic ASP/VbScript. It has a feature to send out an e-mail to the members of the application, but because the member list is quite large, the server rejects new e-mails after the first hundred or so are sent. I've written some code to make it send out e-mails in burst of 20, but this still doesn't work. I think that perhaps making it sleep for a second between burst might work properly. However, I can't seem to find a Thread.Sleep

Thread Sleep in Classic ASP?

大憨熊 提交于 2021-02-17 19:24:12
问题 I'm doing some revision on an old app that is written in classic ASP/VbScript. It has a feature to send out an e-mail to the members of the application, but because the member list is quite large, the server rejects new e-mails after the first hundred or so are sent. I've written some code to make it send out e-mails in burst of 20, but this still doesn't work. I think that perhaps making it sleep for a second between burst might work properly. However, I can't seem to find a Thread.Sleep

What is wrong here MyPerfFee = (cdbl(TotforMonth)/100) * cdbl(trim(perfFee))?

牧云@^-^@ 提交于 2021-02-17 05:01:16
问题 In ASP, what is wrong at here : MyPerfFee = (cdbl(TotforMonth)/100) * cdbl(trim(perfFee)) I get the error : Microsoft VBScript runtime error '800a000d Type mismatch: 'cdbl' /client_services/admin/commscalc.asp, line 48 回答1: The problem here is either TotforMonth or perfFee are not numeric values as far is VBScript is concerned. When dealing with numeric fields it for an external source (flat file, rdbms etc.) it's always best to check them before attempting computations. For example <% 'These

Can't get LAST_INSERT_ID() to work from ASP classic

孤人 提交于 2021-02-11 14:17:40
问题 This question is driving me crazy and I hope you can help. I want to use the following sql for a MySQL-database: INSERT INTO Prenumeranter (Pren_Namn,Pren_Email) values ('Testing','test@test.com'); UPDATE Prenumeranter SET Pren_kod = encrypt(LAST_INSERT_ID()) WHERE Pren_id = LAST_INSERT_ID(); This code works perfect if I run it in PhpMyAdmin but if I run it on my asp classic page it only gives errors for the LAST_INSERT_ID(). I have tried to rewrite it in different ways, but they all work in

calling vbScript function from button input type

大憨熊 提交于 2021-02-11 13:58:39
问题 I have the following function declared in the tag of a classic asp page that i did not write but need to edit; <SCRIPT language="VBScript"> sub confirmuser(sSubtype, sAction) ' this prompts user to confirm their action and sets hidden form fields. ' current subtypes are 1) Free Trial 2) Equity 3) Mutual Funds. ' current actions are 1) subscribe 2) unsubscribe sConfirmMessage = "Clicking on the OK button below will " & sAction & " login <%=rtrim(session("WebID"))%> " & _ "to the " & sSubtype

calling vbScript function from button input type

天涯浪子 提交于 2021-02-11 13:58:21
问题 I have the following function declared in the tag of a classic asp page that i did not write but need to edit; <SCRIPT language="VBScript"> sub confirmuser(sSubtype, sAction) ' this prompts user to confirm their action and sets hidden form fields. ' current subtypes are 1) Free Trial 2) Equity 3) Mutual Funds. ' current actions are 1) subscribe 2) unsubscribe sConfirmMessage = "Clicking on the OK button below will " & sAction & " login <%=rtrim(session("WebID"))%> " & _ "to the " & sSubtype

Looping though JSON classic ASP

若如初见. 提交于 2021-02-10 19:39:31
问题 I am trying to use aspJSON1.17.asp to get data from an JSON file that I am pulling back. ASPJson Site is located here now. http://web.archive.org/web/20160109181310/http://aspjson.com/ The structure of the file is as follows. NOTE: I have truncated here for readability { "@odata.context": "http://trestle.corelogic.com/odata/$metadata#Property/CoreLogic.DataStandard.RESO.DD_1_5.Property", "value": [ { "@odata.type": "#CoreLogic.DataStandard.RESO.DD_1_5.Property", "AboveGradeFinishedArea": null