-
Wednesday, April 30, 2003
I'm still sitting around working on my control and found another cool service you can access from your designer. It's the ISelectionService. What this will do for you is give you access to the item(s) in the current designer that are selected, whether it be your form, a component in the component tray or a few buttons on your form. I recently needed this so that I could hide a DesignerVerb (i.e. a menu item when you right mouse click on anything in the designer) to only show up only when controls on the parent form were selected. So in
-
Tuesday, April 29, 2003
Just read Rob's entry. What the heck is this? I'm still a blog newbie!
-
Monday, April 28, 2003
Today I ran into a problem. The Name Property of a Component (or almost anything else for that matter) is one of those "magic" Properties that doesn't really exist because you created it. It just magically shows up thanks to .NET. Well, earlier I was working on a Designer for a Component I'm working on and I needed to know when the Name Property changed (so the Designer could do a couple things). I tried creating my own Name Property and having it Shadow the other one. No Go! I tried deleting it in the PostFilterProperties Event of my Designer.
-
Monday, April 28, 2003
Reading Julie's post, I remembered a little trick and thought I'd share. Some people might not call this a trick, but I do, because I'd never seen it in the documentation and when I heard about it, thought it was the coolest thing, so I'll share so that hopefully someone else will think it's cool too ;) Create a stored procedure (or just set the CommandText seperated by semi-colons) with 2 or more select statements in it. Set the SelectCommand of your DataAdapter to that StoredProcedure and call the Fill on your DataAdapter. If you'd like, you can also give
-
Thursday, April 24, 2003
Just wanted to plop a quick note to say that Mike Harsh was totally right (as usual)! WindowsForms Design-time Support is cool! *thumbsup* I started in on creating design support for a new WindowsForms Control and am having a blast! It was a little difficult at first to pick up, but after playing with it for a while and reading articles like this and this, it's all starting to come together in my head. Adding on Designers to your controls makes them really cool and is a lot of fun! I've only been doing it now for....oh...less than 24 hours,
-
Friday, April 11, 2003
I saw Julie's post that took me to Alex's post and I really like this subject. However, I don't totally agree. I definitely agree that WebServices are another layer in a multi-layer architecture. What I don't totally agree with is that there should be no logic in a WebService. That it should only act as an "interface" layer. I think in a perfect world, where everybody follows best practices and has all the time they need to do projects, this would be the way to go. A lot of companies have to weigh "the best way to do something" vs.
-
Friday, April 11, 2003
Been seeing a lot of posts about the subject...as old as it is, I must comment! :P I definitely agree with the original poster! Pick whatever you're most comfortable with. I've used both VB.NET and C#, but I still always sway towards VB.NET, simply because I find it much easier to read (and the VS.NET IDE aids me in getting things done faster in VB.NET than C#). Personally, I think anyone that says either is "better" than the other is just being silly. That, or is super hardcore and needs to do those few little things that VB.NET doesn't have
-
Friday, April 11, 2003
I took a couple days off for my birthday. I don't feel any older, but I am 24 now...wowie! Ok, that's not very old! ;) I'm a huge Star Trek Deep Space Nine fan, so for my birthday I got the entire first season on DVD. Lovin' it! Quite honestly, I'm not really a Star Trek fan, but this series is just awesome! (y) However, I'm not going to have to collect all seven seasons as they come out through this year! :-\ Now, onto the beef! Duncan recently posted about a few things related to his Coding4Fun column (great
-
Wednesday, April 09, 2003
Just got done reading DonXML's latest entry and I've got to say that overall, I agree. Personally, every time I create a new ASPX and it's the first one in the project, I immediately change it from Grid to Flow layout and I use tables. I'm guessing though that most of my reasons for doing so are because I just don't understand all the possibilities. WindowsForms uses a grid layout, why shouldn't I do the same thing in WebForms? However, that got me thinking again (it's something I think about a lot): why should I use a web browser at
-
Tuesday, April 08, 2003
I'm not quite sure how to start this off, so I guess I'll just start with a little background. I'm a .NET MVP and I develop software and web applications using .NET. I primarily use VB.NET, but also know C# decently well. I've been playing with .NET since PDC 2000, when we were given the Tech Preview version to play with and have been using it professionally since January of 2002. The name HumanCompiler, was given to me from a co-worker at the time. I don't remember the details as to why he gave me that name (could be my