<?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>Generating VBScript to read a blog</title><link>http://blogs.msdn.com/calvin_hsia/archive/2005/08/05/448241.aspx</link><description>Sometimes I need to test something using VBScript . A user sends a code snippet and asks why it behaves a certain way. Examining the behavior in VB can help. Below is a VFP code sample which demonstrates VBScript code which uses several objects to read</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Generating VBScript to read a blog</title><link>http://blogs.msdn.com/calvin_hsia/archive/2005/08/05/448241.aspx#448272</link><pubDate>Fri, 05 Aug 2005 22:25:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:448272</guid><dc:creator>Craig Boyd</dc:creator><description>Calvin,&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;Is there an easy way in VB Script to do the VFP STRTRAN function?&lt;br&gt;&lt;br&gt;You can use VB's Replace() function. An example of its use can be found at: &lt;a rel="nofollow" target="_new" href="http://www.example-code.com/vb/stringReplace.asp"&gt;http://www.example-code.com/vb/stringReplace.asp&lt;/a&gt;&lt;br&gt;&lt;br&gt;As an aside, you can also run VBScript directly in Visual FoxPro using the MS Script control. I wrote a FAQ on this you can look at here: &lt;a rel="nofollow" target="_new" href="http://www.tek-tips.com/faqs.cfm?fid=4257"&gt;http://www.tek-tips.com/faqs.cfm?fid=4257&lt;/a&gt;</description></item><item><title>re: Generating VBScript to read a blog</title><link>http://blogs.msdn.com/calvin_hsia/archive/2005/08/05/448241.aspx#448674</link><pubDate>Sun, 07 Aug 2005 08:29:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:448674</guid><dc:creator>Calvin_Hsia</dc:creator><description>Thanks Craig for the Replace hint and the pointer to the excellent sample of the MS Script control!</description></item><item><title>re: Generating VBScript to read a blog</title><link>http://blogs.msdn.com/calvin_hsia/archive/2005/08/05/448241.aspx#450502</link><pubDate>Thu, 11 Aug 2005 22:06:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:450502</guid><dc:creator>Lou Harris</dc:creator><description>Note that you would need to convert the amphersands after the &amp;amp;lt; and &amp;amp;gt; characters to avoid converting a deliberate &amp;amp;amp;lt; to &amp;amp;lt; &lt;br&gt;&lt;br&gt;Like so:&lt;br&gt;&amp;lt;pre&amp;gt;&lt;br&gt;      cTrans = Replace(cTrans,&amp;quot;&amp;amp;gt;&amp;quot;,&amp;quot;&amp;gt;&amp;quot;,1,-1)&lt;br&gt;      cTrans = Replace(cTrans,&amp;quot;&amp;amp;lt;&amp;quot;,&amp;quot;&amp;lt;&amp;quot;,1,-1)&lt;br&gt;      cTrans = Replace(cTrans,&amp;quot;&amp;amp;amp;&amp;quot;,&amp;quot;&amp;amp;&amp;quot;,1,-1)&lt;br&gt;&amp;lt;/pre&amp;gt;&lt;br&gt;&lt;br&gt;-Lou.</description></item><item><title>Webcrawl a blog to retrieve all entries locally: RSS on steroids</title><link>http://blogs.msdn.com/calvin_hsia/archive/2005/08/05/448241.aspx#607594</link><pubDate>Fri, 26 May 2006 03:32:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:607594</guid><dc:creator>Calvin Hsia's WebLog</dc:creator><description>Today’s sample shows how to create a web crawler in the background. This crawler starts with a web page,...</description></item><item><title>Handling arbitrary strings in URLs: Escape, InternetCanonicalizeUrl, WinHttpCrackUrl and URI.EscapeUriString</title><link>http://blogs.msdn.com/calvin_hsia/archive/2005/08/05/448241.aspx#659386</link><pubDate>Fri, 07 Jul 2006 23:40:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:659386</guid><dc:creator>Calvin Hsia's WebLog</dc:creator><description>Sometimes a web application might want to put arbitrary strings into a URL, and make it a valid URL....</description></item><item><title>
	Use new XML Features of VB to generate dynamic scripts and text files - Noticias externas
</title><link>http://blogs.msdn.com/calvin_hsia/archive/2005/08/05/448241.aspx#5276646</link><pubDate>Thu, 04 Oct 2007 20:59:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5276646</guid><dc:creator>
	Use new XML Features of VB to generate dynamic scripts and text files - Noticias externas
</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://geeks.ms/blogs/roller/archive/2007/10/04/use-new-xml-features-of-vb-to-generate-dynamic-scripts-and-text-files.aspx"&gt;http://geeks.ms/blogs/roller/archive/2007/10/04/use-new-xml-features-of-vb-to-generate-dynamic-scripts-and-text-files.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Generating VBScript to read a blog</title><link>http://blogs.msdn.com/calvin_hsia/archive/2005/08/05/448241.aspx#5373030</link><pubDate>Tue, 09 Oct 2007 02:02:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5373030</guid><dc:creator>Remi</dc:creator><description>&lt;p&gt;Calvin:&lt;/p&gt;
&lt;p&gt;I am trying to pass a variable from my VFP form to xsl, e.g.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; m.pos=5&lt;/p&gt;
&lt;p&gt;I want to use m.pos to limit my node search and transformation. Is there a way to use VFP code in XSL to do this kind of function? Thanks.&lt;/p&gt;
</description></item></channel></rss>