May 24, 2013
Hot Topics:
RSS RSS feed Download our iPhone app

Writing Active Server components in Visual Basic, Page 3

  • April 30, 1998
  • By Thornton Rose, Thornton Rose
  • Send Email »
  • More Articles »


' Class FileIO

Option Explicit

Private objApplication As Application  ' Reference to Application object
Private objResponse As Response        ' Reference to Response object

' OnStartPage():
'
' This procedure is called when an instance of this class is created in an
' Active Server Page. It gets references to the Application and Response
' objects that are being used in the ASP page that created the instance of
' this class.
'
Public Sub OnStartPage(objScriptingContext As ScriptingContext)
   Set objApplication = objScriptingContext.Application()
   Set objResponse = objScriptingContext.Response()
End Sub

' OnEndPage():
'
' This procedure is called when an instance of this class is destroyed in 
' an Active Server Page. It is used to clean up object references.
'
Public Sub OnEndPage()
   Set objApplication = Nothing
   Set objResponse = Nothing
End Sub

' help():
'
' Writes help information to the response stream.
'
Public Sub help()
   objResponse.Write "

Class FileIO

" & vbCrLf objResponse.Write "Usage:" & vbCrLf objResponse.Write "set o = Server.CreateObject(""ASCExample.FileIO"")" & vbCrLf objResponse.Write "

Methods:" & vbCrLf objResponse.Write "

    " & vbCrLf objResponse.Write "
  • help() - shows help" & vbCrLf objResponse.Write "
  • fileSize(strName) - returns size of named file" & vbCrLf objResponse.Write "
  • fileExists(strName) - returns True if named file exists" & vbCrLf objResponse.Write "
  • deleteFile(strName) - deletes named file" & vbCrLf objResponse.Write "
  • appendLine(strName, strLine) - appends line to file" & vbCrLf objResponse.Write "
