https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/254744&feed=atom&action=history
Microsoft KB Archive/254744 - Revision history
2024-03-28T15:08:00Z
Revision history for this page on the wiki
MediaWiki 1.39.3
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/254744&diff=378248&oldid=prev
X010: Text replacement - """ to """
2020-07-21T12:53:37Z
<p>Text replacement - """ to """</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en-GB">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 12:53, 21 July 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l12">Line 12:</td>
<td colspan="2" class="diff-lineno">Line 12:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><div id="TitleRow"></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><div id="TitleRow"></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>= <span id="KB254744"></span>Visio5: <del style="font-weight: bold; text-decoration: none;">&quot;</del>Could Not Run Visio<del style="font-weight: bold; text-decoration: none;">&quot; </del>Error After Starting the Visio Enterprise Test Drive from the Visual Studio Toolbar =</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>= <span id="KB254744"></span>Visio5: <ins style="font-weight: bold; text-decoration: none;">"</ins>Could Not Run Visio<ins style="font-weight: bold; text-decoration: none;">" </ins>Error After Starting the Visio Enterprise Test Drive from the Visual Studio Toolbar =</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l70">Line 70:</td>
<td colspan="2" class="diff-lineno">Line 70:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><ol></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><ol></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>In Windows Explorer, browse to the Temp folder (usually C:\Temp).</li></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>In Windows Explorer, browse to the Temp folder (usually C:\Temp).</li></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><li>Find the file named Umlxxxx.tmp, where xxxx is a 3- or 4-digit number, and write down the name. If you see multiple file names that start with <del style="font-weight: bold; text-decoration: none;">&quot;</del>Uml,<del style="font-weight: bold; text-decoration: none;">&quot; </del>pick the one with the most recent date and time stamp.</li></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><li>Find the file named Umlxxxx.tmp, where xxxx is a 3- or 4-digit number, and write down the name. If you see multiple file names that start with <ins style="font-weight: bold; text-decoration: none;">"</ins>Uml,<ins style="font-weight: bold; text-decoration: none;">" </ins>pick the one with the most recent date and time stamp.</li></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>In the Visio Enterprise window, point to '''New''' on the '''File''' menu, point to '''UML''', and then click '''UML Model Diagram'''.</li></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>In the Visio Enterprise window, point to '''New''' on the '''File''' menu, point to '''UML''', and then click '''UML Model Diagram'''.</li></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>When the new drawing opens, point to '''Macro''' on the '''Tools''' menu, and then click '''Visual Basic Editor'''.</li></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><li>When the new drawing opens, point to '''Macro''' on the '''Tools''' menu, and then click '''Visual Basic Editor'''.</li></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l77">Line 77:</td>
<td colspan="2" class="diff-lineno">Line 77:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><div class="indent"></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><div class="indent"></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><p><span class="kbd userinput"> visio.Addons(<del style="font-weight: bold; text-decoration: none;">&quot;</del>UML Background Add-on<del style="font-weight: bold; text-decoration: none;">&quot;</del>).Run(<del style="font-weight: bold; text-decoration: none;">&quot;</del>/doc=1 /CMD=301 /file=c:\temp\umlxxxx.tmp /types=CPP /nodelete<del style="font-weight: bold; text-decoration: none;">&quot;</del>) </span></p></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><p><span class="kbd userinput"> visio.Addons(<ins style="font-weight: bold; text-decoration: none;">"</ins>UML Background Add-on<ins style="font-weight: bold; text-decoration: none;">"</ins>).Run(<ins style="font-weight: bold; text-decoration: none;">"</ins>/doc=1 /CMD=301 /file=c:\temp\umlxxxx.tmp /types=CPP /nodelete<ins style="font-weight: bold; text-decoration: none;">"</ins>) </span></p></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></div></li></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></div></li></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l93">Line 93:</td>
<td colspan="2" class="diff-lineno">Line 93:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== REFERENCES ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== REFERENCES ==</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>For more information about reverse engineering your source code with Visio Enterprise, search for <del style="font-weight: bold; text-decoration: none;">&quot;</del>UML<del style="font-weight: bold; text-decoration: none;">&quot; </del>in the Visio Enterprise Test Drive Help.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>For more information about reverse engineering your source code with Visio Enterprise, search for <ins style="font-weight: bold; text-decoration: none;">"</ins>UML<ins style="font-weight: bold; text-decoration: none;">" </ins>in the Visio Enterprise Test Drive Help.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></div></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></div></div></td></tr>
</table>
X010
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/254744&diff=139918&oldid=prev
3155ffGd: importing KB archive
2020-07-18T16:17:03Z
<p>importing KB archive</p>
<p><b>New page</b></p><div><div id="nsbanner"><br />
<br />
<div id="bannerrow1"><br />
<br />
{|<br />
| Knowledge Base<br />
|<br />
|}<br />
<br />
<br />
</div><br />
<div id="TitleRow"><br />
<br />
= <span id="KB254744"></span>Visio5: &quot;Could Not Run Visio&quot; Error After Starting the Visio Enterprise Test Drive from the Visual Studio Toolbar =<br />
<br />
<br />
</div><br />
<br />
</div><br />
<div id="nstext" valign="BOTTOM"><br />
<br />
Article ID: 254744<br />
<br />
Article Last Modified on 8/16/2006<br />
<br />
<br />
-----<br />
<br />
APPLIES TO<br /><br />
<br /><br />
<br />
* Visio 5.0 Enterprise, when used with:<br />
** Microsoft Windows NT 4.0<br />
<br />
<br />
-----<br />
<br />
<div class="notice_section"><br />
<br />
This article was previously published under Q254744<br />
<br />
</div><br />
<div class="symptoms_section"><br />
<br />
== SYMPTOMS ==<br />
<br />
When you customize Microsoft Visual C++ or Microsoft Visual Basic by using the Visio Enterprise add-ins, Visio Enterprise creates a three-button toolbar in the Visual Studio development environment. You can use these toolbar buttons to open Visio Enterprise, to create a new Visio UML document, or to reverse engineer your source code to create a UML model.<br /><br />
<br /><br />
With the Visio Enterprise Test Drive running on Windows NT, when you click one of the Visio toolbar buttons in Visual C++ or Visual Basic, Visio Enterprise starts, but with an empty window. In addition, when you move the Visio application window, you receive the following error message:<br />
<div class="errormessage"><br />
<br />
Could not run Visio.<br />
<br />
</div><br />
<br />
</div><br />
<div class="resolution_section"><br />
<br />
== RESOLUTION ==<br />
<br />
You can work around the problem by clicking '''OK''' in the error message window, and then following the procedure that applies to your situation.<br /><br />
<br /><br />
'''To create a new diagram or UML model:'''<br />
# On the '''File''' menu, click '''New'''.<br />
# Select the template that you want to base the diagram on, and then click '''OK'''.<br /><br />
<br /><br />
For help creating your diagram, click '''Template''' Help on the '''Help''' menu, double-click '''Visio Templates''', and then select the type and name of the template that you want.<br />
<br />
'''To complete the reverse engineering of your source code:'''<br />
<ol><br />
<li>In Windows Explorer, browse to the Temp folder (usually C:\Temp).</li><br />
<li>Find the file named Umlxxxx.tmp, where xxxx is a 3- or 4-digit number, and write down the name. If you see multiple file names that start with &quot;Uml,&quot; pick the one with the most recent date and time stamp.</li><br />
<li>In the Visio Enterprise window, point to '''New''' on the '''File''' menu, point to '''UML''', and then click '''UML Model Diagram'''.</li><br />
<li>When the new drawing opens, point to '''Macro''' on the '''Tools''' menu, and then click '''Visual Basic Editor'''.</li><br />
<li>In the Visual Basic Editor, click '''Immediate Window''' on the '''View''' menu.</li><br />
<li>In the Immediate window, type the following code, where Umlxxxx.tmp is the file name that you wrote down in step 2:<br />
<div class="indent"><br />
<br />
<p><span class="kbd userinput"> visio.Addons(&quot;UML Background Add-on&quot;).Run(&quot;/doc=1 /CMD=301 /file=c:\temp\umlxxxx.tmp /types=CPP /nodelete&quot;) </span></p><br />
<br />
</div></li><br />
<li>Press ENTER to run the command.<br /><br />
<br /><br />
You can now use the UML Navigator to view your reverse-engineered UML elements.</li></ol><br />
<br />
'''NOTE:''' You can create a Visio Enterprise drawing by dragging elements from the UML Navigator to the drawing page.<br /><br />
<br /><br />
'''TIP:''' If you want to reverse engineer multiple projects with the Visio Enterprise Test Drive, you can create a Visual Basic for Applications macro that contains the code in step 6.<br />
<br />
</div><br />
<div class="references_section"><br />
<br />
== REFERENCES ==<br />
<br />
For more information about reverse engineering your source code with Visio Enterprise, search for &quot;UML&quot; in the Visio Enterprise Test Drive Help.<br />
<br />
</div><br />
Keywords: kberrmsg kburl KB254744<br />
<br />
<div class="footer"><br />
<br />
<br /><br />
<br />
<br />
-----<br />
<br />
[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]<br />
<br />
<span>© Microsoft Corporation. All rights reserved.</span><br />
<br />
<br />
</div><br />
<br />
</div></div>
3155ffGd