Skip to content
Permalink
Browse files

Content updates

  • Loading branch information...
DuncanmaMSFT committed Apr 1, 2019
1 parent 4489e41 commit ff4957c73f687f771167c296e68ef37adaf6a36b
@@ -5,10 +5,6 @@ type: posts
---
Recently we launched [a series of videos about VB.NET onto the Visual Basic Developer Center](http://msdn.microsoft.com/vbasic/atthemovies), releasing them only a few at a time... but now we've finished that process and all 101 of the videos are available on the site.

<p class="MsoNormal" align="center">
[<img alt="" hspace="0" src="http://msdn.microsoft.com/nodehomes/graphics/140x100/VBMovies.jpg" align="baseline" border="0" />](http://msdn.microsoft.com/vbasic/atthemovies)


**Just a little note:** If you experience problems watching these videos, you may wish to try installing the [WMP9 codecs](http://www.microsoft.com/windows/windowsmedia/9series/codecs/vcm.aspx) (or [WMP9 itself](http://www.microsoft.com/windows/windowsmedia/9series/player.aspx), although that is not a requirement) or following the steps in [this KB article](http://support.microsoft.com/default.aspx?scid=kb;en-us;306699&Product=wmp).

**Oh, and for those of you who have asked: Yes, we will make them downloadable at some point, but they aren't ready in that format yet. The second most common question has been for a CD/DVD of these files... not sure on that one, I think we will, but I don't have any ETA...**
@@ -5,6 +5,4 @@ type: posts
---
But with a really cool name: <http://shootingthekids.dpblogs.com>

This site is definitely my latest happy discovery on the old series of pipes we call the Internet. As someone who takes lots of photos and almost every one of them ends up being one of my kids... this site is perfect.

[<img alt="Connor with headphones" src="http://static.flickr.com/78/205494119_ec5e61d4cc_m.jpg" border="0" />](http://www.flickr.com/photos/11836230@N00/205494119/)
This site is definitely my latest happy discovery on the old series of pipes we call the Internet. As someone who takes lots of photos and almost every one of them ends up being one of my kids... this site is perfect.
@@ -5,8 +5,6 @@ type: posts
---
Nick, from "[The Coding Monkey](http://thecodingmonkey.blogspot.com)" mentioned that he would like to see Atom support in the [FlairMaker](http://blogs.duncanmackenzie.net/duncanma/archive/2005/10/15/3101.aspx), so ... having no real reason not to, and having an extra 15 minutes after the kids went to sleep before I started cleaning up the house, I added it...

[<img src="http://eris1109.si-xios.info/FlairMaker.ashx?atom=http://thecodingmonkey.blogspot.com/atom.xml" border="0" />](http://thecodingmonkey.blogspot.com)

Of course, I've just added this to my forked version of [Kent's original code](http://www.acmebinary.com/blogs/kent/archive/2005/10/07/273.aspx)... so any feature I add that he likes will need to manually added into his version... bad software development practice, but hey we're just playing around here so you should be expecting too much.

**Update:** I also modified the code to pull the blog's title from the feed (Atom or RSS) and stick it at the bottom. Not that useful of a feature for the Coding 4 Fun version, since it is always pointing at the same feed... but useful for mine if people want to use it for their own feeds
@@ -5,7 +5,9 @@ type: posts
---
It's been a few days since the big storm blew through, but I'm still without power (I'm at Microsoft now, so I can get connected and charge a few things)... which sucks when you have kids (and visitors, my in-laws arrived on the night of the storm). We aren't too cold now, we've borrowed a propane heater from a friend and we have a gas stove to boil water on for coffee/tea (and to boil hotdogs with!).

[<img style="margin: 10px" height="180" alt="DSC00041" src="http://static.flickr.com/140/326944658_454577007d_m.jpg" width="240" align="left" border="0" />](http://www.flickr.com/photos/duncanma/326944658/ "Photo Sharing")The storm itself ripped through our area with a fair amount of damage, taking down one of the biggest trees in the area right across the street from us, and knocking down one of the evergreens in our own yard. No damage to our house, but the big tree across the street managed to clip a house on the way down and tear a hole in it's roof. Fun stuff. [Lots of photos on Flickr about this...](http://www.flickr.com/photos/54156810@N00/sets/72157594423999231/)
![Big Tree Fall Down](/images/BigTreeFallDown.jpg)

The storm itself ripped through our area with a fair amount of damage, taking down one of the biggest trees in the area right across the street from us, and knocking down one of the evergreens in our own yard. No damage to our house, but the big tree across the street managed to clip a house on the way down and tear a hole in it's roof. Fun stuff. [Lots of photos on Flickr about this...](http://www.flickr.com/photos/54156810@N00/sets/72157594423999231/)

Right now, I just want power... the majority of folks in the Puget Sound have power back, but our area is listed as 'one of the most severely damaged' and we aren't expected to have power restored for another 3 to 5 days. The kids are holding up great, but on today, day 4 without power, the adults are becoming quite testy...

@@ -3,12 +3,12 @@ date: 2005-05-01T15:38:00+00:00
title: Alienware adds another reason to buy their PCs... Star Wars themed PCs
type: posts
---
If I ever get an Alienware machine, I suspect it would be [their Media Center machine](http://www.alienware.com/dhs_main.aspx?from=Duncanma:dhs_pc_banner_468x60&cs=0), but the preview images of these [new Star Wars machines](http://www.alienware.com/Starwars_Pages/teaser.aspx?from=Duncanma:gaming_pc_banner_468x60&cs=0) are quite tempting.
If I ever get an Alienware machine, I suspect it would be their Media Center machine, but the preview images of these new Star Wars machines are quite tempting.

[<img src="http://image.alienware.com/Images/newsletter_images/us_0405_starwars/dark_system.jpg" border="0" />](http://www.alienware.com/starwars_pages/awswaurora.aspx?from=Duncanma:gaming_pc_banner_468x60&cs=0) [<img src="http://image.alienware.com/Images/newsletter_images/us_0405_starwars/light_system.jpg" border="0" />](http://www.alienware.com/starwars_pages/awswaurora.aspx?from=Duncanma:gaming_pc_banner_468x60&cs=0)
![Star Wars PCs](/images/SW_systems.jpg)

I wish they had a single PC though, not light/dark versions, I love the images they've used for both... it would be cool to have each 'side' represented on the opposite sides of the PC. I'm sure they'll never split the case out on its own, as the whole point of this PC is to get you to pick up their highest-end PC just because you can't resist the themed version. In fact, if you were a true fan you'd probably need to pick up both 🙂

No price yet on these boxes, but I'm sure the old adage of "if you have to ask..." probably applies in this situation.

_**Update**: the price is available now, and it actually seems much more reasonable than I had thought... starts at 1500 with specs that few folks would be really happy with and although it ranges up to $5000 (approx) with all the options, I spec'd one at 2235 that seemed pretty reasonable (put the ram up to 2GB, jumped the processor up a bit from the base, upped the hardrive from 80GB to 250GB... added the 'alien ice' cooling system). Still no plans to buy one, but it doesn't seem quite as far-fetched as I had originally thought._
_**Update**: the price is available now, and it actually seems much more reasonable than I had thought... starts at 1500 with specs that few folks would be really happy with and although it ranges up to $5000 (approx) with all the options, I spec'd one at 2235 that seemed pretty reasonable (put the ram up to 2GB, jumped the processor up a bit from the base, upped the hard drive from 80GB to 250GB... added the 'alien ice' cooling system). Still no plans to buy one, but it doesn't seem quite as far-fetched as I had originally thought._

This file was deleted.

@@ -2,6 +2,7 @@
date: 2004-11-10T08:24:00+00:00
title: An interview with Rocky about VB.NET
type: posts
draft: true
---
[

@@ -11,39 +11,40 @@ With this final bit of text, this is the whole article... before any of your com

Once I had the RSS feeds displaying, and I had tested the system with enough sample data (translation: it worked against [my blog's feed](http://weblogs.asp.net/duncanma)) to ensure it was working correctly, it was time to move onto creating code to support retrieving and editing the personal and master feed lists. For now, I only implemented two classes that used the IFeedList interface, one for accessing SQL and one that works with an xml settings file that is unique to the current user. See the code download for the source to the IFeedList interface and to the two implementations.

<pre class="code"><font color="#000000">
<font color="#0000ff">Public Interface <font color="#000000">IFeedList
```vb
Public Interface IFeedList
<font color="#0000ff">Function <font color="#000000">GetList() <font color="#0000ff">As <font color="#000000">Feeds
<font color="#0000ff">Function <font color="#000000">AddFeed( _
<font color="#0000ff">ByVal <font color="#000000">newFeed <font color="#0000ff">As <font color="#000000">Feed) <font color="#0000ff">As Boolean
Function <font color="#000000">DeleteFeed( _
<font color="#0000ff">ByVal <font color="#000000">feedToToast <font color="#0000ff">As <font color="#000000">Feed) <font color="#0000ff">As Boolean
Function <font color="#000000">CanAdd() <font color="#0000ff">As Boolean
Function <font color="#000000">CanDelete() <font color="#0000ff">As Boolean
Function GetList() As Feeds
Function AddFeed( _
ByVal newFeed As Feed) As Boolean
Function DeleteFeed( _
ByVal feedToToast As Feed) As Boolean
Function CanAdd() As Boolean
Function CanDelete() As Boolean
End Interface
</pre>
```

For the personal file based version, I assume that you can add and remove items freely, but for the SQL Server version (which is supposed to be used for accessing a master list shared across multiple users) I needed a bit more security. I use integrated authentication, so you could potentially handle all of your security issues by restricting user permissions in SQL Server, but I decided to use a server role and to check the user's rights by looking at their role membership. Of course, any underlying table or database object security restrictions will also be in affect, providing a second layer of security. The implementation of "CanAdd" is shown below, including the call to a StoredProc that checks for role membership.

<pre class="code"><font color="#000000"><font color="#0000ff">Public Function <font color="#000000">CanAdd() <font color="#0000ff">As Boolean <font color="#000000">_
<font color="#0000ff">Implements <font color="#000000">IFeedList.CanAdd
<font color="#008000">'does the currently logged on user
```vb
Public Function CanAdd() As Boolean _
Implements IFeedList.CanAdd
'does the currently logged on user
'have rights to add to a table?
'check if is in the
'"FeedAdministrator" role in SQL Server
<font color="#0000ff">Return <font color="#000000">IsInRole("FeedAdministrator")
<font color="#0000ff">End Function
<font color="#000000">
<font color="#0000ff">Private Function <font color="#000000">IsInRole( _
<font color="#0000ff">ByVal <font color="#000000">Role <font color="#0000ff">As String<font color="#000000">) <font color="#0000ff">As Boolean
Return IsInRole("FeedAdministrator")
End Function
Private Function IsInRole( _
ByVal Role As String) As Boolean
Try
Dim <font color="#000000">conn <font color="#0000ff">As New <font color="#000000">_
Dim conn As New _
SqlClient.SqlConnection( _
<font color="#0000ff">Me<font color="#000000">.m_connectionString)
Me.m_connectionString)
conn.Open()
<font color="#0000ff">Dim <font color="#000000">cmdIsInRole <font color="#0000ff">As New <font color="#000000">_
Dim cmdIsInRole As New _
SqlClient.SqlCommand( _
"IsInRole", conn)
cmdIsInRole.Parameters.Add( _
@@ -63,20 +64,16 @@ For the personal file based version, I assume that you can add and remove items
"@Result").Value = 0
cmdIsInRole.ExecuteNonQuery()
<font color="#0000ff">Return CBool<font color="#000000">( _
Return CBool( _
cmdIsInRole.Parameters( _
"@Result").Value())
<font color="#0000ff">Catch <font color="#000000">ex <font color="#0000ff">As <font color="#000000">Exception
<font color="#0000ff">Return False
Catch ex As Exception
Return False
End Try
End Function
```

</pre>

I also updated the UI a bit, to support picking a feed from a list of available ones, and to allow you to add any loaded feed into your personal (local) list. Figure 4 shows the completed interface, complete with the new "Save" button and a combo box that you can either use to pick from one of the saved feeds or directly enter the URL of a RSS feed.

<img src="http://www.duncanmackenzie.net/Figure4.png" border="0" />
**Figure 4**
I also updated the UI a bit, to support picking a feed from a list of available ones, and to allow you to add any loaded feed into your personal (local) list.

As I developed the system, I decided to break it up for easier reuse in the future, so the embedded browser is now combined with the XSL and RSS code into a custom control, which has been placed onto the form shown in Figure 4. To use this code in my actual application I will likely make a few additional changes to allow me to pass a SQL connection in and place the entire form and all of its associated code into a library project. In the end, I will have something that I can very easily launch from a button on my existing Windows Forms application, but I have built this sample as a standalone application so that you can run it all on its own.

@@ -2,6 +2,7 @@
date: 2004-07-30T01:11:00+00:00
title: Anders on MSDNTV
type: posts
draft: true
---
<img src="http://msdn.microsoft.com/msdntv/episodes/en/20040624csharpah/AndersHejlsberg.jpg" border="0" />

@@ -2,6 +2,7 @@
date: 2005-01-27T08:49:00+00:00
title: Another little .Text update...
type: posts
draft: true
---
Thanks to [a post](http://developernotes.com/archive/2005/01/23/253.aspx) by [Nick Parker](http://developernotes.com/), I found out my blog site was not producing valid RSS... and now it is 🙂

@@ -2,6 +2,7 @@
date: 2005-10-12T05:26:00+00:00
title: Are you wearing enough flair?
type: posts
draft: true
---
I've added [Kent's flair](http://www.acmebinary.com/blogs/kent/archive/2005/10/07/273.aspx) to my site, just so I can be one of the cool kids in the class...

@@ -4,5 +4,6 @@ title: Assault Heroes for Xbox Live Arcade
type: posts
tags:
- Xbox
draft: true
---
[<img height="92" src="http://www.duncanmackenzie.net/images/WindowsLiveWriter/AssaultHeroesforXboxLiveArcade_BA0B/AssaultHeroes%5B6%5D.png" width="244" align="left" border="0" />](http://www.assaultheroesgame.com/" target="_new" atomicselection="true) I don't know about you, but I'm pretty impressed with the recent set of non-retro, original games for Xbox Live Arcade: Small Arms, RoboBlitz and now [Assault Heroes](http://www.assaultheroesgame.com/)
@@ -3,10 +3,5 @@ date: 2004-05-23T21:41:00+00:00
title: At TechEd and waiting for your questions!
type: posts
---
[

<img alt="At the Hotel... Day 1 of Tech Ed" src="http://textamerica.com/user.images/52/IMG_328352/Thumb/_0523/T40405231330221.jpg" border="0" />
](http://brianjo.textamerica.com/?r=833216)

Headed over to registration today, very very busy... then to the Cabana with [Erik Porter](http://weblogs.asp.net/eporter/archive/2004/05/23/139838.aspx)... very very empty.... Erik and I then decided to head off to catch a pre-conference session, but even those were backed up due to the long registration lines. Oh well, back to the Cabana to wait for some great VB questions 🙂
@@ -2,7 +2,11 @@
date: 2005-06-27T07:29:00+00:00
title: Berry picking....
type: posts
tags:
- personal
---
It was a very enjoyable summer weekend for our little family, including a trip today to pick raspberries (tons of fun, easy to pick...) and strawberries (very tasty... but much less enjoyable to be squatting down in the tiny little space between the rows trying to dig through the little bushes looking for ripe strawberries...) out at a local place called [Remlinger Farms](http://www.RemlingerFarms.com).

<img src="http://www.duncanmackenzie.net/images/raspberries.jpg" align="left" alt="" border="0" />We only picked for around an hour, at that is moving at the speed of a 4 year old, and ended up with a nice pile of berries. With a bit of 'low-carb' ice cream, they taste wonderful... but quite a few just went straight from the bowl into the mouth...
![Raspberries](/images/raspberries.jpg)

We only picked for around an hour, at that is moving at the speed of a 4 year old, and ended up with a nice pile of berries. With a bit of 'low-carb' ice cream, they taste wonderful... but quite a few just went straight from the bowl into the mouth...
@@ -4,6 +4,7 @@ title: BioWare is putting on a big giveaway/contest...
type: posts
tags:
- Xbox
draft: true
---
I'm certain I can't enter, being a MSFT employee and all, but you can!

@@ -7,4 +7,7 @@ tags:
- Writing
- Books
---
<img align="right" src="http://www.duncanmackenzie.net/images/bookspotting_sml.jpg" />I was in a local Barnes and Noble, the one in downtown Bellevue (WA), and I spotted [our book](http://www.xbox4dummies.com) on the shelves. It wasn't at the Woodinville B&N as of yesterday, but at least it is showing up in some stores!

![Bookspotting](/images/bookspotting.jpg)

I was in a local Barnes and Noble, the one in downtown Bellevue (WA), and I spotted [our book](http://www.xbox4dummies.com) on the shelves. It wasn't at the Woodinville B&N as of yesterday, but at least it is showing up in some stores!
@@ -5,6 +5,6 @@ type: posts
tags:
- Xbox
---
My buddy (and co-author on [Xbox 360 For Dummies](http://www.amazon.com/gp/product/0471771805?ie=UTF8&tag=duncanmackenz-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=0471771805)<img style="margin: 0px; border-top-style: none! important; border-right-style: none! important; border-left-style: none! important; border-bottom-style: none! important" height="1" alt="" src="http://www.assoc-amazon.com/e/ir?t=duncanmackenz-20&l=as2&o=1&a=0471771805" width="1" border="0" />!) Brian Johnson has started a new column on Xbox.com aimed at parents ... parents who game with their kids... parents whose kids play games... and even just parents who play games (gaming is different for folks who have kids in the house!).
My buddy (and co-author on Xbox 360 For Dummies) Brian Johnson has started a new column on Xbox.com aimed at parents ... parents who game with their kids... parents whose kids play games... and even just parents who play games (gaming is different for folks who have kids in the house!).

Check out his entry about it here: <a title="Gamer Dad Column" href="http://brianjo.spaces.live.com/blog/cns!57C723EC58B8F3A3!1816.entry">Gamer Dad Column</a>
Check out his entry about it here: [Gamer Dad Column](http://brianjo.spaces.live.com/blog/cns!57C723EC58B8F3A3!1816.entry)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit ff4957c

Please sign in to comment.
You can’t perform that action at this time.