Sign in
Code/Tea/Etc...
Duncan Mackenzie has too much time on his hands
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
.NET General
CSharp Featured Team Posts
Digital Music and Media
Pages
Personal Musings
TechEd
Visual Basic
Visual C#
Archive
Archives
September 2004
(1)
August 2004
(15)
July 2004
(27)
June 2004
(38)
May 2004
(34)
April 2004
(35)
March 2004
(33)
February 2004
(29)
January 2004
(23)
December 2003
(9)
November 2003
(46)
October 2003
(34)
September 2003
(13)
August 2003
(5)
July 2003
(14)
June 2003
(14)
May 2003
(22)
April 2003
(15)
March 2003
(23)
February 2003
(9)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Code/Tea/Etc...
Anders on MSDNTV
Posted
over 9 years ago
by
Duncanma
3
Comments
Whiteboard with Anders Hejlsberg At Tech Ed 2004, Anders Hejlsberg gave an informal talk, answered attendee questions, and wrote some code examples on the whiteboard. (July 29)
Code/Tea/Etc...
New Coding 4 Fun Article up...
Posted
over 9 years ago
by
Duncanma
2
Comments
Add a Quick Poll to Your Web Site Summary: Duncan Mackenzie describes his process to build a "Quick Poll" using Visual Basic and ASP.NET. Recent discussions have motivated me to add some 'anti-repeat-voting' code to this sample... I've finished up most...
Code/Tea/Etc...
With things like AOL and other proxies... how useful is IP Address in figuring out duplicate votes/comments/etc... ?
Posted
over 9 years ago
by
Duncanma
13
Comments
I'm playing around with my voting control and I was thinking of (in addition to a cookie based check) querying to see how recently this IP address had tried voting and if it was within 'x' seconds, rejecting the vote... Something more extreme, like...
Code/Tea/Etc...
Trying out something 'bad'...
Posted
over 9 years ago
by
Duncanma
6
Comments
So, if you missed it... I was just playing with displaying a poll in the blog... don't worry, I won't make a habit of this :)... I did it using the spawn of evil an iframe... I've removed it now, the experiment is done... but it exposed an interesting...
Code/Tea/Etc...
I'm thinking of adding login/registration to my personal site...
Posted
over 9 years ago
by
Duncanma
6
Comments
Not sure what scenarios this will be used to enable in the long run, but I might play around with some web services (with authentication) and a few 'prototypes' for articles and MSDN features that I've been musing about... Do you run a personal site?...
Code/Tea/Etc...
Solutions at a Glance... great for all .NET developers interested in security...
Posted
over 9 years ago
by
Duncanma
3
Comments
I was just talking with J.D. Meier ( from PAG ) about the Improving Application Security book and he pointed out a great page to me... the " Solutions At A Glance " list... this page lists a ton of very frequently asked questions around .NET security...
Code/Tea/Etc...
ReSharper 1.0 Released...
Posted
over 9 years ago
by
Duncanma
4
Comments
From their site... "ReSharper is an add-in for Microsoft Visual Studio .NET 2003 that brings intelligent C# coding assistance, real-time error highlighting, and refactoring features to this popular development platform." More info here...
Code/Tea/Etc...
Thanks Bill... Vaughn that is, not that other guy...
Posted
over 9 years ago
by
Duncanma
1
Comments
I noticed yesterday that my poll wasn't showing the question on the top of the list of choices, or the list of results. Viewing the source made it pretty obvious the <asp:label> was rendering, but that it was empty. Checking my code everything seemed...
Code/Tea/Etc...
Don't ask me why, but I've become the official forum for Spiderman 2
Posted
over 9 years ago
by
Duncanma
6
Comments
I blame google. ( 250 + comments so far, not counting the ones I've had to remove )
Code/Tea/Etc...
Previewing my "Quick Vote" article...
Posted
over 9 years ago
by
Duncanma
0
Comments
I've put the draft of my next Coding 4 Fun column ('Duncan Mackenzie describes his process to build a "Quick Poll" using Visual Basic and ASP.NET.') up onto my personal site, click here to check it out.
Code/Tea/Etc...
Books, Books, Books...
Posted
over 9 years ago
by
Duncanma
14
Comments
I've been thinking about books and the MSDN developer centers for some time... I've been wondering what we should do in terms of highlighting books on the MSDN site. Do you want reviews ? Top x Books by topic area (Beginning VB.NET, Data Access...
Code/Tea/Etc...
We have a bit of a cluster in my poll results...
Posted
over 9 years ago
by
Duncanma
3
Comments
I'm running a poll on http://www.duncanmackenzie.net to see what topics I should write about next in my Coding 4 Fun column ... There are 7 choices in total, but 3 are getting the lion's share of the votes... Game Dev (a 'battleship' networked game, etc...
Code/Tea/Etc...
Stuck on a problem opening vbproj or csproj files...
Posted
over 9 years ago
by
Duncanma
1
Comments
On my home dev box I couldn't seem to open any of my projects (VB or C#), and whenever I tried I got this useful error; The application for project 'C:\Documents and Settings\Duncanma\My Documents\Visual Studio Projects\ConsoleApplication1\ConsoleApplication1...
Code/Tea/Etc...
Getting the right Printer Margin Bounds when working in Windows Forms...
Posted
over 9 years ago
by
Duncanma
1
Comments
a Code Project link, via Darth Pedro's blog ... .NET: Printer Margin Bounds in .NET There's a very good Code Project article by Philippe Leybaert on getting the appropriate printer margin bounds so that what you print from you WinForms application...
Code/Tea/Etc...
Robert gives up an update on the VB.NET Power Pack
Posted
over 9 years ago
by
Duncanma
1
Comments
VB Power Pack Update It’s been a little over a month since we shipped the Power Pack. As of this morning, the controls have been downloaded 17,401 times!! And there are more than 100 members of the Power Pack Workspace ( link ). Nathan Blecharczyk...
Code/Tea/Etc...
Partial types in Visual Basic .NET
Posted
over 9 years ago
by
Duncanma
1
Comments
Partial types have come up a few times lately , and I wasn't sure they had been explained/defined before... so, I stole some prose from another document on this topic, cut and pasted some VB code from VS 2005 and here you go
Code/Tea/Etc...
Partial types in Visual Basic .NET
Posted
over 9 years ago
by
Duncanma
2
Comments
While it is good programming practice to maintain all source code for a type in a single file, sometimes a type becomes large enough that this is an impractical constraint. Furthermore, programmers often use source code generators (like the Windows Forms...
Code/Tea/Etc...
Cool Quote from the "My" chat going on right now...
Posted
over 9 years ago
by
Duncanma
1
Comments
Tyler_MS : Q: Is "My" customizable so that people can create their own "shortcuts" to frequently used sections? Tyler_MS : A: Yes, it is customizable. It is done via partial classes. We will be writing a whitepaper on how to do it. You can add things...
Code/Tea/Etc...
Default Values, Triggers, and Code supplied values ... oh my!
Posted
over 9 years ago
by
Duncanma
4
Comments
In an earlier post , I mentioned that I use a trigger to update a "DateCreated" field in one of my tables... and various people commented on this... asking "why not pass in a value in your Insert?" or "why not use a default value?" Since I feel that replying...
Code/Tea/Etc...
"Express Paint" article up...
Posted
over 9 years ago
by
Duncanma
0
Comments
This article, by John Kennedy , discusses the creation of an image editing application completely built with C# Express Edition. ExpressPaint Summary: Use C# Express to create an image processing application that's ideal for putting the final touch to...
Code/Tea/Etc...
New Poll is up and a silly mistake...
Posted
over 9 years ago
by
Duncanma
9
Comments
One of the big reasons I redesigned the poll component , was so that I could track votes over time... I did this by adding a 'dateVoted' column to my vote table, and then using an “On Insert” trigger to set that column to the current date...
Code/Tea/Etc...
Andrew Troelsen's Refactoring Article is up...
Posted
over 9 years ago
by
Duncanma
1
Comments
Refactoring C# Code Using Visual Studio 2005 Andrew W. Troelsen Intertech Training Summary: This article examines the role of code refactoring, and the refactoring techniques supported by Visual Studio 2005. (23 printed pages)
Code/Tea/Etc...
Get a listing of all the upcoming VB Chats
Posted
over 9 years ago
by
Duncanma
1
Comments
Chats on Visual Basic 2005 For the past year, I've been organizing the Visual Basic chats that appear at http://msdn.microsoft.com/chats/ . For the most part, these chats focused on answering your questions about Visual Basic. Naturally, now that the...
Code/Tea/Etc...
Generics in VB 2005 Article now live on MSDN...
Posted
over 9 years ago
by
Duncanma
3
Comments
Defining and Using Generics in Visual Basic 2005 Harish Kantamneni Visual Basic Team Microsoft Corporation July 2004 Summary : Provides an overview of the generics feature in Visual Basic 2005, and explains the basic concepts involved in defining and...
Code/Tea/Etc...
Going on now... chat with the VB and ASP teams about building Web Forms with VB.NET 2003
Posted
over 9 years ago
by
Duncanma
2
Comments
Web Forms Development with Visual Basic .NET 2003 Do you have questions about how to create great ASP.NET applications with Visual Basic .NET? Join members of the Visual Basic and Web Forms teams for a discussion about getting the most out of your Web...
Page 1 of 2 (27 items)
1
2