<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Script And IE Security Part Three: Some Object Creation Techniques Are Explicitly Forbidden</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/01/14/58700.aspx</link><description>A couple readers have commented that yes, my conjecture that people will continue to use the twentieth-century COM scripting interfaces for some time yet is correct. (And my statement that the documentation on these has been less than 100% complete for</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>.NET 2.0 ActiveX Control Gotchas (Safe for Scripting and Hooking into Events)</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/01/14/58700.aspx#9691986</link><pubDate>Wed, 03 Jun 2009 20:43:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9691986</guid><dc:creator>Rick Minerich's Development Wonderland</dc:creator><description>&lt;p&gt;I’ve recently been building an ActiveX Control in .NET 2.0 and thought I would share some of the problems&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9691986" width="1" height="1"&gt;</description></item><item><title>re: Script And IE Security Part Three: Some Object Creation Techniques Are Explicitly Forbidden</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/01/14/58700.aspx#1349172</link><pubDate>Fri, 22 Dec 2006 22:04:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1349172</guid><dc:creator>ThomThom1969</dc:creator><description>&lt;p&gt;I'd also like to see a blog entry on making WSCs implement arbitrary interfaces, if you can find the time one of these days.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1349172" width="1" height="1"&gt;</description></item><item><title>re: Script And IE Security Part Three: Some Object Creation Techniques Are Explicitly Forbidden</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/01/14/58700.aspx#146190</link><pubDate>Wed, 02 Jun 2004 01:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:146190</guid><dc:creator>sil</dc:creator><description>Ah. If it is possible to get them to implement arbitrary interfaces then I'd be highly interested in that blog post! I really was trying to avoid writing something and then compiling it when I could just do it in script...&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=146190" width="1" height="1"&gt;</description></item><item><title>re: Script And IE Security Part Three: Some Object Creation Techniques Are Explicitly Forbidden</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/01/14/58700.aspx#146110</link><pubDate>Tue, 01 Jun 2004 22:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:146110</guid><dc:creator>Eric Lippert</dc:creator><description>Sure, they're real COM objects.  They might not implement the interfaces that a particular environment requires though.  &lt;br&gt;&lt;br&gt;I don't know what the requirements are for Outlook addins.&lt;br&gt;&lt;br&gt;There are ways to make WSC's implement arbitrary interfaces, but its quite tricky.  Maybe I'll blog about that at some point.&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=146110" width="1" height="1"&gt;</description></item><item><title>re: Script And IE Security Part Three: Some Object Creation Techniques Are Explicitly Forbidden</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/01/14/58700.aspx#145910</link><pubDate>Tue, 01 Jun 2004 22:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:145910</guid><dc:creator>sil</dc:creator><description>I've used GetObject in the past to create a scripting component. I was under the impression that it creates a real COM object; after all, you can give WSCs a name (Foo.Bar, or whatever) and register them, but I don't seem to be able to use them in a few environments that require a COM object -- like, say, as an Outlook COM addin. Are they not *really* COM objects?&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=145910" width="1" height="1"&gt;</description></item><item><title>GetObject and Security</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/01/14/58700.aspx#62901</link><pubDate>Mon, 26 Jan 2004 10:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:62901</guid><dc:creator>Office Development, Security, Randomness...</dc:creator><description>&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=62901" width="1" height="1"&gt;</description></item><item><title>re: Script And IE Security Part Three: Some Object Creation Techniques Are Explicitly Forbidden</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/01/14/58700.aspx#59220</link><pubDate>Thu, 15 Jan 2004 23:59:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:59220</guid><dc:creator>Michael Harris</dc:creator><description>And the GetObject doc error exists in the JScript.Net docs as well :-)...&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=59220" width="1" height="1"&gt;</description></item><item><title>re: Script And IE Security Part Three: Some Object Creation Techniques Are Explicitly Forbidden</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/01/14/58700.aspx#58880</link><pubDate>Thu, 15 Jan 2004 08:59:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:58880</guid><dc:creator>Alex Angelopoulos</dc:creator><description>&amp;quot;...people will continue to use the twentieth-century COM scripting interfaces for some time yet...&amp;quot;&lt;br&gt;&lt;br&gt;Going off on a tangent from your actual topic... :)&lt;br&gt;&lt;br&gt;Any interest in blogging on WSH/.NET transition and interop issues? Some of it can be rather mundane, but there are some intriguing ways to exploit them as a team.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=58880" width="1" height="1"&gt;</description></item><item><title>re: Script And IE Security Part Three: Some Object Creation Techniques Are Explicitly Forbidden</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/01/14/58700.aspx#58856</link><pubDate>Thu, 15 Jan 2004 07:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:58856</guid><dc:creator>Eric Lippert</dc:creator><description>Yeah, I found that doc error some time ago.  We have not had full-time staff to work on fixing up the scripting documentation for a long, long time, so there are many of these small errors &amp;quot;batched up&amp;quot; waiting for the day when someone has the time to fix them all at once.  (I wouldn't hold my breath waiting for that day...)&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=58856" width="1" height="1"&gt;</description></item><item><title>re: Script And IE Security Part Three: Some Object Creation Techniques Are Explicitly Forbidden</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/01/14/58700.aspx#58804</link><pubDate>Thu, 15 Jan 2004 01:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:58804</guid><dc:creator>Michael Harris</dc:creator><description>OK, you win, but I still have hope of *some* day catching you in an error &amp;lt;vbg&amp;gt;!&lt;br&gt;&lt;br&gt;Rule #1 - test before posting...&lt;br&gt;Rule #2 - don't trust the [JScript] documentation...&lt;br&gt;&lt;br&gt;With Word open, the following JScript run under WSH *does* work though the documentation of JScript's version of GetObject says essentially the same thing as the VBScript version WRT omitting the 1st argument (running instance) vs. an empty string (new instance)...&lt;br&gt;&lt;br&gt;var word = GetObject(&amp;quot;&amp;quot;, &amp;quot;Word.Application&amp;quot;); &lt;br&gt;WScript.Echo(word.ActiveDocument.Name);&lt;br&gt;word.Quit();&lt;br&gt;&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=58804" width="1" height="1"&gt;</description></item></channel></rss>