Archives / 2005 / March
1-10 of 15
-
Moving code from VB 2003 to VB 2005... Accessing Shared members from Instances...
Sunday, March 27, 2005Lately I've been luckily enough to be able to reuse several bits of code I've written in Visual Basic 2002 and 2003, namely code from a few of my earlier MSDN articles (Design Surface and the Control series). Since I was planning to make a few changes, I pulled these projects into Visual Basic 2005 Beta 1 (instead of just referencing the already existing assemblies created with the .NET Framework 1.0/1.1). I also was in the midst of writing a new control for an upcoming MSDN magazine article, that I was also planning to use in my 'real' work, so [read more...]Filed under | 2 comments »Share this -
This didn't take long.... putting your Tivo shows onto a PSP...
Saturday, March 26, 2005Brian and I were chatting (arguing actually) about the PSP the other day at lunch... I thought the idea of selling movies for the device, movies that you couldn't use in a DVD player at home, was crazy and Brian didn't. Brian's opinion is likely the more accurate one (it usually is), these PSP movies will probably sell, definitely at airports and for rentals and probably in less volume for normal use... What we both agreed upon though, was that if there was a way to sync a PSP with your MCE or Tivo (like you can do now [read more...]Filed under | 2 comments »Share this -
Caterpillars.... yum...
Friday, March 25, 2005The theme at my son's preschool last week was Caterpillars, and it also happened to be his turn to bring the snack (the kids rotate through this task, bring snacks/juice for 16 people)... so my wife went all-out and baked these breadstick-larva creations... ... and these butterfly cookies. Recipe for the breadstick/caterpillars is hereVery yummy and supposedly quite well received by the kids... [read more...]Filed under | 0 comments »Share this -
My latest MSDN magazine article is online...
Wednesday, March 23, 2005Remembering User Information in Visual Basic .NET This article provides coverage of storing user-specific settings using XML Serialization [read more...]Share this -
Pulling from MSDN... the code...
Monday, March 21, 2005(see this post for an introduction to this topic...) I've wrapped my code up into a user control that you place anywhere on your page... it handles the load of data and then you can access its properties to output the html headers and body of the pulled content. I've just been using Output Caching on the host page, but if you decided to cache the body/headers that would certainly work as well... Here is an example of using the control on a bare bones page...<%@ Page Language="VB" Debug="true" %><%@ OutputCache Duration="360" VaryByParam="*" %><%@ Register TagPrefix="dm" TagName="Pull" Src="Pull.ascx" %><dm:Pull id=pagePull [read more...]Filed under | 0 comments »Share this -
More on "pulling" MSDN content into my site...
Monday, March 21, 2005In my last post, I was talking about pulling my articles from MSDN into the chrome of my site. This type of system could be created using a frameset, but frames are evil, so that isn't the approach I took. Instead, knowing a bit about the files on MSDN's web servers, I took advantage of a special xml file that exists for most of our articles. This file is created as part of our publishing process and exists so that we can pull articles into the chrome of our developer centers (like this). It isn't a straight xhtml file, but [read more...]Filed under | 0 comments »Share this -
Playing around with pulling my articles into my own site's chrome...
Friday, March 18, 2005Check out my articles page, which is built from an RSS file by the way, and click on any of the "Coding 4 Fun" articles. You'll end up still in my site, but viewing the full MSDN article. Mostly I'm just playing around, but it seemed 'neat' enough to mention :) By the way, the jury is still out on whether or not I've opened myself to various new security risks through this code, so if you want to try and hack my site using this new "pull" concept, go for it... I'd really appreciate it if you'd let me [read more...]Filed under | 0 comments »Share this -
Wondering about support for VB6?
Friday, March 11, 2005If so, wonder no longer... Jay Roxe covers this in a post on his blog and so does Rob Copeland. [read more...]Filed under | 0 comments »Share this -
Some thoughts on "Classic VB"
Thursday, March 10, 2005This topic has been in the 'news' lately (well, at least in the blogs) and I've been considering replying.... but it turns out I don't have to, because Dave Totzke has done it for me. I don't really agree with his comment that we've kept C++ alive because Office is written in it... it is actually because the managed world doesn't replace the need to write native code against the underlying hardware and OS. We need to have at least one avenue for folks to write the high-performance graphic software, device drivers, network packet filters, etc.... so we need unmanaged [read more...]Filed under | 12 comments »Share this -
Doing uploads with BITS
Wednesday, March 09, 2005I wrote a couple of articles on BITS in the past (creating a wrapper, then background copying, then digital grandma) but it was all about downloading files. Starting with BITS 1.5, you can also upload files... is that topic of interest to folks? Just FYI, you need web server support to make this work, as detailed here. [read more...]Filed under | 9 comments »Share this
Archives
2009
2008 (15)
2007 (85)
2006 (197)
2005 (150)
2004 (313)
2003 (205)