首页 > 解决方案 > VBScript 从 MVC 页面获取 XML

问题描述

我有一个现有的 MVC 网页。在 VBScript 中打开 MVC Page 后,当用户选择适用的 Item 时,返回 XML。如何从 VB 脚本中获取 XML?也许我需要让MVC页面调用一个VB函数作为回调,但我不知道怎么做。下面是我的 VB 脚本。

Dim IE
Set IE = CreateObject("InternetExplorer.Application")
With IE
    .Visible = true
    .Navigate "https://localhost:5002" ' website.com is example not the original

    Do Until .document.readyState = "complete": 
        WScript.Sleep 100: 
    Loop

End With

标签: vbscript

解决方案


推荐阅读