<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; VBS: Подключение внешних библиотек]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=12525</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12525&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «VBS: Подключение внешних библиотек».]]></description>
		<lastBuildDate>Sat, 04 Mar 2017 12:01:59 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: VBS: Подключение внешних библиотек]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=113588#p113588</link>
			<description><![CDATA[<p>Это никакие не библиотеки. Это внешние процедуры.<br /><span style="color: green">За дополнительными вопросами <a href="http://forum.script-coding.com/viewtopic.php?id=10853">сюда</a>. Там же можно спросить об <a href="http://forum.script-coding.com/viewtopic.php?pid=8021#p8021">этом</a>. А эта тема закрывается.</span></p>]]></description>
			<author><![CDATA[null@example.com (Flasher)]]></author>
			<pubDate>Sat, 04 Mar 2017 12:01:59 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=113588#p113588</guid>
		</item>
		<item>
			<title><![CDATA[VBS: Подключение внешних библиотек]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=113587#p113587</link>
			<description><![CDATA[<p>Привет. Возможно-ли в <strong>VBScript</strong> подключать внешние библиотеки функций, как в других языках программирования?<br />Типа, Include.</p><p>Вот для наглядности пара скриптов.</p><p>Это библиотека, которую хочу подключить (<strong>C:\111.vbs</strong>).</p><div class="codebox"><pre><code>Sub RunRegedit()
    objShellApp.ShellExecute &quot;regedit.exe&quot;, &quot;/m&quot;, &quot;&quot;, &quot;open&quot;, 1
End Sub

Sub RunTaskmgr()
    objShellApp.ShellExecute &quot;taskmgr.exe&quot;, &quot;&quot;, &quot;&quot;, &quot;open&quot;, 1
End Sub</code></pre></div><p>Ну а второй (<strong>C:\222.vbs</strong>) должен вызывать некую функцию по имени из подключаемой библиотеки.</p><div class="codebox"><pre><code>Call RunTaskmgr(&quot;C:\111.vbs&quot;)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Parazit)]]></author>
			<pubDate>Sat, 04 Mar 2017 11:45:41 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=113587#p113587</guid>
		</item>
	</channel>
</rss>
