Geeks With Blogs

The Life and Times of a Dev Yes, we're really that weird December 2005 Entries
Infragistics and the WinGrid
Sometimes, working with the infragistics wingrid can be a PITA! Take, for example, the act of making the current row active upon right click before the context menu is displayed. You'd think they'd have a HitTest method or something similar, but they don't. Well, they do, but that's on an UltraGridRow.AccessibleObject or something like that--totally useless for what I need to do. First, I look in help. Yup, nothing there. So I jump out to and it's my lucky day, they have ......

Posted On Tuesday, December 20, 2005 1:39 PM

Debugging Javascript
I hate non-strongly typed languages, but when you're doing client stuff, you're stuck with Javascript. So basically, I've created an XSL stylesheet and pass in some xml so that the page can dynamically be updated. Only problem is XSL doesn't like Javascript. So after replacing all of the verboden entities (i.e. < with &lt; etc), I'm able to get the java script to work. Only problem, I'm matching on the id of the control, and if it's the one I want, I set the controls style property like so: ......

Posted On Friday, December 16, 2005 12:22 PM

Lunch at Toasters

I'm eating lunch at my favorite sandwich shop.  If you're ever in Salt Lake City, you should try this place.  It's over the street from the salt palace (151 West 200 South).  They have great food and a great atmosphere.  The ownere is awesome!

If you go, get the turkey avacado.  It's the best sandwich there.

Posted On Wednesday, December 14, 2005 10:15 AM

Impersonation and Program Files
We have this app that dynamically loads assemblies based on the latest versions that have been published. Prior to today, we've just been putting out an MSI and then using that to install. I finally got around to implementing the dynamic update, even though it's been in place for a while. We're not doing anything fancy, just checking an xml file in the location of the assemblies and if the version there is newer that the version on the machine, we copy out everything in mass. This would be bad if ......

Posted On Tuesday, December 13, 2005 10:14 AM 2003 bug
Argh. For the first time, I've run headlong into a bug in that i can't work around. The bug description is described here: http://www.aspnetresources.... but basically, I get an error message telling me that I can't copy the dll from the temp directory to the run directory. If I close VS.NET and delete the bin and obj directories, then I can compile fine, but as soon as I run or debug the app, I'm hosed. When is MS going to release a VS.NET 2003 service ......

Posted On Thursday, December 8, 2005 12:59 PM

I'm going to space!
Robert May Your name is traveling aboard the Dawn spacecraft on its mission to the Asteroid Belt. Now, if only I could get there for real ......

Posted On Thursday, December 8, 2005 12:56 PM

DNN skins, URL Rewriting, DNS and Google
We found an interesting problem the other day with the combination of these items. We launched our new site back in July, and have been fighting with google to get ourselves listed in search. MSN and Yahoo both listed us and gave us pretty high page rankings, but google refused to see us, even with links to our page, etc. I know that google has a “sandbox” that they put new sites into, but this didn't appear to be the problem. I don't know if you know about it or not, but google had a ......

Posted On Wednesday, December 7, 2005 7:42 AM

Ugh--what a night
I'm working tired again today. Kind of frusterating. The kids were up all night last night, so I have to keep myself at the top of my game with no sleep. Good news is that we had nearly 14 inches of new snow last night! My co-worker came in and immediately started telling me about the troubles in his life. I feel for him. Being a sounding board can be difficult. I got a comment from Chaz, who I know is trying to be helpful, about how much I've disclosed about my company. I didn't think I had disclosed ......

Posted On Wednesday, December 7, 2005 7:23 AM

Things I want
  • XBox 360
  • New car (A NEW CAR! <cheering>)
  • My basement finished
  • my dotnetnuke 4.0 website up.
  • my black belt in taekwondo

Sounds simple enough--now if only I didn't have to work for 8 whole hours a day to get it!

Posted On Tuesday, December 6, 2005 11:23 AM

dnn google sitemap generator
As I said in a previous post, here's the code for generating a sitemap. Enjoy. SiteMapGenerator.cs using System; using Snowball.Common; using System.IO; namespace Snowball.Web { /// /// Generates a sitemap for dotnetnuke. /// class SiteMapGenerator { /// /// Generates a site map for a dotnetnuke 2.1.2 website. /// [STAThread] static void Main(string[] args) { string portals=Settings.GetSetting... string[] portalList=portals.Split(new char[]{','}); string htmlFilename=Settings.GetSe... ......

Posted On Tuesday, December 6, 2005 10:18 AM

Dot Net Nuke sitemap generator.
The code below will generate a Google sitemap for a dotnetnuke 2.1.2 site as well as generate a static html page for the site. Note that the code actually just generates XML, which is then transformed into the results needed. Also note that we're using several internally built objects (like the "Settings" and "XmlTransformer" objects). You'll need to replace these with equivelently similar code. Basically, settings just reads from the config file, and XmlTransformer just does an application of an ......

Posted On Tuesday, December 6, 2005 9:45 AM

It with no budget
I'm CIO, but sometimes I feel more like the chief help desk. Its amazing--we have a VERY heavily IT based company (more than 1,000,000 lines of c# and all web/email based), but the owner of the company seems to think that we don't need any IT. I don't have a sysadmin and I have only one developer, and lucky for me, he's good. No help desk, and our customer support team can't even figure out how to import a csv file into excel. So basically, we're hammered with support requests, bug fixes, enhancements, ......

Posted On Tuesday, December 6, 2005 8:17 AM

Integrating webservices with PHP
So we have this affiliate that uses PHP for almost everything. Of course, the lip we get from them is that “Linux will rule the world, microsoft will die!” I've written a bunch of web services that basically allow them to talk directly to our system. They're using PEAR::SOAP and NuSoap, and of course, the problem MUST be on our side. I actually write up a telnet example that he can use. telnet to port 80 and copy and paste in exactly the following: POST /mitwebservice/pageremoved/... ......

Posted On Tuesday, December 6, 2005 7:16 AM

Blog, What's that?
O.k.--first I have to admit, I'm rather new to this whole “Blog” thing. Don't get me wrong, I'm not a neophyte in terms of the internet, its just that I never took the time to make a blog. Silly me. I'm afraid this will be the dreaded, “getting to know you” initial post that I think all bloggers are required to write. So, who am I? I started programming back in the early 90's. At first it was just using qbasic and wordperfect scripts, but that advanced into access (ugh). I've ......

Posted On Tuesday, December 6, 2005 6:19 AM

Copyright © Robert May | Powered by: