<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>codevalve</title>
	<atom:link href="http://codevalve.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://codevalve.com</link>
	<description>building software since 1983</description>
	<lastBuildDate>Wed, 31 Dec 2008 22:02:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Logos for open source projects</title>
		<link>http://codevalve.com/logos-for-open-source-projects/</link>
		<comments>http://codevalve.com/logos-for-open-source-projects/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 21:30:58 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Logos]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[photoblog]]></category>

		<guid isPermaLink="false">http://codevalve.com/?p=22</guid>
		<description><![CDATA[Here are some logos I&#8217;ve been working on for few open source  projects.
 
 
 
 
]]></description>
			<content:encoded><![CDATA[<p>Here are some logos I&#8217;ve been working on for few open source  projects.</p>
<p> </p>
<div class="wp-caption alignnone" style="width: 189px"><a href="http://codevalve.com/projects/gluescript/gluescript-logo-orange-on-b.gif" rel="lightbox[22]"><img title="GLUEScript" src="http://codevalve.com/projects/gluescript/gluescript-logo-orange-on-b.gif" alt="GLUEScript" width="179" height="46" /></a><p class="wp-caption-text">GLUEScript</p></div>
<p> </p>
<div class="wp-caption alignnone" style="width: 160px"><a href="http://codevalve.com/projects/gluescript/powered-by-gluescript.gif" rel="lightbox[22]"><img title="Powered By GLUEScript" src="http://codevalve.com/projects/gluescript/powered-by-gluescript.gif" alt="Powered By GLUEScript" width="150" height="52" /></a><p class="wp-caption-text">Powered By GLUEScript</p></div>
<p> </p>
<div class="wp-caption alignnone" style="width: 132px"><a href="http://codevalve.com/projects/devchekio/Devchekio-logo-3bird.gif" rel="lightbox[22]"><img class=" " title="Devchekio Logo" src="http://codevalve.com/projects/devchekio/Devchekio-logo-3bird.gif" alt="Devchekio Logo" width="122" height="70" /></a><p class="wp-caption-text">Devchekio Logo</p></div>
<p> </p>
<div class="wp-caption alignnone" style="width: 309px"><a href="http://codevalve.com/projects/hewle/Hewle-logo-blue-green.gif" rel="lightbox[22]"><img class=" " title="Hewle Guide System" src="http://codevalve.com/projects/hewle/Hewle-logo-blue-green.gif" alt="Hewle Guide System" width="299" height="76" /></a><p class="wp-caption-text">Hewle Guide System</p></div>
]]></content:encoded>
			<wfw:commentRss>http://codevalve.com/logos-for-open-source-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trying out the latest WordPress</title>
		<link>http://codevalve.com/trying-out-the-latest-wordpress/</link>
		<comments>http://codevalve.com/trying-out-the-latest-wordpress/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 22:53:26 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://codevalve.com/?p=4</guid>
		<description><![CDATA[I&#8217;m trying a few blogging engines slash content management systems and thought the site could really use the update as well.
I also have realized I have an article and some code on DevDex that should live here as a reference as well.
Check out Jeff Atwood&#8217;s article on WordPress CPU usage and why you should turn [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying a few blogging engines slash content management systems and thought the site could really use the update as well.</p>
<p>I also have realized I have an article and some code on <a title="DevelopersDex.com" href="http://www.developersdex.com/gurus/default.asp?p=1794" target="_self">DevDex</a> that should live here as a reference as well.</p>
<p>Check out <a title="Coding Horror" href="http://www.codinghorror.com/">Jeff Atwood&#8217;s</a> <a title="Coding Horror" href="http://www.codinghorror.com/blog/archives/001105.html">article</a> on <a title="WordPress" href="http://wordpress.org/">WordPress</a> CPU usage and <a title="Coding Horror" href="http://www.codinghorror.com/blog/archives/001105.html" target="_self">why you should turn on caching.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://codevalve.com/trying-out-the-latest-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Database Connection Through VBScript Classes Part 1</title>
		<link>http://codevalve.com/database-connection-through-vbscript-classes-part-1/</link>
		<comments>http://codevalve.com/database-connection-through-vbscript-classes-part-1/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 06:08:34 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[article]]></category>
		<category><![CDATA[classes]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[vbscript]]></category>

		<guid isPermaLink="false">http://codevalve.com/?p=3</guid>
		<description><![CDATA[Are you tired of writing the code to connect to a database over and over again?
I've grown very tired of it. I decided it was time to build a reusable class to hook up the connection and record set objects I use in almost all of my projects.]]></description>
			<content:encoded><![CDATA[<p>Are you tired of writing the code to connect to a database over and over again?<br />
I&#8217;ve grown very tired of it. I decided it was time to build a reusable class to hook up the connection and recordset objects I use in almost all of my projects.</p>
<p>The concept I came to love is a VBScript class.</p>
<p>Here is the code for the class.</p>
<pre class="vb" name="code">Class DataBaseFunctions

' Declare variables to have public scope.

Public rs
Public cn

'Method to initialize connection to database

Private Sub Init

if isobject(cn) = false then

Set cn = Server.CreateObject("ADODB.Connection")
Set rs = Server.CreateObject("ADODB.Recordset")

cn.ConnectionString = Application("DB_CONN")
cn.Open

end if

End Sub

' Method to destory objects created.

Public Sub Destroy

if isobject(rs) = true then
rs.Close
Set rs = nothing
end if

if isobject(cn) = true then
cn.Close
Set cn = nothing
end if

End Sub

End Class</pre>
<p>Now I only need one line of code on my ASP page to initialize my database connection. Notice the use of the Application object to store the connection string. This has always been a convieniant way to store global information and make it eaiser to change later.<br />
Add this code to your global.asa in the Application_OnStart() sub to set the Application(&#8220;DB_CONN&#8221;) variable equal to your database DSN (in this case) or a DSN-less connection string.</p>
<pre class="vb" name="code">Application("DB_CONN") = "DSN=cvDatabase;"</pre>
<p>Here is how you would use the DataBaseFunctions class in your ASP page :</p>
<pre class="html" name="code">&lt;HTML&gt;
&lt;HEAD&gt;
&lt;!-- #INCLUDE File="class_DataBaseFunctions.asp" --&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;%
Set db = new DataBaseFunction

db.Init
Set db.rs = db.cn.Execute("SELECT * FROM tblUser WHERE UserID = 10")

Response.Write(db.rs.Fields(1).value)

db.Destroy

Set db = Nothing
%&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://codevalve.com/database-connection-through-vbscript-classes-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What we do.</title>
		<link>http://codevalve.com/what-we-do/</link>
		<comments>http://codevalve.com/what-we-do/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 12:38:04 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://codevalve.com/?p=1</guid>
		<description><![CDATA[We build software.
We can help you design, build and deploy solutions for your school, team or business.
We provide cost effective web hosting from simple web pages all the way to dedicated turn key systems.
Solutions; our only product.
]]></description>
			<content:encoded><![CDATA[<p>We build software.</p>
<p>We can help you design, build and deploy solutions for your school, team or business.</p>
<p>We provide cost effective web hosting from simple web pages all the way to dedicated turn key systems.</p>
<p>Solutions; our only product.</p>
]]></content:encoded>
			<wfw:commentRss>http://codevalve.com/what-we-do/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.246 seconds -->
