Microsoft
Software
Hardware
Network
Question : Count files in folder
I have a web site and I need some code for the aspx.vb page that counts the number of files in the "~/Images/" folder.
Answer : Count files in folder
Try...
Dim i As Integer = Directory.GetFiles(Server.
MapPath("~
/images/")
).Length
myLabel.Text = "There are " & i.ToString & " files in the directory"
Random Solutions
Compare two tables and record calculated value in query
Add/Remove programs display has large gap in listling ?
Locked out of SBS 2008
What workarounds are available to paste an image into a sharepoint list form
UNC Share as an IIS Virtuial Directory
psexec - No process is on the other end of the pipe.
securing mdb file
"constant too big" error
Extract data all in one line
Data Grid Control in MFC