2014-11-25 5 views
2

У нас есть старый Windows 2000 Server, который скоро будет отключен.Где найти Visual Studio Internet Explorer WebControls

Прежде чем мы сможем это сделать, мне нужно получить от него некоторые приложения к нашему новому серверу Windows 2008 R2.

Проект предшествует мне, и для него нет папки для решения. Более того, это написано в VB, что не является моей сильной стороной.

старый проект имеет папку WebControls клиента с помощью нескольких файлов, содержащихся в нем:

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
  • TimeShe etIO.ReasonTypeValidFor.Callout
  • UIHelpers.ToWebListItemArray

Поиск этих терминов, как представляется, показывают, что они являются частью Internet Explorer WebControls. Однако link to the download на этой странице больше не существует.

Есть ли у кого-нибудь хорошие предложения о том, как получить запущенное приложение со старого сервера на новый сервер, когда код еще не существует?

Есть ли что-то, что заменило WebControls? Я могу только догадываться, что Microsoft прекратила это из-за проблемы.

Я откладываю задание на этот вопрос в течение длительного времени, потому что я постоянно думаю, что решение должно быть где-то здесь в Интернете, но я просто не могу его найти.

+0

Вы уверены, что это имеет какое-либо отношение к Visual Studio? –

+0

Я пытаюсь создать/запустить решение в Visual Studio, прежде чем публиковать его. (???) – jp2code

ответ

1

Итак, я до сих пор не знаю, откуда взялось какое-либо из этих отсутствующих элементов управления, но я смог скопировать и вставить версии из папки BIN проекта на старый сервер.

На данный момент это кажется моим решением.

Смежные вопросы