<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; VBS: Подключение внешних библиотек]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12525&amp;type=atom" />
	<updated>2017-03-04T12:01:59Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=12525</id>
		<entry>
			<title type="html"><![CDATA[Re: VBS: Подключение внешних библиотек]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113588#p113588" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2017-03-04T12:01:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113588#p113588</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[VBS: Подключение внешних библиотек]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113587#p113587" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Parazit]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34289</uri>
			</author>
			<updated>2017-03-04T11:45:41Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113587#p113587</id>
		</entry>
</feed>
