Bad VB.NET<>HttpHandler code :)
On Jun 9, 4:05 pm, Jamie Fraser <[email protected]> wrote: > What the hell is this?! > > On Tue, Jun 8, 2010 at 3:06 PM, Athinarayanan R > > <[email protected]> wrote: > > Hi Guys, > > U use this code.. > > Imports System.Text > > Imports System.IO > > Public Class Form1 > > Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As > > System.EventArgs) Handles Button1.Click > > Dim strValue() As String = Directory.GetFiles("D:\MY-Folder", > > "*.rtf") ' "*.*" > > Dim iValue As Integer = 0 > > If strValue.Length > 0 Then > > For i As Integer = 0 To strValue.Length - 1 > > iValue = iValue + 1 > > Next > > End If > > MsgBox(iValue.ToString()) > > End Sub > > End Class > > > On Mon, Jun 7, 2010 at 2:58 PM, Raghupathi Kamuni <[email protected]> > > wrote: > > >> Create a HttpHandler to count the file downloads, check out below links > >> for details > > >>http://blog.donnfelker.com/2008/04/29/simple-download-counter-httphan... > >>http://stackoverflow.com/questions/2496583/asp-net-count-download-clicks > > >> On Thu, May 27, 2010 at 12:43 PM, IT MILAN PITAM PURA > >> <[email protected]> wrote: > > >>> Hello, > > >>> If you are in software development sector or any similar category then > >>> please have a look with my very urgent and important query below. > >>> I am looking for a download counter script for my products. I want to > >>> know the number of downloads of any perticular file from my web site. > >>> The file may be in .zip, .xls or .doc > >>> I want to place a download counter to know the number of downloads. I > >>> am searching a lot but not succedding. > >>> If you have any solution regarding this script then please help me and > >>> let me know the solution. Its very urgent.
