<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; VBScript: FindWindow возвращает 0]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9393&amp;type=atom" />
	<updated>2014-03-21T15:09:36Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9393</id>
		<entry>
			<title type="html"><![CDATA[Re: VBScript: FindWindow возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81091#p81091" />
			<content type="html"><![CDATA[<p>Спасибо, YMP.<br />На англоязычных Title работает (например &quot;AIMP3&quot;),<br />а кириллическую надпись (такую как выше) воспринимает неверно. Возвращает 0. Можете что посоветовать?</p><p>....<br />Спасибо. Разобрался. Кодировка стояла OEM-866.</p>]]></content>
			<author>
				<name><![CDATA[Dragokas]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31118</uri>
			</author>
			<updated>2014-03-21T15:09:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81091#p81091</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBScript: FindWindow возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81057#p81057" />
			<content type="html"><![CDATA[<p>vbnullstring — это пустая строка, видимо, а вам нужен просто ноль.<br /></p><div class="codebox"><pre><code>
Set Wrap = CreateObject(&quot;DynamicWrapperX.2&quot;)
Wrap.Register &quot;User32&quot;, &quot;FindWindow&quot;, &quot;i=ss&quot;, &quot;r=l&quot;
MsgBox Wrap.FindWindow(0, &quot;Калькулятор&quot;)
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2014-03-21T03:25:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81057#p81057</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[VBScript: FindWindow возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81038#p81038" />
			<content type="html"><![CDATA[<p>Привет !<br />Подскажите, пожалуйста, что я делаю не так...</p><div class="codebox"><pre><code>
Set Wrap = CreateObject(&quot;DynamicWrapperX.2&quot;)
Wrap.Register &quot;User32&quot;, &quot;FindWindow&quot;, &quot;i=ss&quot;, &quot;r=l&quot;

MsgBox Wrap.FindWindow(vbnullstring, &quot;Калькулятор&quot;)
</code></pre></div><p>Возвращает 0. В VB6 все нормально.</p>]]></content>
			<author>
				<name><![CDATA[Dragokas]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31118</uri>
			</author>
			<updated>2014-03-20T20:33:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81038#p81038</id>
		</entry>
</feed>
