在哪里可以找到Visual Studio Internet Explorer WebControls

时间:2014-11-25 22:22:29

标签: asp.net visual-studio

我们有一台旧的Windows 2000 Server即将关闭。

在我们能够做到这一点之前,我需要从中获取一些应用程序到我们的新Windows 2008 R2服务器。

该项目早于我,并且没有解决方案文件夹。而且,它是用VB编写的,这不是我的优势之一。

旧项目有一个WebControls Client文件夹,其中包含多个文件:

screenshot

子文件夹中只包含图像。

在文本编辑器中打开其中一个* .htc文件时,它们似乎是javascript文件。

以下是treeview.htc文件的摘要:

<!----------------------------------------------------------------------
//  Copyright (c) 2000-2003 Microsoft Corporation.  All Rights Reserved.
//---------------------------------------------------------------------->

<public:component tagname=treeview literalcontent=true>
        <public:attach event=oncontentready onevent="oncontentready()" />
        <public:attach event=ondocumentready onevent="ondocumentready()" />
        <public:attach event="onscroll" onevent="onScroll()" />
        <public:event name="onexpand" id="_tvevtExpand" />
        <public:event name="oncollapse" id="_tvevtCollapse" />
        <public:event name="onselectedindexchange" id="_tvevtSelect" />
        <public:event name="oncheck" id="_tvevtCheck" />
        <public:event name="onfirequeuedevents" id="_tvevtFireQueuedEvents" />
        <public:event name="onnodebound" id="_tvevtNodeBound" />
        <public:event name="onnodetypesbound" id="_tvevtNodeTypesBound" />
        <public:event name="onhover" id="_tvevtHover" />
        <public:event name="onunhover" id="_tvevtUnhover" />
        <public:property name="clickedNodeIndex" GET="getClickedNodeIndex" />
        <public:property name="defaultStyle" id="_tvpropDefaultStyle" GET="getDefaultStyle" PUT="setDefaultStyle" />
        <public:property name="hoverStyle" id="_tvpropHoverStyle" GET="getHoverStyle" PUT="setHoverStyle" />
        <public:property name="selectedStyle" id="_tvpropSelectedStyle" GET="getSelectedStyle" PUT="setSelectedStyle" />
        <public:property name="childType" id="_tvpropChildType" GET="getChildType" PUT="setChildType" />
        <public:property name="imageUrl" id="_tvpropImageUrl" GET="getImageUrl" PUT="setImageUrl" />
        <public:property name="expandedImageUrl" id="_tvpropExpandedImageUrl" GET="getExpandedImageUrl" PUT="setExpandedImageUrl" />
        <public:property name="selectedImageUrl" id="_tvpropSelectedImageUrl" GET="getSelectedImageUrl" PUT="setSelectedImageUrl" />
        <public:property name="target" id="_tvpropTarget" GET="getTarget" PUT="setTarget" />
        <public:property name="treeNodeSrc" id="_tvpropTreeNodeSrc" GET="getTreeNodeSrc" PUT="setTreeNodeSrc" />
        <public:property name="treeNodeXsltSrc" id="_tvpropTreeNodeXsltSrc" GET="getTreeNodeXsltSrc" PUT="setTreeNodeXsltSrc" />
        <public:property name="selectExpands" id="_tvpropSelectExpands" GET="getSelectExpands" PUT="setSelectExpands" />
        <public:property name="expandLevel" id="_tvpropExpandLevel" GET="getExpandLevel" PUT="setExpandLevel" />
        <public:property name="autoSelect" id="_tvpropAutoSelect" GET="getAutoSelect" PUT="setAutoSelect" />
        <public:property name="treeNodeTypeSrc" id="_tvpropTreeNodeTypeSrc" GET="getTreeNodeTypeSrc" PUT="setTreeNodeTypeSrc" />
        <public:property name="showLines" id="_tvpropShowLines" GET="getShowLines" PUT="setShowLines" />
        <public:property name="showPlus" id="_tvpropShowPlus" GET="getShowPlus" PUT="setShowPlus" />
        <public:property name="showToolTip" id="_tvpropShowToolTip" GET="getShowToolTip" PUT="setShowToolTip" />
        <public:property name="indent" id="_tvpropIndent" GET="getIndent" PUT="setIndent" />
        <public:property name="selectedNodeIndex" id="_tvpropSelectedNodeIndex" GET="getSelectedNodeIndex" PUT="setSelectedNodeIndex" />
        <public:property name="systemImagesPath" id="_tvpropSystemImagesPath" GET="getSystemImagesPath" PUT="setSystemImagesPath" />
        <public:method name="queueEvent" />
        <public:method name="getTreeNode" />
        <public:method name="addAt" />
        <public:method name="createTreeNode" />
        <public:method name="getTreeNodeType" />
        <public:method name="createTreeNodeType" />
        <public:method name="addTreeNodeType" />
        <public:method name="add" />
        <public:method name="databind" />
        <public:method name="databindTypes" />
        <public:method name="getChildren" />