" & vbCrLf End Sub ' fileSize(): ' ' Returns the size of the file with the given name. ' Public Function fileSize(strFileName) As Long fileSize = FileLen(strFileName) End Function ' fileExists(): ' ' Returns True if the specified file exists. Note that the given file ' specification can contain wildcard characters. ' Public Function fileExists(strFileSpec) As Boolean fileExists = (Dir(strFileSpec) <> "") End Function ' deleteFile(): ' ' Deletes files that match the given file specification, which can include ' wildcard characters. ' Public Sub deleteFile(strFileSpec) Call Kill(strFileSpec) End Sub ' appendLine(): ' ' Appends a line to a text file (which is handy when working with log ' files.) ' Public Sub appendLine(strFileName, strLine) Dim objFileSystem As FileSystemObject Dim objStream As TextStream Set objFileSystem = New FileSystemObject Set objStream = objFileSystem.OpenTextFile(strFileName, 8, True, False) objStream.WriteLine strLine objStream.Close End Sub ' End Class FileIO [end] -->

  • Save everything and compile. That's it.

    Testing

    Testing your Active Server component is easy (although debugging can get tedious). A few lines of VBScript or JavaScript in an ASP page is all that is required. Here's the test script:

    <html> <head> <title>ASCExample Tester</title> </head> <h3>ASCExample Tester</h3> <% ' Create a FileIO object. set objFileIO = Server.CreateObject("ASCExample.FileIO") %> <hr> <% ' Get some help from the FileIO object. objFileIO.help %> <hr> <% ' Create a file for testing. strLogFileName = "c:\temp\test.log" objFileIO.appendLine strLogFileName, "This is line 1." %> <!-- Get the file info. --> strLogFileName = <%= strLogFileName %><br> fileExists() => <%= CStr(objFileIO.fileExists(strLogFileName)) %><br> fileSize() => <%= objFileIO.fileSize(strLogFileName) %> bytes <% ' Delete the file. objFileIO.deleteFile(strLogFileName) %> <p> <!-- Check the file existance again. --> File deleted.<br> fileExists() => <%= CStr(objFileIO.fileExists(strLogFileName)) %> <script language="JavaScript" type="text/javascript"> var gDomain="www.qsstats.com"; var gDcsId="dcs38irdn10000g0vc4171yva_9y7z"; var gFpc="WT_FPC"; var gConvert=true; var gFpcDom = "developer.com"; if ((typeof(gConvert) != "undefined") && gConvert && (document.cookie.indexOf(gFpc + "=") == -1) && (document.cookie.indexOf("WTLOPTOUT=")==-1)) { document.write("<SCR"+"IPT TYPE='text/javascript' SRC='http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+"/"+gDcsId+"/wtid.js"+"'><\/SCR"+"IPT>"); } function dcsAdditionalParameters() {} </script> <script type="text/javascript" src="/imageserver/common/webtrends.js"></script> <noscript><img alt="" border="0" name="DCSIMG" width="1" height="1" src="http://www.qsstats.com/dcs38irdn10000g0vc4171yva_9y7z/njs.gif?dcsuri=/nojavascript&amp;WT.js=No&amp;WT.tv=8.0.2;WT.qs_dlk=UZ9T1QrIZ2MAAD5GLCUAAAAq;" /></noscript> </html> [end] </PRE> <!--end_section--></P> <br/> <div style="height: 40px;" id="pages"> <div style="margin-left: 50%;"> <ul style="margin-left: -120px;"> <li class="arrow-left"><a href="/net/asp/article.php/10917_602621_2/Writing-Active-Server-components-in-Visual-Basic.htm"><img src="/images0/arrow_left.jpg" width="16" height="16" /></a></li> <li class="begin-li"></li> <li><a href="/net/asp/article.php/602621/Writing-Active-Server-components-in-Visual-Basic.htm">1</a> </li> <li><a href="/net/asp/article.php/10917_602621_2/Writing-Active-Server-components-in-Visual-Basic.htm">2</a> </li> <li><a href="javascript:void(0);">3</a> </li> <li class="end-li"></li> </ul> </div> </div> <br/><br/> <!------ QUAD_AD 'ciu2' begin ------> <div class="ciu_ads"> <span class="ciu_wrapper_single"><!--adtype: --> <!-- AD position = U2 OAS eqv. = ciu2 QUAD pos = CIU-FLEX(CIU-2) QUAD path = www.developer.com/net Page type = other --> <script language="JavaScript"> zzfocrender("203", "9481", "837132/665573/665550/665099/581034", "59", "600", "200", "", "", "");</script> <noscript> <a href="http://o1.qnsr.com/cgi/r?WT.qs_dlk=UZ9T1QrIZ2MAAD5GLCUAAAAq;;;n=203;c=837132/665573/665550/665099/581034;s=9481;x=15104;f=3826136988;u=j;z=20130524044942" target="_blank"> <img border="0" width="600" height="200" src="http://o1.qnsr.com/cgi/x?;n=203;c=837132/665573/665550/665099/581034;s=9481;x=15104;f=3826136988;u=j;z=20130524044942" alt="Click here"></a> </noscript> </span> </div> <!------ QUAD_AD 'ciu2' end ------> <!-- START COMMENTING CODE --> <p class="style1"> <noscript>Please enable Javascript in your browser, before you post the comment! Now Javascript is disabled.</noscript> </p> <a name="commentresponse"> <div id="comment_response"></div> </a> <div id="comment_error" class="error"></div> <div class="comment_wrapper"> <div style="font-weight: bold;"><font id="commentCount">0</font> Comments&nbsp;<a href="#comment_form" style="text-decoration: underline;">(click to add your comment)</a></div> <div id="comment_pagination_top"></div> <div id="comment_page_container"></div> <div id="comment_pagination_bottom"></div> <div id="comment_form"> <div style="border-bottom: 2px solid rgb(102, 102, 102); width: 100%; height: 20px; margin-bottom: 5px; clear: left;"></div> <img border="0" src="http://assets.devx.com/Icon/icon_comment.png" />Comment and Contribute<p></p> </div> <div style="background-color:#EFEFEF;"> <p>&nbsp;</p> <form id="commentform" name="commentform" method="post" > <p class="commenttext"> <input type="text" tabindex="1" size="22" value="" id="author" name="author"> <label for="author">Your name/nickname</label> </p> <p class="commenttext"> <input type="text" tabindex="2" size="22" value="" id="email" name="email"> <label for="email">Your email</label> </p> <p class="commenttext"> <input type="text" tabindex="3" value="" size="22" id="blurbTitle" name="blurbTitle"> <label for="blurbTitle">Subject</label> </p> <p class="commenttext"> <textarea id="commentdetails" name="commentdetails" onkeydown="limitText(this.form.commentdetails,this.form.countdown,1200);" onkeyup="limitText(this.form.commentdetails,this.form.countdown,1200);" style="overflow: auto; font-family: arial,helvetica,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 9pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;" rows="10" cols="80" tabindex="4"></textarea><br/> <span style="font-size:8pt;margin-left:10px;">(Maximum characters: 1200). You have <input type="text" size="4" value="1200" name="countdown"> characters left.</span> <p class="commenttext"> <script type="text/javascript" src="http://api.recaptcha.net/challenge?k=6LeI_LkSAAAAAKKj8A30rX0r1Hi4DEfqve2GYRgA"></script> <noscript> <iframe src="http://api.recaptcha.net/noscript?k=6LeI_LkSAAAAAKKj8A30rX0r1Hi4DEfqve2GYRgA" height="300" width="500" frameborder="0"></iframe><br/> <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea> <input type="hidden" name="recaptcha_response_field" value="manual_challenge"/> </noscript> </p> <p> <input type="submit" value="Submit Your Comment" tabindex="6" id="submit" name="submit" onclick="return validate();" />&nbsp;<img border="0" align="center" src="/images0/ajax-loader.gif" id="ajax_loading_img" style="vertical-align:middle;visibility:hidden;"> </p> <input type="hidden" id="key" value="1838950" name="key"> <input type="hidden" value="0" id="comment_parent" name="comment_parent"> <input type="hidden" value="0" id="totalComments" name="totalComments"> </form> <p>&nbsp;</p> </div> </div> <script type="text/javascript" src="/javascripts/comments.js"></script> <br> <!-- END COMMENTING CODE --> <div class="vspace"></div> <div class="adsBox ads4"> <div class="ads_itoffer"> <span class="title">Networking Solutions</span> <ul class="noBullets"> <!------ QUAD_AD 'fl' begin ------> <!--adtype: --> <!-- AD position = FL OAS eqv. = featured_links QUAD pos = fl_link-FLEX(FL) QUAD path = www.developer.com/net Page type = other --> <script language="JavaScript"> zzfocrender("203", "9481", "665590/665573/665550/665099/581034", "19", "400", "400", "", "", "");</script> <noscript> <a href="http://o1.qnsr.com/cgi/r?WT.qs_dlk=UZ9T1QrIZ2MAAD5GLCUAAAAq;;;n=203;c=665590/665573/665550/665099/581034;s=9481;x=4864;f=2408059709;u=j;z=20130524044942" target="_blank"> <img border="0" width="400" height="400" src="http://o1.qnsr.com/cgi/x?;n=203;c=665590/665573/665550/665099/581034;s=9481;x=4864;f=2408059709;u=j;z=20130524044942" alt="Click here"></a> </noscript> <!------ QUAD_AD 'fl' end ------> </ul> </div> </div> </div> <!-- article div ends --> </div> <div class="col colRight dimMainRight"> <div class="vspace" style="height:5px;"></div> <div class="adsBox"> <!------ QUAD_AD '336x280' begin ------> <div id="top_mpu_ad"> <!--adtype: B2B_AD_MPU--> <!-- AD position = D OAS eqv. = 336x280 QUAD pos = Bob-FLEX(BOB)POS(TOP) QUAD path = www.developer.com/net Page type = other --> <script language="JavaScript"> zzfocrender("203", "9481", "665581/665573/665550/665099/581034", "9", "300", "250", "", "", "");</script> <noscript> <a href="http://o1.qnsr.com/cgi/r?WT.qs_dlk=UZ9T1QrIZ2MAAD5GLCUAAAAq;;;n=203;c=665581/665573/665550/665099/581034;s=9481;x=2304;f=1590546616;u=j;z=20130524044942" target="_blank"> <img border="0" width="300" height="250" src="http://o1.qnsr.com/cgi/x?;n=203;c=665581/665573/665550/665099/581034;s=9481;x=2304;f=1590546616;u=j;z=20130524044942" alt="Click here"></a> </noscript> </div> <!------ QUAD_AD '336x280' end ------> </div> <div class="vspace"></div> <div class="adsBox"> <!------ QUAD_AD 'accessunit' begin ------> <div id="accessunit"> <!--adtype: B2B_AD_ACCESSUNIT--> <!-- AD position = N OAS eqv. = accessunit QUAD pos = Accessunit-FLEX(ACCESSUNIT) QUAD path = www.developer.com/net Page type = other --> <script language="JavaScript"> zzfocrender("203", "9481", "665585/665573/665550/665099/581034", "9", "300", "250", "", "", "");</script> <noscript> <a href="http://o1.qnsr.com/cgi/r?WT.qs_dlk=UZ9T1QrIZ2MAAD5GLCUAAAAq;;;n=203;c=665585/665573/665550/665099/581034;s=9481;x=2304;f=4217679987;u=j;z=20130524044942" target="_blank"> <img border="0" width="300" height="250" src="http://o1.qnsr.com/cgi/x?;n=203;c=665585/665573/665550/665099/581034;s=9481;x=2304;f=4217679987;u=j;z=20130524044942" alt="Click here"></a> </noscript> </div> <!------ QUAD_AD 'accessunit' end ------> </div> <div class="vspace"></div> <div id="mostPopularStories" class="section"> <div class="sectionHeader"> <h2>Most Popular Developer Stories</h2> <a href="#" class="more"></a> </div> <div class="sectionContent"> <div class="tabs"> <div class="tabsMenu clearfix"> <ul> <li><a href="#mostPopularToday" class="selected">Today</a></li> <li><a href="#mostPopularThisWeek">This Week</a></li> <li><a href="#mostPopularAllTime">All-Time</a></li> </ul> </div> <div class="tabsContents"> <div class="tabsContent selected" id="mostPopularToday"> <ul> <li><a href="http://www.developer.com/java/data/article.php/3417381/Using-JDBC-with-MySQL-Getting-Started.htm"><span class="graytext">1</span> Using JDBC with MySQL, Getting Started</a></li> <li><a href="http://www.developer.com/design/article.php/2109801/Creating-Use-Case-Diagrams.htm"><span class="graytext">2</span> Creating Use Case Diagrams</a></li> <li><a href="http://www.developer.com/java/other/article.php/3556176/An-Introduction-to-Java-Annotations.htm"><span class="graytext">3</span> An Introduction to Java Annotations</a></li> <li><a href="http://www.developer.com/java/other/article.php/3559931/Hibernate-Basics.htm"><span class="graytext">4</span> Hibernate Basics</a></li> <li><a href="http://www.developer.com/net/asp/article.php/3096831/Using-ASPNET-To-Send-Email.htm"><span class="graytext">5</span> Using ASP.NET To Send Email</a></li> </ul> </div> <div class="tabsContent" id="mostPopularThisWeek"> <ul> <li><a href="http://www.developer.com/java/data/article.php/3417381/Using-JDBC-with-MySQL-Getting-Started.htm"><span class="graytext">1</span> Using JDBC with MySQL, Getting Started</a></li> <li><a href="http://www.developer.com/lang/php/article.php/3896056/10-Experimental-PHP-Projects-Pushing-the-Envelope.htm"><span class="graytext">2</span> 10 Experimental PHP Projects Pushing the Envelope</a></li> <li><a href="http://www.developer.com/java/other/article.php/3559931/Hibernate-Basics.htm"><span class="graytext">3</span> Hibernate Basics</a></li> <li><a href="http://www.developer.com/java/other/article.php/3556176/An-Introduction-to-Java-Annotations.htm"><span class="graytext">4</span> An Introduction to Java Annotations</a></li> <li><a href="http://www.developer.com/db/article.php/3379271/Oracle-Programming-with-PLSQL-Collections.htm"><span class="graytext">5</span> Oracle Programming with PL/SQL Collections</a></li> </ul> </div> <div class="tabsContent" id="mostPopularAllTime"> <ul> <li><a href="http://www.developer.com/java/data/article.php/3417381/Using-JDBC-with-MySQL-Getting-Started.htm"><span class="graytext">1</span> Using JDBC with MySQL, Getting Started</a></li> <li><a href="http://www.developer.com/java/other/article.php/3559931/Hibernate-Basics.htm"><span class="graytext">2</span> Hibernate Basics</a></li> <li><a href="http://www.developer.com/db/article.php/3379271/Oracle-Programming-with-PLSQL-Collections.htm"><span class="graytext">3</span> Oracle Programming with PL/SQL Collections</a></li> <li><a href="http://www.developer.com/java/other/article.php/3556176/An-Introduction-to-Java-Annotations.htm"><span class="graytext">4</span> An Introduction to Java Annotations</a></li> <li><a href="http://www.developer.com/design/article.php/2109801/Creating-Use-Case-Diagrams.htm"><span class="graytext">5</span> Creating Use Case Diagrams</a></li> </ul> </div> </div> </div> </div> </div> <!-- Code to put on site page to show pinning option --> <!-- commented out 10/22 as per CR "CHG231107: Remove IE 9 Site pinning check" <script type="text/javascript" language="javascript"> if(jQuery.browser.msie){ if(document.documentMode != undefined && document.documentMode==9){ if (!window.external.msIsSiteMode()) { document.write('<div id="pinMeContainer"><img class="msPinSite" src="/images0/developer64x64.png" height="64" weight="64" /><br/><span id="pinMe">To Pin this site, drag this image to the left to your Windows Taskbar. Try it now!</span></div>'); }else { try { if (window.external.msIsSiteMode()) { jQuery.get('http://www.developer.com/latest_articles', function(data){ displayLatestNews(data); }); } } catch (ex) { } } }else{ document.write('<div id="pinMeContainer"><img class="msPinSite" src="/images0/developer64x64.png" height="64" weight="64" /><br/><span id="pinMe">Upgrade your browser to IE 9 to see the power of Site Pinning!</span></div>'); } } function displayLatestNews(data){ try{ g_ext = window.external; if(data.articles != undefined && data.articles.length){ g_ext.msSiteModeClearJumpList(); g_ext.msSiteModeCreateJumplist('Developer.com Latest News'); for(i=0; i<data.articles.length; i++){ g_ext.msSiteModeAddJumpListItem (data.articles[i].title, data.articles[i].link, 'http://www.developer.com/favicon.ico'); } var dt = new Date(); var updated = (dt.getMonth()+1) +"/"+(dt.getDay()+1)+"/"+dt.getFullYear()+" "+dt.toLocaleTimeString(); g_ext.msSiteModeAddJumpListItem ('Last updated - '+updated, 'http://www.developer.com/', 'http://www.developer.com//images0/refresh.ico'); g_ext.msSiteModeShowJumpList(); } }catch(ex){ } } </script> --> <!-- End of code to put on site page to show pinning option --> <div class="adsBox"> <!------ QUAD_AD 'flex' begin ------> <div id="middle_mpu_ad"> <!--adtype: B2B_AD_MPU--> <!-- AD position = F OAS eqv. = flex QUAD pos = Bob-FLEX(BOB)POS(MIDDLE) QUAD path = www.developer.com/net Page type = other --> <script language="JavaScript"> zzfocrender("203", "9481", "665594/665573/665550/665099/581034", "9", "300", "250", "", "", "");</script> <noscript> <a href="http://o1.qnsr.com/cgi/r?WT.qs_dlk=UZ9T1QrIZ2MAAD5GLCUAAAAq;;;n=203;c=665594/665573/665550/665099/581034;s=9481;x=2304;f=4910432005;u=j;z=20130524044942" target="_blank"> <img border="0" width="300" height="250" src="http://o1.qnsr.com/cgi/x?;n=203;c=665594/665573/665550/665099/581034;s=9481;x=2304;f=4910432005;u=j;z=20130524044942" alt="Click here"></a> </noscript> </div> <!------ QUAD_AD 'flex' end ------> </div> <div class="vspace"></div> <div id="mostCommentedOn" class="section"> <div class="sectionHeader"> <h2>Most Commented On</h2> <a href="#" class="more"></a> </div> <div class="sectionContent"> <div class="tabs"> <div class="tabsMenu clearfix"> <ul> <li><a href="#mostCommentedOnThisWeek" class="selected">This Week</a></li> <li><a href="#mostCommentedOnThisMonth">This Month</a></li> <li><a href="#mostCommentedOnAllTime">All-Time</a></li> </ul> </div> <div class="tabsContents"> <div class="tabsContent selected" id="mostCommentedOnThisWeek"> <ul> <li><a href="http://www.developer.com/article.php/3896056"><span class="graytext">1</span> 10 Experimental PHP Projects Pushing the<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Envelope</a></li><li><a href="http://www.developer.com/article.php/777761"><span class="graytext">2</span> Day 1: Learning the Basics of PL/SQL</a></li><li><a href="http://www.developer.com/article.php/3336751"><span class="graytext">3</span> C# Tip: Placing Your C# Application in the<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System Tray</a></li><li><a href="http://www.developer.com/article.php/641521"><span class="graytext">4</span> Logical Versus Physical Database Modeling</a></li><li><a href="http://www.developer.com/article.php/3896711"><span class="graytext">5</span> Is Ubuntu Contributing as Much as It Should to<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Free Software Projects?</a></li> </ul> </div> <div class="tabsContent" id="mostCommentedOnThisMonth"> <ul> <li><a href="http://www.developer.com/article.php/777761"><span class="graytext">1</span> Day 1: Learning the Basics of PL/SQL</a></li><li><a href="http://www.developer.com/article.php/3894316"><span class="graytext">2</span> The 5 Developer Certifications You'll Wish You<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Had in 2015</a></li><li><a href="http://www.developer.com/article.php/3896056"><span class="graytext">3</span> 10 Experimental PHP Projects Pushing the<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Envelope</a></li><li><a href="http://www.developer.com/article.php/1495931"><span class="graytext">4</span> An Introduction to Struts</a></li><li><a href="http://www.developer.com/article.php/3894566"><span class="graytext">5</span> Inside Facebook's Open Source Infrastructure</a></li> </ul> </div> <div class="tabsContent" id="mostCommentedOnAllTime"> <ul> <li><a href="http://www.developer.com/article.php/2109801"><span class="graytext">1</span> Creating Use Case Diagrams</a></li><li><a href="http://www.developer.com/article.php/777761"><span class="graytext">2</span> Day 1: Learning the Basics of PL/SQL</a></li><li><a href="http://www.developer.com/article.php/3336751"><span class="graytext">3</span> C# Tip: Placing Your C# Application in the<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System Tray</a></li><li><a href="http://www.developer.com/article.php/3096831"><span class="graytext">4</span> Using ASP.NET To Send Email</a></li><li><a href="http://www.developer.com/article.php/3417381"><span class="graytext">5</span> Using JDBC with MySQL, Getting Started</a></li> </ul> </div> </div> </div> </div> </div> <div class="vspace"></div> <div class="clearfix ebooksmore"> <div id="partners" class="section"> <div class="sectionHeader"> <h3>Recommended Partner Resources</h3> </div> <div class="sectionContent"> <ul class="noBullets"> <li><a href="http://www.devx.com/MS/Web-Dev">The Web Development Resource Center</a></li> <li><a href="http://www.devx.com/MS/mobilephone/Door/47464">Mobile Development Center</a></li> <li><a href="http://www.htmlgoodies.com/html5/index">HTML 5 Development Center</a></li> </ul> </div> </div> </div> <!-- <style type="text/css"> .dmcontent_container { text-align: center; background-color: #ffffff; width: 125px; height: 250px; border-top: 2px solid; border-color: #0021b5; } .dmcontent_title { text-align: left; height: 20px; line-height: 20px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bolder; width: 125px; color: #000000; background-color: #ffffff; } .dmcontent_body { overflow-y: auto; text-align: left; font-family: Verdana, Arial, Helvetica, sans-serif; line-height: 14px; font-size: 10px; margin-left: auto; margin-right: auto; width: 123px; height: 219px; color: #336699; background-color: #FFFFFF; border: 1px solid; border-color: #dddddd; } .dmcontent_link { text-decoration: none; color:#000000; } </style> --> <!-- <div class="dmcontent_container"> <div class="dmcontent_title">Local Guides</div> <div class="dmcontent_body"> &nbsp;><a href="http://local.developer.com/Architecture_Design-s1176.html" title="Architecture & Design" class="dmcontent_link">Architecture & Design</a><br /> &nbsp;><a href="http://local.developer.com/Database-s1177.html" title="Database" class="dmcontent_link">Database</a><br /> &nbsp;><a href="http://local.developer.com/Java-s1178.html" title="Java" class="dmcontent_link">Java</a><br /> &nbsp;><a href="http://local.developer.com/Languages_Tools-s1179.html" title="Languages & Tools" class="dmcontent_link">Languages & Tools</a><br /> &nbsp;><a href="http://local.developer.com/Microsoft_NET-s1180.html" title="Microsoft & .NET" class="dmcontent_link">Microsoft & .NET</a><br /> &nbsp;><a href="http://local.developer.com/Open_Source-s1181.html" title="Open Source" class="dmcontent_link">Open Source</a><br /> &nbsp;><a href="http://local.developer.com/Project_Management-s1182.html" title="Project Management" class="dmcontent_link">Project Management</a><br /> &nbsp;><a href="http://local.developer.com/Security-s1183.html" title="Security" class="dmcontent_link">Security</a><br /> &nbsp;><a href="http://local.developer.com/Techniques-s1184.html" title="Techniques" class="dmcontent_link">Techniques</a><br /> &nbsp;><a href="http://local.developer.com/Wireless-s1186.html" title="Wireless" class="dmcontent_link">Wireless</a><br /> </div> </div> --> </div> <div class="vspace clear"></div> <div class="vspace clear"></div> <div align="center"> <a href="/sitemap.html">Sitemap</a> | <a href="/contactus">Contact Us</a> </div> <br/> <FONT SIZE="-1" FACE="arial, helvetica"> <style type="text/css"> #developerBrand-footer { text-align:center; margin:0 auto; } #footerlinks { font-size:12px; word-spacing:1px; } #footerlinks a { color:#000000; margin:5px 0 0 0; } #itbeBrand-footer { text-align:center; margin:0 auto; } #footercopyright { font-size:12px; margin:5px 0 0 0; } #developerBrandForum-footer { text-align:center; margin:0 auto; } #itbeBrandForum-footer { text-align:center; margin:0 auto; } .footerLogoClass{ text-align:center; margin:0 auto; } </style> <div id="developerBrand-footer" style="display:none"> </div> <div id="itbeBrand-footer" style="display:none"> </div> <div id="zde-footer" style="display:none" class="footerLogoClass"> </div> <div id="baseline-footer" style="display:none" class="footerLogoClass"> </div> <div id="cinsider-footer" style="display:none" class="footerLogoClass"> </div> <div id="cioinsight-footer" style="display:none" class="footerLogoClass"> </div> <div id="eweek-footer" style="display:none" class="footerLogoClass"> </div> <div id="enterpriseappstoday-footer" style="display:none" class="footerLogoClass"> </div> <div id="eseminar-footer" style="display:none" class="footerLogoClass"> </div> <div id="wbg-footer" style="display:none" class="footerLogoClass"> </div> <div id="developerBrandForum-footer" style="display:none"> </div> <div id="itbeBrandForum-footer" style="display:none"> </div> <script language="Javascript" src="/icom_includes/footers/scripts/footerbrandingcode.js"></script> <!-- Google Analytics --> <script src="/icom_includes/footers/scripts/ga.js" type="text/javascript"></script> <script type="text/javascript" > <!-- hide from no js browsers delete Array.prototype.itemValidation; delete Array.prototype.isArray; var superTracker = _gat._getTracker("UA-2838492-1"); superTracker._initData(); superTracker._trackPageview(); --> </script> <script type="text/javascript" > <!-- hide from no js browsers var site_name = location.hostname; if ( site_name.indexOf("www.") != 0 ) { site_name = "www."+site_name ; } document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='/icom_includes/footers/sites/"+ site_name +".js' TYPE='text/javascript'><\/SCR" + "IPT>"); --> </script> <script type="text/javascript" > <!-- hide from no js browsers pageTracker._initData(); pageTracker._trackPageview(); // --> </script> <!-- End Google Analytics --> </FONT> </div> </div> </div> <!-- start Vibrant Media IntelliTXT script section --> <script type="text/javascript" src="http://developer.us.intellitxt.com/intellitxt/front.asp?ipid=25502"></script> <!-- end Vibrant Media IntelliTXT script section --> <!-- Code for Action: QuinStreet - Developer Channel --> <!-- Begin Rocket Fuel Conversion Action Tracking Code Version 7 --> <img src='http://20502655p.rfihub.com/ca.gif?rb=3335&ca=20502655&ra=05242013_04:49:42_136342762' height=0 width=0 style='display:none' alt='Rocket Fuel'/> <!-- End Rocket Fuel Conversion Action Tracking Code Version7 --> </body> </html>