Scott Holden on GC.Collect

I just discovered that Scott Holden (NetCF Development Manager) is up and posting!  Be sure to check out  “The perils of GC.Collect (or when to use GC.Collect)“.  In it, Scott talks about when not to call GC.Collect, recommendations on GC.Collect usage and NetCF v2 improvements to the Garbage Collector. Enjoy!— DK [Edit: Fix sentence wording]

1

The old days…

Ben “Virtual PC Guy” Armstrong’s recent post sent me back to my early days at Microsoft.  Back then (early 1990s) I was a member of the MS-DOS product support team.  His link to the Microsoft Knowledge Base article was one I remember fondly.  Many times I walked customers through these instructions over the phone.  Customers…

1

Can I debug a NetCF application without being an administrator?

Everyone knows that it is safer to run as a limited user rather than as the administrator.  Because of that, I am often asked if it is possible to debug NetCF applications without being an administrator.  The answer?  One word. Yes!  Typically, I build to my Pocket PC device, connected to my PC via ActiveSync. …

3

Please welcome Mike Zintel and read about NetCF memory management

Today, our team’s (NetCF) group manager, Mike Zintel, has joined the blogs.msdn.com community!  Please take time to visit his site and be sure to read his post on .Net Compact Framework Advanced Memory Mangaement.  It may be a long read, but it is well worth the time and is an excellent source of information about…

0

Determining the type of data pointed to by a Url – VB.NET version

Earlier today, I posted an example of some Visual C# code that checks the type of the data pointed to by a Url.  I was thinking that it might be nice to post a Visual Basic .NET equivalent… This version is a direct port of the Visual C# code and comes with the same caveat:…

1

Determining the type of data pointed to by a Url

Have you ever wanted to know what type of file was being pointed to by a given url before clicking the link?  Maybe you are writing an application that needs to filter out certain types of links.  A web crawler is a good example of an application which needs to do such link filtering (skip…

5

Debugging NetCF apps with cordbg – Part XI: VB.Net

For the most part, my posts are written in C#.  Of the NetCF supported languages, C# is where I am most comfortable.  Every once in awhile, however, I’ll post a VB.Net related topic (this is my second).  Today I thought I’d show a NetCF application written in VB.Net running under cordbg. Debugging VB.Net applications under…

0

What does code using a ConditionalAttribute look like under the debugger?

Last week, Nathan posted about the ConditionalAttribute.  This got me thinking…  What does his example look like under the debugger?  To find out, I built a very simple application – a NetCF console application containing Nathan’s two methods (foo and bar) along with a Main that calls foo.  I’ll use NetCF v1 SP2 and cordbg version…

2

Debugging NetCF apps using CorDbg – Part X: Threads

Earlier in this series, I mentioned I would talk a bit about threads… Commandsre[sume]su[spend]t[hreads] Working with threads in CorDbg is pretty straight forward.  The viewing an navigating of your application’s threads is done using the t[hreads] command.  To display a list of threads, use the t[hreads] command without any arguments. Note: In this and in…

2

What was that cool thing you just did?

Back when I started at Microsoft, the big product was MS-DOS 5.  Of all the features in MS-DOS 5, my hands down favorite (and one I still use today) was DosKey.  You remember DosKey… It was the utility that made F7 one of the most useful keys on your keyboard. Prior to starting here, I…

6