<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Site :: blogs.vbcity.com</title><link>http://blogs.vbcity.com/sergeb/category/12.aspx</link><description>Site :: blogs.vbcity.com</description><managingEditor>Serge Baranovsky</managingEditor><dc:language>en-US</dc:language><generator>.Text Version 0.95.2004.102</generator><item><dc:creator>Serge Baranovsky</dc:creator><title>vbfeeds.com RSS was broken ... and it's fixed now</title><link>http://blogs.vbcity.com/sergeb/archive/2005/12/19/5744.aspx</link><pubDate>Mon, 19 Dec 2005 01:48:00 GMT</pubDate><guid>http://blogs.vbcity.com/sergeb/archive/2005/12/19/5744.aspx</guid><description>&lt;P&gt;&lt;A href="http://vbfeeds.com/"&gt;vbfeeds.com&lt;/A&gt; RSS was broken for the last few days... Thanks to Richard Laniel for pointing that out. I was too busy in the last week and didn't have time to read my Bloglines.&lt;/P&gt;
&lt;P&gt;What happened is there was one post that is over 90K and it turned the RSS feed over 200K - I fixed the feed by removing the offending post.&lt;/P&gt;
&lt;P&gt;So, &lt;A href="http://vbfeeds.com/"&gt;vbfeeds.com&lt;/A&gt; RSS is back and working fine ... for now :) And I added on my list to implement the feed/size validation.&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/sergeb/aggbug/5744.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Serge Baranovsky</dc:creator><title>Announcing new web site - vbfeeds.com</title><link>http://blogs.vbcity.com/sergeb/archive/2005/09/26/5552.aspx</link><pubDate>Mon, 26 Sep 2005 05:21:00 GMT</pubDate><guid>http://blogs.vbcity.com/sergeb/archive/2005/09/26/5552.aspx</guid><description>&lt;P&gt;The idea of the new web site - &lt;STRONG&gt;vb:feeds&lt;/STRONG&gt; -&amp;nbsp;&lt;A href="http://vbfeeds.com"&gt;http://vbfeeds.com&lt;/A&gt; - was&amp;nbsp;inspired by &lt;A href="http://www.delphifeeds.com"&gt;DelphiFeeds.com&lt;/A&gt; I stumbled upon last month.&lt;/P&gt;
&lt;P&gt;So, I decided to build a web site that would syndicate select web feeds&amp;nbsp;with Visual Basic/.NET related content. But I went further - all posts are screened for content and only the technical ones make it to &lt;A href="http://vbfeeds.com"&gt;http://vbfeeds.com&lt;/A&gt;. The approved content then is published on the site as well as exposed via a single web feed. Be sure you will not see on vb:feeds posts like &lt;A href="http://blogs.vbcity.com/sergeb/archive/2005/09/25/5547.aspx"&gt;my recent one&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;The basic aggregation idea is not new at all, take &lt;A href="http://www.activehead.com/dotnetweblogs/"&gt;.NET Weblog Archive&lt;/A&gt;&amp;nbsp;for example. I subscribed to their feed over a year ago but unsubscribed a couple of weeks later as they collect hundreds of posts daily (impossible to read through) and the biggest problem is that many of those hundreds have very little to do with .NET.&lt;/P&gt;
&lt;P&gt;In the past couple of weeks I shared the &lt;A href="http://vbfeeds.com"&gt;vb:feeds&lt;/A&gt; web site with vbCity Leaders and most owners of the blogs being syndicated at the site. And so far the feedback was very encouraging. Here are some comments:&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;&lt;STRONG&gt;Mike McIntyre&lt;/STRONG&gt;: The best compliment I can give you is that I am starting to depend on this site.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Ged Mead&lt;/STRONG&gt;: I like the idea .... even though it meant that I just spent another 30 minutes reading blogs that I didn't mean to !&amp;nbsp; :-}&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mark Dryden&lt;/STRONG&gt;: In short, a terrific idea... Wading through a blogger's progress through a specific game, restaurant reviews and bigging up new gadget purchases generally leads to an unsubcribe from me - therefore, pure technical content is a BIG plus.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Jay Roxe&lt;/STRONG&gt;: I think this is a fantastic resource and I'm glad to see that you're putting it together.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://vbfeeds.com"&gt;vb:feeds&lt;/A&gt; is the first of the projects that went live which I developed using ASP.NET 2.0, VB2005 and SQL2005 &amp;#8211; I love how Whidbey is shaping up in the August CTP and RC1 &amp;#8211; real pleasure to use it! I haven't had so much fun with Visual Studio since VB6 :)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Things to do&lt;/STRONG&gt; - site search, grouping, tagging, rating posts and such.&lt;/P&gt;
&lt;P&gt;What do you think about the idea in general? What do you like about it and what don't? What features you would like to see added? What are VB related feeds you know of that I may've missed? &lt;/P&gt;
&lt;P&gt;Please post your feedback in this blog comments or on the &lt;A href="http://support.submain.com/?vbfeeds"&gt;vb:feeds support forum&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;vb:feeds&lt;/STRONG&gt; -&amp;nbsp;&lt;A href="http://vbfeeds.com"&gt;http://vbfeeds.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/sergeb/aggbug/5552.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Serge Baranovsky</dc:creator><title>MIT Weblog Survey</title><link>http://blogs.vbcity.com/sergeb/archive/2005/07/18/4712.aspx</link><pubDate>Mon, 18 Jul 2005 17:52:00 GMT</pubDate><guid>http://blogs.vbcity.com/sergeb/archive/2005/07/18/4712.aspx</guid><description>&lt;A href="http://blogsurvey.media.mit.edu/request"&gt;&lt;IMG style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" alt="Take the MIT Weblog Survey" src="http://blogsurvey.media.mit.edu/images/survey-statistic.gif"&gt;&lt;/A&gt;&lt;img src ="http://blogs.vbcity.com/sergeb/aggbug/4712.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Serge Baranovsky</dc:creator><title>Installed new .Text skin - BlackSun</title><link>http://blogs.vbcity.com/sergeb/archive/2005/07/13/4641.aspx</link><pubDate>Wed, 13 Jul 2005 04:05:00 GMT</pubDate><guid>http://blogs.vbcity.com/sergeb/archive/2005/07/13/4641.aspx</guid><description>I got bored with all skins installed for &lt;A href=""&gt;http://blogs.vbcity.com&lt;/A&gt;, so I went and found new .Text skin on &lt;A href="http://www.dotnetmonster.com/Uwe/DirItem.aspx/Dir/Software/Internet-and-Network/Blog-Software/Text-Skins/BlackSun"&gt;.NET Monster&lt;/A&gt; - &lt;A href="http://www.dotnetmonster.com/Uwe/DirItem.aspx/Dir/Software/Internet-and-Network/Blog-Software/Text-Skins/BlackSun"&gt;BlackSun&lt;/A&gt;, modified it a bit, installed on vbCity Blogs and now use for my blog :)&lt;img src ="http://blogs.vbcity.com/sergeb/aggbug/4641.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Serge Baranovsky</dc:creator><title>Aaah, crap!</title><link>http://blogs.vbcity.com/sergeb/archive/2005/06/27/4537.aspx</link><pubDate>Mon, 27 Jun 2005 10:07:00 GMT</pubDate><guid>http://blogs.vbcity.com/sergeb/archive/2005/06/27/4537.aspx</guid><description>&lt;P&gt;Spent last hour or so deleting spam trackbacks on &lt;A href="http://blogs.vbcity.com/"&gt;vbCity Blogs&lt;/A&gt;&amp;nbsp;- &lt;A href="http://blogs.vbcity.com/shandy/archive/2005/06/22/3541.aspx"&gt;Shandy posted&lt;/A&gt; about those last week. &lt;/P&gt;
&lt;P&gt;I found this morning over 3000 spam trackbacks for just a bit over 500 posts 8-(&lt;/P&gt;
&lt;P&gt;Luckily, I&amp;nbsp;removed 2/3 of the spam by searching for a substring like &amp;#8220;poker&amp;#8221;, &amp;#8220;casino&amp;#8221; and about a dozen more. For the rest it was easier and quicker to delete them manually in the SQL Enterprise Manager than adding SQL queries.&lt;/P&gt;
&lt;P&gt;Got to do something about those trackbacks. At this point it would make sense to simply turn them off as 3000/100 ratio&amp;nbsp;in just one month makes them pretty much useless. But I'm sure I will find a better solution.&lt;/P&gt;
&lt;P&gt;Hopefully this will get me back on blogging track too :)&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/sergeb/aggbug/4537.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Serge Baranovsky</dc:creator><title>Comment spam battle - Captcha control implemented on blogs.vbcity.com</title><link>http://blogs.vbcity.com/sergeb/archive/2005/02/10/1044.aspx</link><pubDate>Thu, 10 Feb 2005 02:40:00 GMT</pubDate><guid>http://blogs.vbcity.com/sergeb/archive/2005/02/10/1044.aspx</guid><description>&lt;P&gt;Comment spam has been growing every day and I received number of requests from vbCity bloggers to do something about that.&lt;/P&gt;
&lt;P&gt;So I did. &lt;/P&gt;
&lt;P&gt;I googled for a comment spam solution for .TEXT and found &lt;A href="http://blogs.clearscreen.com/migs/archive/2005/02/01/905.aspx"&gt;ASP.NET Captcha control&lt;/A&gt; by &lt;A href="http://blogs.clearscreen.com/migs/"&gt;Miguel Jim&amp;#233;nez&lt;/A&gt; that I liked. Adding it to .TEXT was a snap - literally two lines in one of the .ascx files. &lt;/P&gt;
&lt;P&gt;Today I&amp;nbsp;updated all skins for vbCity Blogs&amp;nbsp;with the Captcha control.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are two minor issues with the control at the moment:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;if&amp;nbsp;&lt;!--StartFragment --&gt;visitor enters the phrase wrong, you lose everything you typed in 
&lt;LI&gt;to delete comment you will have to enter the phrase. Alternatively you can delete comments in the admin piece.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Both issues can only be resolved by recompiling the .TEXT code. Unfortunatelly I rebuilt my dev machine few months ago and&amp;nbsp; now&amp;nbsp;VS.NET doesn't&amp;nbsp;open .TEXT project even though everything looks correct. I will fix both issues when I manage to open the project :)&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/sergeb/aggbug/1044.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Serge Baranovsky</dc:creator><title>Revamped DevCity.NET web site is live</title><link>http://blogs.vbcity.com/sergeb/archive/2005/01/06/663.aspx</link><pubDate>Thu, 06 Jan 2005 19:52:00 GMT</pubDate><guid>http://blogs.vbcity.com/sergeb/archive/2005/01/06/663.aspx</guid><description>&lt;P&gt;We (finally) launched new revamped &lt;A href="http://www.devcity.net"&gt;DevCity.NET&lt;/A&gt; web site! It took a while to migrate to new software but it is done now :) &lt;/P&gt;
&lt;P&gt;New web site features better (hopefully) layout and look,&amp;nbsp;online&amp;nbsp;content management&amp;nbsp;system featuring author registration, article submission, complete article/web site maintenance, RSS feeds.&lt;/P&gt;
&lt;P&gt;The home page got redesigned as well and now it features latest articles, news, integrates with vbCity Blogs, FAQs and Forums.&lt;/P&gt;
&lt;P&gt;I want to thank vbCity Leaders, especially,&amp;nbsp;&lt;A href="http://www.vbcity.com/forums/profile.asp?id=XTab"&gt;Ged&lt;/A&gt; and &lt;A href="http://blogs.vbcity.com/mcintyre/"&gt;Mike&lt;/A&gt;, for the great help and support in launching and testing the new site!&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/sergeb/aggbug/663.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Serge Baranovsky</dc:creator><title>Create User WSH script for .TEXT</title><link>http://blogs.vbcity.com/sergeb/archive/2004/11/22/486.aspx</link><pubDate>Mon, 22 Nov 2004 01:49:00 GMT</pubDate><guid>http://blogs.vbcity.com/sergeb/archive/2004/11/22/486.aspx</guid><description>&lt;P&gt;As I commented on &lt;A href="http://blogs.msdn.com/duncanma/archive/2004/08/11/213229.aspx#213332"&gt;Duncan's Blog&lt;/A&gt; about the script I&amp;nbsp;developed for blogs.vbcity.com&amp;nbsp;that allows me to add users&amp;nbsp;easy and quick,&amp;nbsp;I got few emails asking for the script code. So I'm posting it here&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; The script as it posted&amp;nbsp;requires Windows Scripting Host installed on the server. If you choose you can modify it to run as ASP or ASP.NET code.&lt;/P&gt;
&lt;P&gt;There is another script that I use for this site - I'm adding FTP accounts and setting up FTP sites for blog users using ADSI - let me know if you want it posted too.&lt;/P&gt;&lt;PRE style="WIDTH: 550px; WORD-WRAP: break-word"&gt;&lt;DIV&gt;&lt;!--
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
--&gt;&lt;SPAN style="COLOR: #008000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt; Command line parameters:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;
'
'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;     %1 - User &lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;
'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;     %2 - Password &lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;
'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;     %3 - FullName &lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;
'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;     %4 - Email &lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;
'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;     %5 - Blog Title &lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;
'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;     %6 - Blog SubTitle&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;
'
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;/****************************** Main Scrtipt **********************************/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Const&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DEFAULT_CSS &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;Marvin3&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt; replace with the CSS of your choice&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Const&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; BLOG_HOST &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;blogs.vbcity.com&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt; replace with your host name or use localhost when testing locally&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; ConnString
ConnString &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;Provider=sqloledb;Password={YOURPASSWORD};User ID={YOURUSER};Initial Catalog=blogs;Data Source={YOURSQLSERVER}"
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Set&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; objArgs &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; WScript.Arguments
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; boolGoodParams
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt; debug message&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;WScript.Echo &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;Arguments Count: &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; WScript.Arguments.Count
boolGoodParams &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;True&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; WScript.Arguments.Count &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;6&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; 
  WScript.Echo &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;Sample Use: scriptname.vbs User Password FullName Email Title SubTitle"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;  boolGoodParams &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;False&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; boolGoodParams &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; strUser, strPassword, strFullName, strEmail, strTitle1, strTitle2
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; i 
  i &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;0&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; 
  
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt; debug message&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;For&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Each&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; strArg in objArgs
    i &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; i &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;+&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;1&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
    WScript.Echo &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;Argument(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; i &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;): &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; strArg
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Next&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; 
  strUser &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; WScript.Arguments(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;0&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;)
  strPassword &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; WScript.Arguments(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;1&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;)
  strFullName &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; WScript.Arguments(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;2&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;)
  strEmail &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; WScript.Arguments(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;3&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;)
  strTitle1 &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; WScript.Arguments(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;4&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;)
  strTitle2 &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; WScript.Arguments(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;5&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;)
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; conn, rs, bOpened
  bOpened &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DatabaseConnect(conn, ConnString)
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; bExists, SQL
  SQL &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;select count(*) as user_count from blog_config where UserName = '&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; strUser &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;'"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;  bExists &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DatabaseGetValue(conn, SQL, &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;user_count&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;, &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;False&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;)
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt; debug message&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;  WScript.Echo &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;bExists: &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;CBool&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;(bExists)
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Not&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; bExists &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Call&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; BlogDBUserAdd(strUser, strPassword, strFullName, strEmail, strTitle1, strTitle2)
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
  DatabaseDisconnect conn, bOpened
  WScript.Echo &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;Done."
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;/******************************************************************************/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Function&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; BlogDBUserAdd(strUser, strPassword, strFullName, strEmail, strTitle1, strTitle2)
  SQL &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;INSERT INTO [blog_Config] ([UserName], [Password], [Email], [Title], [SubTitle], &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; _
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;[Skin], [Host], [Author], [TimeZone], [IsActive], [Language], [ItemCount], [Flag], &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; _
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;[LastUpdated], [News], [SecondaryCss], [Application], [BlogGroup]) &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; _
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;VALUES ('&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DoubleQuotes(strUser) &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;', '&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DoubleQuotes(strPassword) &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;', '&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DoubleQuotes(strEmail) &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;','&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DoubleQuotes(strTitle1) &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;', '&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DoubleQuotes(strTitle2) &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;', &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; _
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DoubleQuotes(DEFAULT_CSS) &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;', '&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DoubleQuotes(BLOG_HOST) &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;', '&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DoubleQuotes(strFullName) &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;', -8, 1, 'en-US', 15, 55, &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; _
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;getdate(), '', '', '&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; strUser &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;', 1)"
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;  DatabaseExecute conn, SQL
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End Function&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;/******************************************************************************/&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Function&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DoubleQuotes(strSource)
  DoubleQuotes &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Replace&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;(strSource, &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;, &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;''&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;)
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End Function&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;/******************************************************************************/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Function&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DatabaseConnect(objConn, ConnString)
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; bCreateConn
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Not&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;IsEmpty&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;(objConn) &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; objConn &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Is&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Nothing&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
      bCreateConn &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;True&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Else&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
      bCreateConn &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;False&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Else&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
    bCreateConn &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;True&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; bCreateConn &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;True&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Set&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; objConn &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;CreateObject&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;ADODB.Connection&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;)
    objConn.Open ConnString
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
  DatabaseConnect &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; bCloseConn
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End Function&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Function&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DatabaseDisconnect(objConn, bOpened)
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;On&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Error&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Resume&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Next&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; bOpened &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;True&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
    objConn.Close
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Set&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; objConn &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Nothing&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
    bOpened &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;False&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End Function&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Function&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DatabaseExecute(objConn, SQL)
  objConn.&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Execute&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; SQL 
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End Function&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Function&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DatabaseSelect(objConn, SQL)
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Set&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DatabaseSelect &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; objConn.&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Execute&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;(SQL)
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End Function&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Function&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DatabaseOpenRS(objConn, rs, SQL)
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Const&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; adOpenStatic &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;3&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Not&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;IsEmpty&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;(rs) &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; rs &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Is&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Nothing&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
      &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Set&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; rs &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;CreateObject&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;ADODB.Recordset&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;)
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Else&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Set&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; rs &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;CreateObject&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;ADODB.Recordset&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;)
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
  rs.Open SQL, objConn, adOpenStatic
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End Function&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;'&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt; Open Forward Only recordset&lt;/SPAN&gt;&lt;SPAN style="COLOR: #008000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Function&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DatabaseOpenRS_FO(objConn, rs, SQL)
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Const&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; adOpenForwardOnly &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;0&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Const&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; adLockReadOnly &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;1&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Const&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; adCmdText &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;H0001
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Not&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;IsEmpty&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;(rs) &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; rs &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Is&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Nothing&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
      &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Set&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; rs &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;CreateObject&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;ADODB.Recordset&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;)
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Else&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Set&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; rs &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;CreateObject&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;ADODB.Recordset&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;)
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
  rs.Open SQL, objConn, adOpenForwardOnly, adLockReadOnly, adCmdText
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End Function&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Function&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DatabaseGetValue(objConn, SQL, Field, Default)
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; rs, vRetValue
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Set&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; rs &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; DatabaseSelect(objConn, SQL)
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; rs.BOF &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Or&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; rs.EOF &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
    vRetValue &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; Default
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Else&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Trim&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;(&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;""&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; rs(Field)) &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;""&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Then&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
      vRetValue &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; Default
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Else&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
      vRetValue &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; rs(Field)
    &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;If&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
  DatabaseGetValue &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; vRetValue
  rs.Close
  &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Set&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; rs &lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;=&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;Nothing&lt;/SPAN&gt;&lt;SPAN style="COLOR: #000000"&gt;
