Friday, July 15, 2005

I was truly amazed to see this new web services book at the checkout counter at the grocery store the other day!

WSE
Friday, July 15, 2005 5:42:24 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

I'm going to start a new category. It is called "Keeping up with the Joneses".

Here I will get to vent for each time I see someone working with a technology that I haven't had the time to play with yet. Every time I see someone writing about their Indigo or Avalon projects, there is a little demon on my shoulder whispering "you are SUCH a loser and a dumb-ass, cause you don't even know how to do that yet!" Of course it's all very silly of me. I spend a lot of time on certain technologies and who can do it all? And the folks doing those Avalon projects are probably focused on Avalon and not working with a lot of other technologies either. I keep telling myself that, anyway.

So today's Keeping up with the Joneses is:



www.acehaid.org
Friday, July 15, 2005 5:37:35 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

my website is broken and I am testing again

of course, my last 3 posts were there for a while and then disappeared into thin air, so we will see what happens!



www.acehaid.org
Friday, July 15, 2005 5:32:13 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Wednesday, July 13, 2005

Tablet / Mobile PC Webcast Series 2005

Tune in as presenters from the Tablet/Mobile PC team share our most popular sessions: showcasing introductory and advanced Tablet PC topics, Mobile PC development considerations, and network awareness and data access strategies.

The series of 7 webcasts starts July 12 and runs through the end of the year.

 



www.acehaid.org
Wednesday, July 13, 2005 10:27:06 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

[this is for v 1.1]

On a web page I have an ImageButton with some server side action to take place when it is clicked. But there are scenarios where I would like it to be disabled. The Enabled property disables any command action, but you still get the "index finger" cursor when you hover over the icon. I didn't even want that. I think that's pretty confusing because it still looks like the user can *do* something.

To make it more interesting, I have this happening inside of a Data Repeater. Here is how I got this to work.

Just after the ImageButton, I placed an <asp:image> with the same image as it's source. The default "visible" parameter on this is False. Since I am doing this in a Repeater, I am hand coding it, so remember to add runat=server. In my case, I actually have a different image, so it is extra obvious to the user that the state of the icon has changed.

By making the visible property false, not only is the image not visible, but it does not take up any real estate on the page.

<asp:Imagebutton id="CheckOut" runat="server" ImageUrl="images/checkout_red.gif" AlternateText="Check Out"  CommandName="CheckOut" />
<asp:Image ID="CheckOutNoLink" Runat=server ImageUrl="images/checkout_small.gif" Visible=False/>

In the repeaters "ItemCommand" event, when the state calls for the inactive image I just flip the Imagebutton's visible property to false and the Image control's visible property to true. Again, by making the Imagebutton not visible, it no longer takes up the space on the page, and the Image slides over to fill in the hole that the Imagebutton left behind.

              CType(e.Item.FindControl("CheckOutNoLink"), System.Web.UI.WebControls.Image).Visible = True
              CType(e.Item.FindControl("CheckOut"), System.Web.UI.WebControls.Image).Visible = False

 

I'm sure this has been done plenty of times before, but I didn't intuit the solution at first and couldn't find anything on google, so here ya go!



www.acehaid.org
Wednesday, July 13, 2005 8:44:44 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Tuesday, July 12, 2005

The recent discussions about Sharepoint have piqued my interest (since I have been struggling with it for a few weeks) but not distracted me from my goal yet! Amanda Murphy, however has a LOT to say on the topic. She has a lot of experience with Sharepoint and her company, InfoTech Canada, dpes a large amount of Sharepoint work. I would definitely recommend reading this post of hers.



www.acehaid.org
Tuesday, July 12, 2005 8:40:33 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

This bit me (again) today. It had been so long since the last time that I had to google for help.

Problem: Select colA, colB, colC from tableA UNION Select colA, colB, colC from tableB when one of the columns is an ntext will result in this confusing error:

"The text, ntext, or image data type cannot be selected as DISTINCT."

Thanks to this Wrox forum thread, I got a  quick lesson of why I get an error regarding a clause that I'm not even using (DISTINCT) and a reminder to use UNION ALL instead of just UNION.

In case that thread ever disappears I will paste the key info from Jeff Mason.

The UNION operator by default eliminates duplicate rows from the resultset.  The duplicate eliminating operation is similar to a SELECT DISTINCT.  You can't use SELECT DISTINCT on a column that is text type.

Try UNION ALL which will not remove duplicates, or remove the text column(s).



www.acehaid.org
Tuesday, July 12, 2005 2:15:18 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Monday, July 11, 2005
Wow. James Kendrick has done 16 Tablet PC podcasts already. Here's the link. I'm definitely going to have to listen to these!

www.acehaid.org
Monday, July 11, 2005 2:30:30 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

I'm a developer. Why do I have to spend so much time dealing with system administration problems? In the past week, two Windows updates to my in-house server have cost me about 12 hours of headaches so that I could get back to work. This costs... [read more]

[A DevLife post]



www.acehaid.org
Monday, July 11, 2005 1:29:37 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Oh, more lost hours in admin hell. Here's some pointers if you are upgrading your web server to SP1.

- Remember the firewall problems when moving XP to SP2. You will have them here!! <g> Pay attention to what ports are opened up.

