Archive for August, 2007

Posted by Adam Buenz

There was a question that was posted in the SharePoint development newsgroups as to how one would go about building the URL properties of SPFile objects into a string array. Here is a solution that seems to work just fine:
Select For Unformatted Code
C#:

SPFolder Folder;

 

int counter = Folder.Files.Count;

string[] array = new string[counter + 1];

int index = [...]

Posted by Adam Buenz

Recently, I posted 18 articles to help people get started on InfoPath development. If you are really bored, you can read what I wrote here:
Mastering InfoPath Development Series Index
You will be enthralled; laughing, crying, etc. throughout the entire series, it is an emotional ride of epic proportions rivaled only by a deep spiritual journey. Regardless, [...]

Posted by Adam Buenz

This hosting company is going to be the death of me. I swear to god. For some reason my .htaccess file got trashed, basically blanked, which obviously wasn't super good for my Apache rewrite rules that I had setup for the site. AH! But, fortunatly, I sat down tonight and fixed it, and all the [...]

Posted by Adam Buenz

I am really not sure. I have had instances where using things like the ContainingDocumentLibrary GUID return was all 0's, which isn't very valid now is it. Didn't make a lot of sense to me, but apparently a q quick poll around the team makes me think that it isn't entirely uncommon. So usually now, [...]

Posted by Adam Buenz

Yeah, I know what you are thinking, but I'm not full of shit, and I know often times I bring SharePoint to probably levels it shouldn't be taken to, but whatever. It's actually a side project I am working on that is looking to aggregate several sets of data into a forecasting model type environment [...]

Posted by Adam Buenz

Thank you spamming assholes for messing up my mail relay server. Apparntly, some IDIOT spammers were using the mail relay server (I guess) to peg down Apache with worthless bullcrap which subsequently resulted in my hosting to get shut down since the origin headers were from my site.
I am sick of this. I am sick [...]

Posted by Adam Buenz

I had to write a small method this morning that would allow me to test whether an SPUser object was a member of an arbitrary SPGroup. Particularly, I needed a way to do this in an event receiver, which is why you see a reference to the properties parameter representative of the SPItemEventProperties when getting [...]