&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;End Function&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/PRE&gt;&lt;img src ="http://blogs.vbcity.com/sergeb/aggbug/486.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Serge Baranovsky</dc:creator><title>Couple of issues fixed on blogs.vbcity.com</title><link>http://blogs.vbcity.com/sergeb/archive/2004/08/25/251.aspx</link><pubDate>Wed, 25 Aug 2004 13:41:00 GMT</pubDate><guid>http://blogs.vbcity.com/sergeb/archive/2004/08/25/251.aspx</guid><description>&lt;P&gt;I'm still traveling - leaving Paris for Ukraine tomorrow morning - and have connection only for about an hour every other day (the reason I haven't been posting lately) just enough to make sure the sites are up and glance through&amp;nbsp;new email. &lt;/P&gt;
&lt;P&gt;I fixed problem with uploaded images not showing up on blogs and yet another one Duncan Mackenzie is mentioning: &lt;/P&gt;
&lt;BLOCKQUOTE&gt;Within a few hours of being up, I ran into &lt;A href="http://odetocode.com/Blogs/scott/archive/2004/05/26/259.aspx" target=_blank&gt;this issue.&lt;/A&gt;.. odd, since it doesn't appear to be affecting very many folks... 
&lt;BLOCKQUOTE&gt;&lt;B&gt;&lt;A href="http://odetocode.com/Blogs/scott/archive/2004/05/26/259.aspx" target=_blank&gt;.Text Threading Bug&lt;/A&gt;&lt;/B&gt;&lt;BR&gt;.&lt;I&gt;..If you are one of the 7 regular readers here you might have noticed some problems over the last few weeks. Every so often .Text would display an error page with the message: &amp;#8220;Value cannot be null. Parameter name: value&amp;#8221;. Once the error happened it would stick around until the application restarted. Unfortunately, the error was appearing everyday. After asking around on some of the boards to no avail I did some sleuthing...&lt;/I&gt; &lt;/BLOCKQUOTE&gt;&lt;IMG height=1 src="http://blogs.duncanmackenzie.net/duncanma/aggbug/593.aspx" width=1&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;I&gt;[Via &lt;A href="http://blogs.duncanmackenzie.net/duncanma/archive/2004/08/25/593.aspx"&gt;Blogs on DuncanMackenzie.net&lt;/A&gt;]&lt;/I&gt; &lt;/P&gt;
&lt;P&gt;I haven't ran into this problem before as I was updating the blogs site frequently (hence restarting the app) before I went to vacation... &lt;/P&gt;
&lt;P&gt;Well, hopefully these all are fixed now&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/sergeb/aggbug/251.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Serge Baranovsky</dc:creator><title>How to configure desktop client for blogs.vbcity.com</title><link>http://blogs.vbcity.com/sergeb/archive/2004/08/09/164.aspx</link><pubDate>Mon, 09 Aug 2004 04:29:00 GMT</pubDate><guid>http://blogs.vbcity.com/sergeb/archive/2004/08/09/164.aspx</guid><description>&lt;p&gt;It is pretty cool to be blog in your browser - you can do that from anywhere you find a connected computer.&lt;/p&gt;&lt;p&gt;But if you want to use desktop client to blog at blogs.vbcity.com here I've put together two articles on how to configure w.bloggar and BlogJet:&lt;/p&gt;&lt;ul type="square"&gt;&lt;li&gt;&lt;A href="http://blogs.vbcity.com/sergeb/articles/BlogConfigureWBloggar.aspx"&gt;How to configure w.bloggar&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;A href="http://blogs.vbcity.com/sergeb/articles/BlogConfigureBlogJet.aspx"&gt;How to configure BlogJet&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src ="http://blogs.vbcity.com/sergeb/aggbug/164.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>