|
Navigation
Categories
Entries by Month
| September, 2009 (1) |
| May, 2008 (2) |
| March, 2008 (5) |
| December, 2007 (1) |
| October, 2007 (1) |
| September, 2007 (2) |
| May, 2007 (1) |
| April, 2007 (5) |
| October, 2006 (1) |
| July, 2006 (2) |
| June, 2006 (5) |
| January, 2006 (2) |
| December, 2005 (6) |
| November, 2005 (7) |
| October, 2005 (9) |
| September, 2005 (2) |
| August, 2005 (11) |
| July, 2005 (14) |
| June, 2005 (3) |
| May, 2005 (5) |
| April, 2005 (5) |
| March, 2005 (5) |
| February, 2005 (5) |
| January, 2005 (11) |
| December, 2004 (10) |
| November, 2004 (4) |
| October, 2004 (1) |
| September, 2004 (7) |
| August, 2004 (8) |
| July, 2004 (8) |
| June, 2004 (4) |
| May, 2004 (13) |
| April, 2004 (14) |
| March, 2004 (25) |
| February, 2004 (1) |
| May, 2003 (5) |
| April, 2003 (5) |
| March, 2003 (4) |
| February, 2003 (1) |
| January, 2003 (6) |
|
 Wednesday, August 03, 2005
 Tuesday, August 02, 2005
 Sunday, July 31, 2005
 Friday, July 15, 2005
This article made me laugh out loud:
"In fact, hockey has been fixed, in that veterinarian sort way."
"But since this lockout was all about the 10 or so hard-line owners and their unleashed commissioner getting what they wanted at all costs, hats off to them. Preferably with their heads inside, true, but you get what you can at times like this."
Ray Ratto - ESPN.com
 Wednesday, July 13, 2005
"The purpose of the SharePoint Utility Suite is to provide a packaged collection of Tools and Utilities showcasing the rich Object Model that is delivered with the SharePoint Product and Technologies SDK (which includes Windows SharePoint Services 2.0 and SharePoint Portal Server 2003). This package includes code and tool examples that SharePoint Developers and SharePoint Administrators might find useful." http://www.microsoft.com/sharepoint/downloads/components/detail.asp?a=724
Thanks to Jessica Gruber
 Tuesday, July 12, 2005
In response to a post in the ASP.Net forums, here is a routine to upload a file to a document library.
Sub ProcessPostedFile(ByVal fileUpload As HtmlControls.HtmlInputFile) Try ' get the filename and stream Dim fn As String = System.IO.Path.GetFileName(fileUpload.PostedFile.FileName) Dim stm As System.IO.Stream = fileUpload.PostedFile.InputStream Dim contents(CInt(stm.Length)) As Byte
stm.Read(contents, 0, CInt(stm.Length)) stm.Close()
' get the library path Dim docLibPath As String = Configuration.ConfigurationSettings.AppSettings("DocUploadPath") ' first, get the site containing the library Dim site As SPSite = New SPSite(docLibPath) Dim web As SPWeb = site.OpenWeb ' then get the folder Dim docFolder As SPFolder = web.GetFolder(docLibPath)
' delete the file if it exists Dim docFile As SPFile Try docFile = docFolder.Files(fn) Catch ex As Exception End Try
If Not docFile Is Nothing Then docFolder.Files.Delete(fn) End If
' save the file docFile = docFolder.Files.Add(fn, contents)
Catch ex As Exception Context.Trace.Warn(ex.ToString) End Try End Sub
 Monday, July 11, 2005
|
|
Search

Powered by: newtelligence dasBlog 2.2.8279.16125
The opinions expressed herein are my own personal opinions and do
not represent my employer's view in anyway.
© Copyright 2010, Paul Schaeflein
E-mail
|