a cheer up blog – newfie pictures

My folks got two new puppies from France this summer, Celeste and Theo. They are actually 2nd generation puppies from their own kennel. Their mother, Rudy, who lives in France, is  a Blue Heaven doggie. Celeste and Theo are now 9 months old. Theo was with my mother and another one of her dogs, Bumper (2 yrs old) in Saratoga 2 weekends ago for a dog show. Rich and I went down. I haven’t seen Theo since he was about 3 months. I am in love but I can’t have him. He is very big already for his age (140 lbs) but incredibly balanced which is highly unusual. Here are some pictures of Theo and two with Bumper in my mom’s hotel room. I love these and they are fun to look at so I hope they brighten up someone’s day. Lots more pics here.

 

Raising events from dynamic forms through reflection

I have been using reflection for a while to open up forms dynamically and have been past the form properties and form methods hurdle for quite some time. I just had to raise an event from my form that is being loaded dynamically. A quick article by Dino Esposito on VB2theMax made it relatively easy to add this little bit of functionality into my .net quiver. Since I am doing it a bit differently (using a form, rather than a class) here is how I did it. This isn’t my exact code, since I have stripped out some other trickery that I don’t want to get in the way of what I am trying to show here.

Dim asmAssemblyContainingForm As [Assembly] = [Assembly].LoadFrom(“AssemblyContainingForm.DLL“)

Dim TypeToLoad As Type = asmAssemblyContainingForm.GetType(“assemblynamespace.formclassName”)

Dim GenericInstance As Object

GenericInstance = Activator.CreateInstance(TypeToLoad)

Dim f As Form = CType(GenericInstance, Form)

‘//here is the event setup

Dim frmEventUpdateTree As System.Reflection.EventInfo

‘//“TreeSourceChanged“ is the name of the event being raised from my form

frmEventUpdateTree = TypeToLoad.GetEvent(“TreeSourceChanged”)

‘//create a delegate of the same type as my raised event to a local method  named “SetGetNewTreeTrue“

Dim frmDel As [Delegate] = [Delegate].CreateDelegate(frmEventUpdateTree.EventHandlerType, Me, “SetGetNewTreeTrue”)

‘//link up my delegate to the dynamic form

frmEventUpdateTree.AddEventHandler(f, frmDel)

me and Avalon and longhorn

I just had a great idea from reading someone other people’s blogs. I can say this:

I have been spending a lot of time with Avalon and Longhorn since I got my bits at PDC and I just love all of the things I have been able to do with it. It’s really an amazing platform for developing stuff.

Did it work?

About cross-posting weblogs

When I moved away from weblogs.asp.net, I was adamant that I wanted to be able to cross-post back to there. That way I could write whatever the heck I wanted here and then push only .net related stuff over there. I started to get frustrated by having a split personality, by having comments there and not here and finally by realizing that many people were reading my blog there as part of the main feed and not realizing that I am over here. So I haven’t cross-posted in a long long time. (Though I did make two “teaser” posts that pointed to posts that I wrote here.) So I noticed today that on the new blogs.asp.advice feed that Jeff Julian has a blog there. That confuses me. I think that personally I am more of the mind that I want to read what someone says all in one place – I am after the person, not the topic so much. Steve Smith moved over there, too but i think that is going to be his only place for posting. Alex Lowe is there which now adds to his posts since he is also on blogs.msdn.com (aka weblogs.asp.net/MainFeed.aspx?GroupID=2). However Alex clearly states on the new blog that “This blog exists only to highlight interesting discussions on AspAdvice.com. Stay tuned for pointers! “

figured out value of orkut

Brian Dear wrote about an “orkut moment” he had recently, which led me to the realization that in most cases, orkut is a good way to just see what people look like. My account is still active, so I just looked him up (knowing he is a member) and now I know what he looks like. Of course there are obnoxious people like me who post pictures that are only representative of themselves. Here is what I have used for my orkut picture.

I had planned on changing that to a photo of my kayak in the spring.