</public:component>

<script language=javascript>

var contentNode;
var treeviewNode;
var g_typesNode;
var g_styles;
var g_event;
var g_timer = -1;
var g_nodeClicked = null;
var g_strQueuedEvents = "";
var g_bInteractive = false;
var g_numStop = 0;
var g_selectedNodeBeforeDelay = "";
var g_bFocus = false;
var g_bCreated = false;
var g_typeIsland = null;
var g_bNodesReady = false;
var g_bTypesReady = false;
var g_bMouseDown = false;
var g_pendingBinds = new Array(0);
var g_pendingSyncBinds = new Array(0);
var g_bindTimer = -1;
var g_bLock = false;
var g_bInTypesBoundEvent = false;
var L_strMSXMLError_Text = "Error creating MSXML object.  Please make sure the MSXML library is installed on your computer.";
var L_strRetrievingNodes_Text = "Retrieving nodes...";
var L_strXMLError_Text = "Error loading XML file %s";
var L_strInvalidXML_Text = "Invalid XML in %s";
var L_strXSLTError_Text = " or unsupported XSLT in %s";
var L_fontSize_Text = "10pt";
var L_fontName_Text = "Times";
var L_strToolTip_Text = "Use +/- to expand/collapse";

// properties
var prop_defaultStyle = null;
var prop_hoverStyle = null;
var prop_selectedStyle = null;
var prop_childType = null;
var prop_imageUrl = null;
var prop_expandedImageUrl = null;
var prop_selectedImageUrl = null;
var prop_target = null;
var prop_treeNodeSrc = null;
var prop_treeNodeXsltSrc = null;
var prop_selectExpands = null;
var prop_expandLevel = -1;
var prop_autoSelect = false;
var prop_treeNodeTypeSrc = null;
var prop_showLines = true;
var prop_showPlus = true;
var prop_showToolTip = true;
var prop_indent = 19;
var prop_selectedNodeIndex = null;
var prop_systemImagesPath = null;

//
// QueueEvent()
//
// Queue an event for later posting to the server, when the
// _tvevtFireQueuedEvents event fires.
//
function queueEvent(strEvent, strParams)
{
        if (g_strQueuedEvents.length > 0)
                g_strQueuedEvents += ";";
        g_strQueuedEvents += (strEvent + "," + strParams);
        setHiddenHelperValue();
}

function getQueuedEvents()
{
        return g_strQueuedEvents;
}

function fireQueuedEvents()
{
        if (g_strQueuedEvents != "")
        {
                if (getAttribute("onfirequeuedevents") != null)
                {
                        if (g_timer != -1)
                        {
                                // force pending autoSelect to trigger
                                window.clearTimeout(g_timer);
                                autoSelect();
                        }
                        else
                        {
                                g_bInteractive = false;
                                g_numStop = 0;
                                _tvevtFireQueuedEvents.fire();
                        }
                }
        }
}

然而,这些文件名都不像我缺少的控件:

  • Prism.Logging.CompositeLogger
  • TimeSheetIO.LocationTreeNode
  • TimeSheetIO.LocationTreeNodeList
  • TimeSheetIO.ReasonTypeValidFor.Callout
  • UIHelpers.ToWebListItemArray

搜索这些术语似乎表明它们是Internet Explorer WebControls的一部分。但是,该页面上的link to the download似乎已不复存在。

当代码不在那里时,有没有人对如何将正在运行的应用程序从旧服务器运行到新服务器有任何好的建议?

是否有某些东西取代了WebControls?我只能猜测微软因为一个问题而停止使用它。

我已经推迟了这个问题,因为我一直认为解决方案必须在互联网的某个地方,但我似乎无法找到它。

1 个答案:

答案 0 :(得分:1)

所以,我仍然不知道这些缺失控件的来源,但我能够从旧服务器上的项目BIN文件夹中复制和粘贴版本。

目前,这似乎是我的解决方案。