Development,Gripes - Hilton Giesenow's Jumbled Mind

Hilton Giesenow's Jumbled Mind

the madness that is...

News

This is my little spot in cyberspace where you will find a collection of random (but mostly software-related) thoughts and ideas that are frightening in their shining brilliance (or something like that ;->).
 
Please enjoy your stay and feel free to Contact Me.
 
Microsoft MVP

.Net Links

BlogRoll

Misc. Links

Syndication

Browse by Tags

All Tags » Development » Gripes (RSS)
Sorry, but there are no more tags available to filter with.
Free Book - Introducing Visual Basic 2005 for Developers
Microsoft have released a free ebook on their site called Introducing Visual Basic 2005 for Developers . I remember when .net 1.0 came out I read a great little primer on vb.net for vb6 developers and it covered a lot of the basics in a really simple, concise, clear manner, so I'm hoping this one is similar. Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it!
Posted: Jun 22 2005, 08:41 AM by hiltong | with 1 comment(s)
Filed under: ,
ArgumentNullException vs. ArgumentException - Developed by Different Teams, Perhaps?
Ok, I'm sure somebody got fried for this one, but has anyone else noticed that 1 of the overloaded constructors for each these objects takes the same arguments (paramname and message) but in the opposite order . I don't know why I never noticed this before, I always thought I'd gotten confused, but I'm happy to report that's not the case (at least not this time). More fun is that this is the kind of problem that can never be fixed because it will break to much existing code. Oh well... Share this...
Posted: Mar 18 2005, 01:44 PM by hiltong | with no comments
Filed under: ,
Sharepoint Woes (Again)
I'm trying to do some work within a custom web service inside of Sharepoint. Part of it must run under the context of the invoking user and part of it requires more rights and should run under a more admin-like account. However, it appears that Sharepoint won't pick up the context user change. According to BlueDogLimited : “The SharePoint object model, when running under the context of an IIS request, will always validate its actions against the original context of the request. Therefore, reverting...
Posted: Mar 16 2005, 05:51 PM by hiltong | with no comments
Filed under: ,
Interfaces and Visual Studio.Net
I kinda like interfaces but apparently the Visual Studio.Net developers don't. Unless I am missing something (which is entirely possibly ;->) you cannot actually add an “interface”, per se, to a project. You have to add a class and then change it into an interface. This is true for VB.Net and C#, and in C# you even have to delete the default constructor. Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it!
Posted: Mar 11 2005, 12:36 PM by hiltong | with 8 comment(s)
Filed under: ,
Installing Windows Sharepoint Services - Advanced Options
Just a small gripe today ;-). I've been looking through the Sharepoint admin guide at some of the advanced installation options and it lets you do a lot more customization than the installation gui (like setting the port that the admin website runs on). Now it is definitely useful to have these options but its annoying that so few of them can be done from the gui. MS: Any chance of having them added, like most applications have an “advanced” option for installing? Share this post: email...
Posted: Feb 10 2005, 10:30 AM by hiltong | with no comments
Filed under: ,
Installing Windows Sharepoint Services - Check Your SQL Server Setup
I mentioned a little while ago that we was having trouble getting Sharepoint installed at our client. We finally found the solution. What was happening was this: when you install Sharepoint it creates an administration web site with a configuration database. When you then create actual sharepoint sites (1..n) they have separate content databases. However, the first step in rendering the site is to find out what its content database is set to in the config database. When this happened the site would...
Posted: Feb 09 2005, 12:17 PM by hiltong | with 1 comment(s)
Filed under: ,
Windows Sharepoint Services - Problem Searching Against the API
Ok, I've got an interesting one here. If anybody has any suggestions they would be greatly appreciated. When I try an search for an item against the Sharepoint API (WSS, not SPS, by the way), I try something like: Dim oResults As SPSearchResultCollection = oSPWeb.SearchListItems(strSearchTerm) But I get 0 results. When I add a “dummy“ CAML search., like Dim oListSearch As SPList = oSPWeb.Lists(1) Dim oSPQuery As New SPQuery oSPQuery.Query = " Dummy Search " Dim iDummyResults As Integer...
Posted: Feb 02 2005, 11:23 AM by hiltong | with 2 comment(s)
Filed under: ,