December 21, 2014
Hot Topics:

Writing Active Server components in Visual Basic

  • April 30, 1998
  • By 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)) %> </html> [end] </PRE> <!--end_section--></P> <br/> <br> <br> <br/>Page 3 of 3<br/><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/> <!-- 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="1838930" 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> <!-- article div ends --> </div> <div class="col colRight dimMainRight"> <div class="modal"></div> <div id="newsletter_subscribe" class="section"> <div id="heading" style="margin-top:5px"><h2>Enterprise Development Update</h2></div> <div id="staticText">Don't miss an article. Subscribe to our newsletter below.</div> <div id="nl_error" style="display:none;"></div> <div id="nl_success" style="display:none;"></div> <div id="nl_question_form"> <div style="float:left;width:70%"> <input type="text" id="nl_email" name="nl_email" maxlength="255" onblur="if (this.value == '') {this.value = 'Enter Email Address';}" onfocus="if(this.value == 'Enter Email Address') {this.value = '';}" value="Enter Email Address"> <input type="hidden" name="NewsletterSignup" value="Enterprise Development Update" id="NewsletterSignup"> <input type="hidden" name="NewsletterKey" value="1423" id="NewsletterKey"> <input type="hidden" name="businessUnit" value="Internet.com" id="businessUnit"> <input type="hidden" name="RegistrationWebsite" value="www.developer.com" id="RegistrationWebsite"> </div> <div style="float:left;width:30%"> <input type="submit" name="btnSubscribe" onClick="javascript:doNewNLSubmit();" value="SIGN UP" id="nl_submit_button"><br> </div> </div> </div> <script language="JavaScript"> function doNewNLSubmit() { var email = $("#nl_email").val(); var NewsletterKey = $("#NewsletterKey").val(); var businessUnit = $("#businessUnit").val(); var NewsletterSignup = $("#NewsletterSignup").val(); var RegistrationWebsite = $("#RegistrationWebsite").val(); if (validateEml(email)) { $('#nl_error').html('<div id="nl_error_msg" align="center">Invalid Email Address</div>'); $("#nl_error").show(); } else { $("#nl_error_msg").remove(); $("#nl_error").hide(); $.ajax({ type:"POST", url:"/newnlsub", data:{email:email,NewsletterKey:NewsletterKey,RegistrationWebsite:RegistrationWebsite,businessUnit:businessUnit,NewsletterSignup:NewsletterSignup}, dataType:"json", async: true, beforeSend: function () { $("body").addClass("loading"); }, success:function(data) { if (data.result == "InComplete") { $("#nl_question_form").hide(); $("#staticText").hide(); $("#heading").hide(); $("#nl_success").html('<div id="nl_success_msg" align="center">'+data.message+'</div>'); $("#nl_success").show(); } else if(data.result == "Complete") { openLoginBox(email); } else { $('#nl_error').html('<div id="nl_error_msg" align="center">'+data.message+'</div>'); $("#nl_error").show(); } }, complete: function () { $("body").removeClass("loading"); } }); } } function validateEml(email) { var reg = /^([A-Za-z0-9_\-\.]{2,})+\@([A-Za-z0-9_\-\.]{2,})+\.([A-Za-z]{2,4})$/; if(reg.test(email) == false) return true; else return false; } function openLoginBox(email){ $('body').append('<div class="login-light-box"><div class="login-content" id="loginLightBoxContainer"><div id="loginLightBox" class="login-iframe"></div>'); $('.login-light-box').hide(); var linkUrl = 'http://v.vuyti.com/cgi/r?WT.qs_dlk=VJfDVQrIZ24AAH3TP9AAAAAB;;;n=203;c=1387912;s=15939;x=7936;f=201306031137030;u=j;z=TIMESTAMP;k=http://assetform.developer.com/acl/accountController.jsp?css=developerCom/developerComArticleRegistrationForm.css&sdn=Developer&w=http://www.developer.com&u=%2Findex.php%2Fnet%2Fasp%2Farticle.php%2F10917_602621_3%2FWriting-Active-Server-components-in-Visual-Basic.htm%3F&isIframed=yes&rand=7740&formType=loginForm&newregistration=y&nlsubuser=y'+'&email='+email; var iframe = '<div style="float: left; position: absolute; right: 0;top:5px;"><a style="float:right; margin:5px; width:15px;" href="#" onclick="closeBox();">' + '<img alt="Close Window" src="/itpc/img/close-button-small.jpg"></a></div>' + '<iframe id="myframe" src="'+ linkUrl + '" scrolling="no" width="488" height="400" frameborder="0" marginheight="0" ></iframe>'; $('.login-iframe').html(iframe); $('.login-light-box').addClass('overlay'); $('.login-light-box').fadeIn(125); return false; } function closeBox(){ jQuery('.login-light-box, .overlay').hide(); } </script> <div class="vspace"></div> <div class="adsBox"> <!-- QS-AD: 'imu' start --> <script language="JavaScript"> var t=displayDFPTag("imu"); document.write(t); </script> <!-- QS-AD: 'imu' 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"> <!-- QS-AD: 'imu' start --> <script language="JavaScript"> var t=displayDFPTag("imu"); document.write(t); </script> <!-- QS-AD: 'imu' 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://o1.qnsr.com/cgi/r?WT.qs_dlk=VJfDVQrIZ24AAH3TP9AAAAAB;;;n=203;c=1412833;s=9272;x=7936;f=201401311259490;u=j;z=TIMESTAMP;">Cloud Computing Showcase for Developers</a></li> <li><a href="http://o1.qnsr.com/cgi/r?WT.qs_dlk=VJfDVQrIZ24AAH3TP9AAAAAB;;;n=203;c=1412834;s=9272;x=7936;f=201401311301320;u=j;z=TIMESTAMP;">Mobile Development Center</a></li> <li><a href="http://o1.qnsr.com/cgi/r?WT.qs_dlk=VJfDVQrIZ24AAH3TP9AAAAAB;;;n=203;c=1412836;s=9272;x=7936;f=201401311303220;u=j;z=TIMESTAMP;">HTML 5 Development Center</a></li> </ul> </div> </div> </div> <div class="articlecategorysummary"> <iframe id='whitePaperIFrame' scrolling="no" frameborder="0" align="middle" src="http://www.developer.com/sl/assetlisting/?wsn=www.developer.com&amp;wpu=/net/asp/article.php/10917_602621_3/Writing-Active-Server-components-in-Visual-Basic.htm&amp;lurl=http://o1.qnsr.com/cgi/r?WT.qs_dlk=VJfDVQrIZ24AAH3TP9AAAAAB;;;n=203;c=1397070;s=9487;x=7936;f=201309171321110;u=j;z=TIMESTAMP;k=http://www.developer.com/ebooks&amp;wpos=AssetListing&amp;lyt=l9&amp;title=Top White Papers and Webcasts&css=http://www.developer.com/hqb2b/css/qmp/qmp_default.css" height="725"></iframe> </div> <script type="text/javascript"> var updateIframe = false; var t = 0; function updateQMPIframe() { if(!updateIframe) { if($('#whitePaperIFrame').contents().find('.asset').length > 0) { var height = $('#whitePaperIFrame').contents().find('.qmpContainer').height(); var iframe = document.getElementById('whitePaperIFrame'); var iframeHeight = document.getElementById('whitePaperIFrame').height; if(height>iframeHeight){ height = height + 5; //Add border pixels. iframe.setAttribute( 'height', height); clearTimeout(t); updateIframe = true; } } else { t = setTimeout('updateQMPIframe()', 3000); } } } updateQMPIframe(); </script> </div> <div class="vspace clear"></div> <div class="vspace clear"></div> <div style="text-align: center;"> <!-- QS-AD: 'lb' start --> <script language="JavaScript"> var t=displayDFPTag("lb"); document.write(t); </script> <!-- QS-AD: 'lb' end --> </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; } #itbusinessedge-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="itbusinessedge-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=12212014_11:08:05_31946794' height=0 width=0 style='display:none' alt='Rocket Fuel'/> <!-- End Rocket Fuel Conversion Action Tracking Code Version7 --> <!-- QS-AD: 'hero' start --> <script language="JavaScript"> var t=displayDFPTag("hero"); document.write(t); </script> <!-- QS-AD: 'hero' end --><script language="JavaScript" type="text/javascript"> <!-- // Make sure all image has an alt tag if it doesn't already $(document).ready(function(){ $("img").each(function() { var img = $(this); if (!img.attr("alt")) img.attr("alt", ""); }); }); //--> </script> </body> </html>