This article is a good reminder of that wiht a section on what applications to allow through the firewall on the remote server

http://support.microsoft.com/default.aspx?scid=kb;EN-US;833977#27



www.acehaid.org
Monday, July 11, 2005 10:10:43 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Sunday, July 10, 2005

In addition to the free ASP.NET online learning, there is  VS2005 E-Learning (free for four months) and SQL Server 2005 e-Learning, also free for 4 months.

The launch page for all of this stuff is at http://lab.msdn.microsoft.com/vs2005/learning/



www.acehaid.org
Sunday, July 10, 2005 8:37:45 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

My 2 year contract was ending with Verizon. They have called me 3 times now to renew a contract and see if I'd like to pick a new phone - either free for heavily discounted. Each time they have called I have looked at the phones while on the phone with them and couldn't make a quick and informed decision. I know I would like a camera phone with Blue Tooth. Their "free" phones don't have blue tooth. I can get one with bluetooth for $100, but then I think - geeze, maybe I should just fork it over and get a BlackBerry or better yet, a smartphone, but they don't have those in their promotion. I finally just said forget a new phone - just renew my contract. So now I continue with my plain old phone. I cannot justify $500 for a phone. I have a pocket pc and I have a phone. Yes I want to smoosh them together and have just ONE device (and have it also be an MP3 player that I can listen to in my car). It was easier just to make NO decision, than to have to choose. So welcome to the life of a Libra!



www.acehaid.org
Sunday, July 10, 2005 8:32:59 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Loren is a developer who definitely is a "big brain" when it comes to thinking about WHAT we can do with ink, not just how to use it.

I can't point to this post of his without quoting him: I've heard it said many times: "I'm a developer. I type code. Why do I need a Tablet PC or even ink?"

Check out what he has done (well, is still working out) in regards to inking notes into your IDE code or while debugging. Very cool!



www.acehaid.org
Sunday, July 10, 2005 7:55:06 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Don Box reports that the first Indigo book is on the shelves.  He refers to author David Pallman as an "indigette". :-)



www.acehaid.org
Sunday, July 10, 2005 7:46:09 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Saturday, July 09, 2005

To appease the masses (okay it was just Dave Burke's loud whining), Kathleen will talk a bit about Code Gen at our VTdotNET meeting on Monday night. Her regularly schedule presentation, Tracing in VS2003 and VS2005 is a 90 minute talk. So we will take a break after that talk (app. 8:15 for the break) do our raffles, etc, then Kathleen will spend 1/2 hour talking about some high level CodeGen concepts and also how Generics in VS2005 is going to have an incredible impact on Code Generation. We will probably continue the conversation at a local pub in downtown Burlington.

So check the website  - which I will be modifying shortly - for the new schedule.

We have a box of goodies from APress - lots of books (including Kathleen's Code Generation in Microsoft.NET book), t-shirts and more and I'll also be raffling off a copy of Infragistics NetAdvantage!

Remember that we have our .NET Newbie session (OOP: Inheritance & Polymorphism in .NET) at 5:30.

Thanks to INETA for bringing Kathleen our way.

She heads up to Montreal to do a full 2 hour Code Gen talk at GUVSM on Tuesday night (in English :-)).



www.acehaid.org
Saturday, July 09, 2005 5:17:15 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
I Win! I Win! I am smarter than the computer HAHAHAHA! Don't you know that feeling? When you figure out how to do something that seemed like it couldn't be done? I'm doing the little I WIN I WIN dance right now, having figured out how to display Sharepoint workspaces hierarchically on a web page...[read more]

[A DevLife post]



www.acehaid.org
Saturday, July 09, 2005 11:53:50 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Friday, July 08, 2005
Has anyone noticed that there is a track at the Portland Code Camp that is not a smart client track, not a web track, it is not a data or security or connnected systems track. No it's a Game Developers track. I don't develop for games and I don't play them, but I think this is pretty darned cool for a Code Camp!

www.acehaid.org
Friday, July 08, 2005 2:30:38 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
I finally figured out why the category RSS Feed that I feed to the VTdotNET site doesn't have anything recent on it. If you look at the VTdotNETFeed">VTdotNETFeed category on my blog, you can see all of those posts. But if you look at the VTdotNETFeed">RSS output, there is a huge hole of missing posts. I'm not sure if it's something wrong with dasBlog or with my files. Anyone else having this problem with the 1.7 version?

www.acehaid.org
Friday, July 08, 2005 12:47:03 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Free OnLine ASP.NET Training

 

Are you looking to learn to create ASP.NET Web applications with Visual Studio.NET? If so now is your chance to get 17 hours of hands-on ASP.NET training for free from Microsoft Learning.

For a limited time only, Microsoft Learning is offering Developing Microsoft ASP.NET Web Applications with Visual Studio.NET, a 17-hour self-paced online training course, for free ($349.00 value).



www.acehaid.org
Friday, July 08, 2005 12:23:31 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

William Tay, aka Softwaremaker, has written a great post on the academic debates over technology and the effects these debates can have on the programmers who write software for a living and need ... [read more]

[A DevLife post]



www.acehaid.org
Friday, July 08, 2005 12:17:43 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  |