<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7312242615938445755</id><updated>2012-01-16T14:04:45.060-08:00</updated><category term='MSSQL'/><category term='GettingStarted'/><category term='Frustration'/><category term='arrays'/><category term='Errors'/><category term='definitions'/><category term='tutorial'/><category term='success'/><category term='graphics'/><category term='Oddities'/><category term='XML'/><category term='printing'/><category term='wtf'/><category term='Sketchup'/><category term='Victory'/><category term='DataGridView Visual Studio 2010 Tutorial'/><category term='Visual Studio 2010'/><category term='Meltdown'/><category term='C#'/><category term='Paradox'/><category term='EnumWindows'/><category term='Timer'/><category term='css'/><category term='the help never never never helps'/><category term='Backup'/><category term='profiles'/><category term='Sendkey'/><category term='SimsSitter3'/><category term='asp.net'/><category term='Visual Studio Express 2008'/><category term='Visual Web Developer 2008'/><category term='database'/><title type='text'>Visual Studio Journey</title><subtitle type='html'>Sharing the joys and frustrations of C# and ASP.NET programming since 2006</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default?start-index=101&amp;max-results=100'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>102</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-6895369968394899433</id><published>2012-01-16T13:55:00.000-08:00</published><updated>2012-01-16T14:04:45.070-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Errors'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='Paradox'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Frustration'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>[INTERSOLV][ODBC Paradox driver][Paradox]Network initialization failed.</title><summary type='text'>If you're seeing a...


[INTERSOLV][ODBC Paradox driver][Paradox]Network initialization failed.

... or a ...


[INTERSOLV][ODBC Paradox driver][Paradox]Directory is controlled by other .NET file.

... message, you're probably  trying to connect an ASP.NET or VS.NET Program to a Paradox database.



You've been all over the internet and there is some stuff about not being able to work on a SUBST </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/6895369968394899433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2012/01/intersolvodbc-paradox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6895369968394899433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6895369968394899433'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2012/01/intersolvodbc-paradox.html' title='[INTERSOLV][ODBC Paradox driver][Paradox]Network initialization failed.'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-WGcKhcbgR9w/TxSe6p6BvlI/AAAAAAAAAuE/wDM5j2TpLbU/s72-c/noParadox.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-6788503480349907013</id><published>2011-12-21T14:19:00.000-08:00</published><updated>2012-01-16T13:56:35.267-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Frustration'/><title type='text'>Just a Little Question</title><summary type='text'>Does Microsoft purposely update their sunsetting OS's (like WinXP) with patches that will make them bog down and frustrate people - hoping that they will get so angry that they will run out and buy a new machine?   

From what I can see, they certainly do!


Bryan Valencia is a contributing editor and founder of Visual Studio Journey.  He owns and operates Software Services, a web design and </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/6788503480349907013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/12/just-little-question.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6788503480349907013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6788503480349907013'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/12/just-little-question.html' title='Just a Little Question'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-350156225493282788</id><published>2011-12-20T12:31:00.000-08:00</published><updated>2012-01-16T13:56:52.560-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2010'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Incrementing a Non Numeric Index in SQL Server</title><summary type='text'>So I have this client, and all his sales invoices in the old system are either numeric, or they are numeric (1000) with a single character prefix (C1000).   We want to auto increment the index automatically, but the autoincrement stuff is not going to work here.

So I wrote a function based on this SQL.


select 'C' + isnull(cast(1+max( cast(SUBSTRING(Invoice_no,2,99) as int)) as varchar),'1000')</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/350156225493282788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/12/incrementing-non-numeric-index-in-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/350156225493282788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/350156225493282788'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/12/incrementing-non-numeric-index-in-sql.html' title='Incrementing a Non Numeric Index in SQL Server'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-Joyk8zT72Po/TvDwQogFfQI/AAAAAAAAAt0/23iLh_77B6M/s72-c/bindingfn2default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-5707331820027458690</id><published>2011-12-06T07:36:00.001-08:00</published><updated>2011-12-06T09:19:45.715-08:00</updated><title type='text'>A Generic Error Logging Object</title><summary type='text'> There are certain tasks that you find yourself doing over and over in multiple projects - and at some point it makes sense to just create a gizmo and re-use it.  Here is my logging object that can log messages (errors or just messages) to files and to a database.
Enjoy.

 If you want to log to a database, you must create the data table.




Next, add this object to your project (Project-Add New </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/5707331820027458690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/12/generic-error-logging-object.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5707331820027458690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5707331820027458690'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/12/generic-error-logging-object.html' title='A Generic Error Logging Object'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-8159356625966039789</id><published>2011-11-27T15:33:00.001-08:00</published><updated>2011-11-27T15:48:08.002-08:00</updated><title type='text'>Insecure Security</title><summary type='text'>
Your password must be at least 12 characters, and include capital and lowercase, numbers, and punctuation marks.  It cannot be any of your last 10 passwords.  Also, you must change it every 10 days.


And, since we all have online accounts at 25 or more websites, all with different password strength requirements, that means that most of us either...

program our browsers to remember our </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/8159356625966039789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/11/insecure-security.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8159356625966039789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8159356625966039789'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/11/insecure-security.html' title='Insecure Security'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-2554479795933402681</id><published>2011-11-22T10:17:00.001-08:00</published><updated>2011-11-22T13:27:21.670-08:00</updated><title type='text'>Reinstalling the .NET Framework on a WebServer: No Picnic</title><summary type='text'>
Windows SBS 2003 used as a webserver.


Ok, I was getting the same Autoupdate from Windows Update everyday, so I posted a question about it, and was advised to reinstall the .NET Framework as something had become banjaxed.

I put this off, because installing the .NET Framework (3 versions of it) had initially taken me hours.  But, being sick of the repeated updates, I finally scheduled </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/2554479795933402681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/11/reinstalling-net-framework-on-webserver.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2554479795933402681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2554479795933402681'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/11/reinstalling-net-framework-on-webserver.html' title='Reinstalling the .NET Framework on a WebServer: No Picnic'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-Rf3Ug5OcsCY/TsvrlIiHRgI/AAAAAAAAAto/suUXIB_6Lhs/s72-c/AllowFrameworks.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-5005194469510031322</id><published>2011-11-19T16:44:00.001-08:00</published><updated>2011-11-21T09:53:25.434-08:00</updated><title type='text'>Using Return Values From Stored Procedures in C#.NET</title><summary type='text'>Ok, let's say you have a stored procedure that returns a value.



Now lets say you want to test it in SQL Server Management Studio...



This gives us a value of 1, as expected.

Now if we want to call this from C#, there is a little trick we have to play with Parameters.



Note the trick we had to play here (line 19) to access the return value after the procedure runs.  At first, I tried using</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/5005194469510031322/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/11/using-return-values-from-stored.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5005194469510031322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5005194469510031322'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/11/using-return-values-from-stored.html' title='Using Return Values From Stored Procedures in C#.NET'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-8974986553449025465</id><published>2011-10-18T01:15:00.000-07:00</published><updated>2011-10-18T01:15:22.517-07:00</updated><title type='text'>BindingSource filters: Partial Match on Int Columns</title><summary type='text'>Recently I had to do a filter on a DataGridView and needed the dataset to filter on a partial match of an integer column.   It took me a few minutes to figure this out...


if (!string.IsNullOrEmpty(ticket))
{
   filter = string.Format("Convert(ID,'System.String') like '%{0}%' ", ticket);
}
This gives a filter line that looks a lot like
"Convert(ID, 'System.String') like %123%"
 Which will show </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/8974986553449025465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/10/bindingsource-filters-partial-match-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8974986553449025465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8974986553449025465'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/10/bindingsource-filters-partial-match-on.html' title='BindingSource filters: Partial Match on Int Columns'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-462155507677120032</id><published>2011-09-29T10:48:00.000-07:00</published><updated>2011-09-29T10:48:39.426-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oddities'/><title type='text'>Mixed Messages</title><summary type='text'>

I just changed the icon in my application's main form and got this... a success message with the red "Error" (x) icon.




Bryan Valencia is a contributing editor and founder of Visual Studio Journey.  He owns and operates Software Services, a web design and hosting company in Manteca, California.</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/462155507677120032/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/09/mixed-messages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/462155507677120032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/462155507677120032'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/09/mixed-messages.html' title='Mixed Messages'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-8b5ahxbcodQ/ToSvCZQZvGI/AAAAAAAAAss/b_dSMZXmOss/s72-c/mixedmessage.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-8985273697162408554</id><published>2011-09-08T13:05:00.000-07:00</published><updated>2011-09-08T13:05:46.984-07:00</updated><title type='text'>TextBox Watermarking in ASP.NET</title><summary type='text'>This post in in answer to a recent request I got to add a gray italicized hint to the search textbox that clears when the user selects the box.

A google search or two revealed that the industry calls that a TextBox Watermark, and it looks like this:


There are 3 things you need to accomplish this.
CSS styles for the watermarked and unwatermarked boxes. 
I added these to my main stylesheet.



</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/8985273697162408554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/09/textbox-watermarking-in-aspnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8985273697162408554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8985273697162408554'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/09/textbox-watermarking-in-aspnet.html' title='TextBox Watermarking in ASP.NET'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-Hn5LqsPwwH8/TmkcMCi0RoI/AAAAAAAAArM/WYI8W1OjgU0/s72-c/watermark.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-8173529679802660315</id><published>2011-09-01T14:53:00.000-07:00</published><updated>2011-09-01T14:53:19.989-07:00</updated><title type='text'>The Perils of the Fixed Bid</title><summary type='text'>Here's a stupid trick that new freelance software developers often fall into.

You are in business for yourself - maybe part time - and you get a call.  Typically it goes something like this.

How much will it cost to make a web site?

I usually chuckle and say something like "Between $100 and $20million."  I have found that people who call for this kind of work don't know what they want from a </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/8173529679802660315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/09/perils-of-fixed-bid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8173529679802660315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8173529679802660315'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/09/perils-of-fixed-bid.html' title='The Perils of the Fixed Bid'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-403406103884754817</id><published>2011-09-01T07:48:00.000-07:00</published><updated>2011-09-01T07:50:24.129-07:00</updated><title type='text'>DataGridView: Edit Row on F2</title><summary type='text'>The Problem: The DataGridView control defaults to EditMode=EditOnKeystrokeOrF2.  That means that if you're tabbing around and you accidentally hit ANY KEY, you're going to munge your data.

One Solution:  There is an EditMode setting called "EditOnF2" which requires the user to hit F2 before editing.  It's a lot like locking all edits in your Excel spreadsheets.  The user is now required to hit </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/403406103884754817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/09/datagridview-edit-row-on-f2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/403406103884754817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/403406103884754817'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/09/datagridview-edit-row-on-f2.html' title='DataGridView: Edit Row on F2'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-288112574194566610</id><published>2011-08-30T12:58:00.000-07:00</published><updated>2011-08-30T13:02:42.936-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Errors'/><category scheme='http://www.blogger.com/atom/ns#' term='Frustration'/><category scheme='http://www.blogger.com/atom/ns#' term='wtf'/><title type='text'>Version Number Fail</title><summary type='text'>So...
I'm building a Windows desktop application and noticed that the version number (after 50+ builds) is 1.0.0.0.  So I looked for "Auto increment assembly version and came across this great article.
Ok.
So if you open /Properties/AssemblyInfo.cs you see the following lines...

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/288112574194566610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/08/version-number-fail.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/288112574194566610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/288112574194566610'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/08/version-number-fail.html' title='Version Number Fail'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-1545987732850559172</id><published>2011-07-25T12:45:00.000-07:00</published><updated>2011-07-25T12:46:34.262-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Frustration'/><title type='text'>Dear Programmers...</title><summary type='text'>Please wait.

When you're making a Windows or Web App I have a few words of advice.

Some processes - like complex database queries - take a lot of time, especially over a large network.  This gives a user experience where they click a link or button and nothing happens for a very long time.  Wouldn't it be better if you popped up a little I'm working... animation to let the user know you haven't</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/1545987732850559172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/07/dear-programmers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1545987732850559172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1545987732850559172'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/07/dear-programmers.html' title='Dear Programmers...'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-8309607950709971978</id><published>2011-07-23T12:42:00.000-07:00</published><updated>2011-08-30T13:49:13.486-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wtf'/><title type='text'>Some Updates Could Not Be Installed</title><summary type='text'>Ok, Microsoft, wtf am I supposed to do NOW?





Security Update for .NET Framework 2.0 SP2 and 3.5 SP1 on Windows Server 2003 and Windows XP x86 (KB2478658)
Security Update for .NET Framework 2.0 SP2 and 3.5 SP1 on Windows Server 2003 and Windows XP x86 (KB2518864)

...

Update: Microsoft advised me to uninstall and reinstall various versions of the .NET framework.  Fun.  That's 4 hours I'll </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/8309607950709971978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/07/some-updates-could-not-be-installed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8309607950709971978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8309607950709971978'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/07/some-updates-could-not-be-installed.html' title='Some Updates Could Not Be Installed'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-GHdPVeGGHWg/TisjilxczLI/AAAAAAAAAqs/emWAaQUhCpg/s72-c/someupdates.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-3185009208104041018</id><published>2011-07-11T15:19:00.000-07:00</published><updated>2011-07-11T15:19:43.878-07:00</updated><title type='text'>Dear Bloggers...</title><summary type='text'>Would it be too much to ask you to include the DATE on your blog posts?  I just tried to debug my SQL Server 2008 R2 problem using a blog post that must date back to 1965.
Thank you.
Bryan Valencia is a contributing editor and founder of Visual Studio Journey.  He owns and operates Software Services, a web design and hosting company in Manteca, California.</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/3185009208104041018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/07/dear-bloggers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3185009208104041018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3185009208104041018'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/07/dear-bloggers.html' title='Dear Bloggers...'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-6461013383396481524</id><published>2011-07-04T13:29:00.000-07:00</published><updated>2011-07-04T13:32:27.798-07:00</updated><title type='text'>Common Sense SEO</title><summary type='text'>I get this all the time, in phone calls and email.  "We can use SEO (Search Engine Optimization) to put your site at #1 in the Google rankings..."
So, while it sounds good to optimize your search rankings, what exactly are we talking about here?  As it turns out, there are 2 kinds of SEO.
There is organic SEO, where the Google and other crawlers read the text on your page and index your site </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/6461013383396481524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/07/common-sense-seo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6461013383396481524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6461013383396481524'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/07/common-sense-seo.html' title='Common Sense SEO'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-3378984612084964242</id><published>2011-06-10T12:01:00.000-07:00</published><updated>2011-06-10T14:57:07.847-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DataGridView Visual Studio 2010 Tutorial'/><title type='text'>How to make your DataGridView set maxInputLength based on the data cells.</title><summary type='text'>This tutorial was created using:
Visual Studio 2010
SQL Server Express database
Visual C# language

I found that when you create a database and use a DataGridView, the column lengths for the string columns are all set to max.  This is unacceptable, as the user experience will be an error message AFTER they enter all their data and try to save.

It is an option to go through the DataGridView </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/3378984612084964242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/06/how-to-make-your-datagridview-set.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3378984612084964242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3378984612084964242'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/06/how-to-make-your-datagridview-set.html' title='How to make your DataGridView set maxInputLength based on the data cells.'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-2633443847716941821</id><published>2011-03-30T13:03:00.000-07:00</published><updated>2011-03-30T13:03:22.324-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='success'/><title type='text'>Super Easy way to Embed Code in Your Blog!</title><summary type='text'>This is so easy I almost hesitate to mention it.  There are several code highlighters out there that claim to be able to highlight your source code using a bunch of Javascript.  I have found that none of them work, or they are so cumbersome that the cease to save you time and energy and actually make the job harder.


That's when I came across http://pastebin.com/.  You can paste in your code, </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/2633443847716941821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/03/super-easy-way-to-embed-code-in-your.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2633443847716941821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2633443847716941821'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/03/super-easy-way-to-embed-code-in-your.html' title='Super Easy way to Embed Code in Your Blog!'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-3275175795859694962</id><published>2011-03-29T12:25:00.000-07:00</published><updated>2011-03-30T12:51:01.340-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio Express 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='MSSQL'/><title type='text'>Using SQL Server Authentication on SQL Express</title><summary type='text'>For most of my databases, I am content to use Windows Authentication for my database access.  In a development or small shop environment, it's usually acceptable to let Windows bear the burden of authentication.
But if you need to add just one database app that requires a separate login beyond the Windows login, here's how.

First a few definitions.
SERVER vs. DATABASE 
SQL Server (in my case </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/3275175795859694962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/03/using-sql-server-authentication-on-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3275175795859694962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3275175795859694962'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/03/using-sql-server-authentication-on-sql.html' title='Using SQL Server Authentication on SQL Express'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-fe9ASMJpVxg/TZIsuNmlmpI/AAAAAAAAAoc/GJUyAedi7SE/s72-c/Screencap+2011-03-29%252C+12_00_24.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-1313334402655399488</id><published>2011-03-04T11:44:00.000-08:00</published><updated>2011-03-04T11:54:25.621-08:00</updated><title type='text'>Using Web Safe Fonts in CSS</title><summary type='text'>
.font_test
{
    color: #000000;
}
.code_block
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: medium;
    color: #FFFFFF;
    line-height: 25px;
    text-align: left;
    vertical-align: middle;
    background-color: #000099;
}

If you are editing the stylesheet in Visual Web Developer, and you access the font-family dropdown, Microsoft shows 3 common web-safe fonts and then </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/1313334402655399488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/03/using-web-safe-fonts-in-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1313334402655399488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1313334402655399488'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/03/using-web-safe-fonts-in-css.html' title='Using Web Safe Fonts in CSS'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-1488133306453840457</id><published>2011-03-03T16:57:00.000-08:00</published><updated>2011-03-03T17:02:52.209-08:00</updated><title type='text'>SQL Server 2008 R2 Express</title><summary type='text'>Three Hours later...
What a bunch of USELESS CRAP!

For those who lack a life, the text in the box below is...

The following notes apply to this release of SQL Server only.

Microsoft Update

For information about how to use Microsoft Update to identify updates for SQL Server 2008 R2, see the Microsoft Update Web site at http://go.microsoft.com/fwlink/?LinkId=108409.

Samples

By default, sample</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/1488133306453840457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/03/sql-server-2008-r2-express.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1488133306453840457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1488133306453840457'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/03/sql-server-2008-r2-express.html' title='SQL Server 2008 R2 Express'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh6.googleusercontent.com/-1w2_fzqbHAU/TXA4gVLIJCI/AAAAAAAAAoY/2AA4RVx8ZUs/s72-c/SQLSERVER2008R2Crash1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-8911131343940775238</id><published>2011-02-22T11:40:00.000-08:00</published><updated>2011-02-22T11:40:56.658-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>SQL Server Money Type Conversion</title><summary type='text'>How to convert a SQL Server money Type to a C# floating point number.
The easiest way yo do this is to use the C# decimal type.

decimal amount = (decimal)myReader["Amount"];

I had tried double and float, and they both gave me an explicit conversion error.

FYI: when initializing a decimal, use this:

decimal mynumber=0m;

Think of the "m" as "money".

In format strings, use {0:C} (currency </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/8911131343940775238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/02/sql-server-money-type-conversion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8911131343940775238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8911131343940775238'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/02/sql-server-money-type-conversion.html' title='SQL Server Money Type Conversion'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-81080257977366428</id><published>2011-01-25T09:26:00.000-08:00</published><updated>2011-01-25T09:29:50.291-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oddities'/><title type='text'>Junk Posts</title><summary type='text'>I have a page on my site that allows interested parties to post questions to my business.  Recently it's been flooded with these junk posts.  I'm not sure what the payload is, because my e-mailer strips out all the HTML and JavaScript before messaging me.  There is one aspect of this that I find somewhat disturbing though. 


All the posts are similar, but they come from IP addresses all over the</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/81080257977366428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/01/junk-posts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/81080257977366428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/81080257977366428'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/01/junk-posts.html' title='Junk Posts'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-7221919703546221153</id><published>2011-01-21T00:16:00.000-08:00</published><updated>2011-01-21T00:16:09.759-08:00</updated><title type='text'>Snobs</title><summary type='text'>I am a snob.

I had to reinstall Visual Web Developer after a crash.  I edited a few old web sites, and apart from it squawking at me about my .NET 3.5 sites not being upgraded, all was well. Ok, so I decided to take a peek at my own web site and perhaps give it a fresh coat of paint. 

So I created a new project.  I had some great ideas about the menu bar.  3 hours of tormented editing later, it</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/7221919703546221153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2011/01/snobs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7221919703546221153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7221919703546221153'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2011/01/snobs.html' title='Snobs'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-235805941043408136</id><published>2010-09-28T14:12:00.000-07:00</published><updated>2010-09-28T15:04:27.571-07:00</updated><title type='text'></title><summary type='text'>I do not have the frakking time for this!

Server Application ErrorThe server has encountered an error  while loading an application during the processing of your request.   Please refer to the event log for more detail information.  Please  contact the server administrator for assistance.An asp.net site that has been RUNNING and STABLE for 5 years suddenly REFUSES to execute any ASP classic </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/235805941043408136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2010/09/i-do-not-have-frakking-time-for-this.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/235805941043408136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/235805941043408136'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2010/09/i-do-not-have-frakking-time-for-this.html' title=''/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agtnZ2qFAbw/TKJmQ2jYgvI/AAAAAAAAAnw/kuI3z5PSZFw/s72-c/settomedium.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-3702079253662478986</id><published>2010-09-12T13:26:00.000-07:00</published><updated>2010-09-12T13:26:29.623-07:00</updated><title type='text'>VWD 2010: What's Not to Like?</title><summary type='text'>The primary thing I don't like about Visual Web Developer 2010 is...









Bryan Valencia is a contributing editor and founder of Visual Studio Journey.  He owns and operates Software Services, a web design and hosting company in Manteca, California.</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/3702079253662478986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2010/09/vwd-2010-whats-not-to-like.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3702079253662478986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3702079253662478986'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2010/09/vwd-2010-whats-not-to-like.html' title='VWD 2010: What&apos;s Not to Like?'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_agtnZ2qFAbw/TI03aidqJcI/AAAAAAAAAnI/g68AFsJDOhU/s72-c/vwd2010+bits.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-8263484713526300573</id><published>2010-09-07T14:37:00.000-07:00</published><updated>2010-09-07T15:12:05.192-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>Easy XML Dataset Tutorial in Visual C# Express</title><summary type='text'>Create the Data Definition 
First, create a new application.
 Add a dataset
Right-click in the stripes and add a datatable.
Right click the datatable to add all the columns you want.
Use the Properties form to set column properties.
Repeat until your table is complete.

Continue this until your dataset is complete.  You can add as may tables as you like.  Keep in mind that you are not creating a </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/8263484713526300573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2010/09/easy-xml-dataset-tutorial-in-visual-c.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8263484713526300573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8263484713526300573'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2010/09/easy-xml-dataset-tutorial-in-visual-c.html' title='Easy XML Dataset Tutorial in Visual C# Express'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_agtnZ2qFAbw/TIaiKGZ6JyI/AAAAAAAAAlA/RyB-kyMUbHM/s72-c/xmltutorial1.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-9133735780838437671</id><published>2010-08-23T15:47:00.000-07:00</published><updated>2010-08-23T16:15:21.447-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='profiles'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>ASP.NET User Profiles.</title><summary type='text'>It totally sucks.
Membership data in the ASP.NET database stores user names, emails, and a little other information, but I need to add more... All I want is a few additional columns added to the user's data, like their real name, phone/fax/cell numbers, etc.  I don't want to go to the trouble of creating a SQL Server table and managing all the relationships to do this and then creating the SQL to</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/9133735780838437671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2010/08/aspnet-user-profiles.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/9133735780838437671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/9133735780838437671'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2010/08/aspnet-user-profiles.html' title='ASP.NET User Profiles.'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agtnZ2qFAbw/THLqJaAEOhI/AAAAAAAAAkw/OzM8FJZ2H9g/s72-c/profile1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-3880199533333235144</id><published>2010-08-10T13:32:00.000-07:00</published><updated>2010-08-13T22:07:47.156-07:00</updated><title type='text'>Server Application Unavailable</title><summary type='text'>I fought this for a week - there was so much junk info out there.  My system config is as follows:

Windows SBS 2003 SP2 
IIS 6
Hosting a mix of ASP.NET 2.0, 2.5, 3.5 sites

When I added my first Visual Web Developer 2010 site using the .net 4.0 framework, These errors happened.







Server Application Unavailable


        The web application you are attempting to access on this web 
server is</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/3880199533333235144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2010/08/server-application-unavailable.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3880199533333235144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3880199533333235144'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2010/08/server-application-unavailable.html' title='Server Application Unavailable'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-5536813532092072290</id><published>2010-08-03T12:42:00.000-07:00</published><updated>2010-08-03T12:42:35.395-07:00</updated><title type='text'>HTML Dropdown for all US and Canada States/Provinces</title><summary type='text'>&lt;SELECT NAME="state" SIZE=1&gt;
                &lt;OPTION VALUE="United States" disabled="disabled"&gt;United States&lt;/option&gt;
                &lt;OPTION VALUE="AL - Alabama"&gt;Alabama&lt;/option&gt;
                &lt;OPTION VALUE="AK - Alaska"&gt;Alaska&lt;/option&gt;
                &lt;OPTION VALUE="AZ - Arizona"&gt;Arizona&lt;/option&gt;
                &lt;OPTION VALUE="AR - Arkansas"&gt;Arkansas&lt;/option&gt;
                &lt;OPTION VALUE="CA</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/5536813532092072290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2010/08/html-dropdown-for-all-us-and-cananda.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5536813532092072290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5536813532092072290'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2010/08/html-dropdown-for-all-us-and-cananda.html' title='HTML Dropdown for all US and Canada States/Provinces'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-4913145001286489201</id><published>2010-07-17T19:51:00.000-07:00</published><updated>2010-07-17T19:51:56.734-07:00</updated><title type='text'>Visual Web Developer: Productivity Killer</title><summary type='text'>Oh, my god this is awful!

I noticed a couple quick changes I needed to make to my website.  So I popped open VWD.  It took 4 minutes to load.  4 MINUTES!  I was screaming!  Then I selected the website project and another 3 minutes go by!  I started this blog entry to vent so I don't get a brain aneurysm!

Guess what!

10 minutes after I noticed the error, and spent this whole time screaming at </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/4913145001286489201/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2010/07/visual-web-developer-productivity.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/4913145001286489201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/4913145001286489201'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2010/07/visual-web-developer-productivity.html' title='Visual Web Developer: Productivity Killer'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-5621390906799077544</id><published>2010-06-07T08:47:00.000-07:00</published><updated>2010-06-07T08:48:20.413-07:00</updated><title type='text'>ASP.NET and SQL Server: Chapter 1: Displaying A Gridview of SQL Server Data</title><summary type='text'>Chapter 1.
Assuming you already have data you wish to display in your SQL Server database, create an aspx ajax web form.



Now open the Database Explorer, and open your database, then navigate to the table you want to show in the web form.  Click the table, and drag it to your form div tags.


Hit control-s (save) and your datagrid will appear in the design view window along with a SqlDatasource</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/5621390906799077544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2010/06/aspnet-and-sql-server-chapter-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5621390906799077544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5621390906799077544'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2010/06/aspnet-and-sql-server-chapter-1.html' title='ASP.NET and SQL Server: Chapter 1: Displaying A Gridview of SQL Server Data'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_agtnZ2qFAbw/TA0Qq4Dil2I/AAAAAAAAAjo/uwgP4yWULJA/s72-c/Gridview1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-8729592039367552324</id><published>2010-06-04T14:52:00.000-07:00</published><updated>2010-06-04T18:18:05.951-07:00</updated><title type='text'>How to Design a Crappy Web Site</title><summary type='text'>Ok, no one really needs information on how to make the worst possible web site.  This article was written as a guide how not to do a web page for your business.  As a professional web designer I am well-versed in all the nerdy ways required to carve a web site out of solid stone.  What I offer here is a humorous attempt to get you thinking about the things a business needs to consider before </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/8729592039367552324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2010/06/how-to-design-crappy-web-site.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8729592039367552324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8729592039367552324'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2010/06/how-to-design-crappy-web-site.html' title='How to Design a Crappy Web Site'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-335403536584375906</id><published>2010-06-01T11:27:00.000-07:00</published><updated>2010-06-02T15:41:02.891-07:00</updated><title type='text'>No connection could be made because the target machine actively refused it</title><summary type='text'>This happened after migrating from a T1 line to a Comcast 10Mb line.   My web sites can no longer send emails because of this error.  

My setup:

I am using SBS 2003 as a web server AND as an Exchange server.  The ASP.NET code that is trying send an email looks like this:



   1:      protected void Button1_Click(object sender, EventArgs e)
   2:      {
   3:          if (IsPostBack)
   4:</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/335403536584375906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2010/06/no-connection-could-be-made-because.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/335403536584375906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/335403536584375906'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2010/06/no-connection-could-be-made-because.html' title='No connection could be made because the target machine actively refused it'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_agtnZ2qFAbw/TAa2A5lM2ZI/AAAAAAAAAjA/TwgOUlsmyx4/s72-c/209site-outside.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-7338232422548343587</id><published>2010-03-12T12:45:00.000-08:00</published><updated>2010-03-12T17:17:55.375-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='MSSQL'/><title type='text'>General SQL Optimization Tips and Tricks</title><summary type='text'>SQL and You
SQL can get complicated.  You are simple.  That's just the way it is.  
You like issuing commands like...


select * from orders
...when all you need is a few columns.  But the SQL Server will 
dutifully fetch all the data you requested, no matter the cost to the 
performance of the server, the network, and your fellow database users.

The above query might not be too bad, but when </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/7338232422548343587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2010/03/general-sql-optimization-tips-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7338232422548343587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7338232422548343587'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2010/03/general-sql-optimization-tips-and.html' title='General SQL Optimization Tips and Tricks'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agtnZ2qFAbw/S5qdsktTd_I/AAAAAAAAAhw/LnnN2R4kAyI/s72-c/SQL1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-1406020096945427666</id><published>2010-02-15T14:46:00.000-08:00</published><updated>2010-05-16T10:25:37.340-07:00</updated><title type='text'>The Latest Windows Malfunction</title><summary type='text'>Lately my DSL has been wonky at the office.  Seemingly, everything is fine, but now and then, I get the little networking icon in this state - 

 - sending but not receiving.

To fix this problem, I have been right clicking the little icon, opening my network connections, disabling and  enabling my network connection, and I'm good for another 15 minutes to a day.

Sometimes however, I have some </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/1406020096945427666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2010/02/latest-windows-malfunction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1406020096945427666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1406020096945427666'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2010/02/latest-windows-malfunction.html' title='The Latest Windows Malfunction'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_agtnZ2qFAbw/S3nL1N6wllI/AAAAAAAAAhg/gr2EWJB7LaM/s72-c/failure1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-7902838283191121575</id><published>2009-12-16T23:24:00.000-08:00</published><updated>2009-12-16T23:27:22.859-08:00</updated><title type='text'>Using MSSQL to Calculate Map Distances</title><summary type='text'>This procedure will show you how to create a SQL Server function that accepts 2 map coordinates in  and calculates the surface distance between them.

First we will create the function.



SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:  Bryan Valencia
-- Create date: 12/16/2009
-- Description: takes latitude/longitude for 2 
--   </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/7902838283191121575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2009/12/using-mssql-to-calculate-map-distances.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7902838283191121575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7902838283191121575'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2009/12/using-mssql-to-calculate-map-distances.html' title='Using MSSQL to Calculate Map Distances'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_agtnZ2qFAbw/SyndT_oQmEI/AAAAAAAAAg4/E2VlrEPJAjY/s72-c/distancequery.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-7988655860859654698</id><published>2009-11-02T16:39:00.000-08:00</published><updated>2009-11-02T17:00:15.082-08:00</updated><title type='text'>Using a Legacy Windows DLL in ASP.NET</title><summary type='text'>Recently I had to use a very old DLL in an ASP.net web site.  The dll has one function (that I care about) and I went down one rabbit trail after another looking for how to get this done.  This is NOT a .NET managed dll, it's an old-style dll where there is a function that accepts various parameters and returns a horrible coded string.
Without much ado, let me show you what worked in this case.  </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/7988655860859654698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2009/11/using-legacy-windows-dll-in-aspnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7988655860859654698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7988655860859654698'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2009/11/using-legacy-windows-dll-in-aspnet.html' title='Using a Legacy Windows DLL in ASP.NET'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-7870471363662206099</id><published>2009-10-28T19:14:00.001-07:00</published><updated>2009-10-29T11:53:12.927-07:00</updated><title type='text'>Using GenericIdentity for Cross Platform Authentication in the .NET framework</title><summary type='text'>Let me say from the beginning that this should be a lot easier.
Basic Authentication

When designing a WinForms application, the most straightforward way to authenticate a user is using NTLM or Active Directory... It's built right into the OS and you don't need to deal with password dialogs and lost password questions at all - just ask Windows who the user is, like this...

using </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/7870471363662206099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2009/10/using-genericidentity-for-cross.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7870471363662206099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7870471363662206099'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2009/10/using-genericidentity-for-cross.html' title='Using GenericIdentity for Cross Platform Authentication in the .NET framework'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-8441095061694917687</id><published>2009-09-17T22:01:00.000-07:00</published><updated>2009-09-17T22:05:04.716-07:00</updated><title type='text'>Failed to access the metabase, error code is 80070422</title><summary type='text'>
Event Type: Error
Event Source: MSExchangeMU
Event Category: General 
Event ID: 1009
Date:  9/17/2009
Time:  9:51:51 PM
User:  N/A
Computer: WEB1
Description:
Failed to access the metabase, error code is 80070422 (The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.). 

For more information, click http://www.microsoft.com/</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/8441095061694917687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2009/09/failed-to-access-metabase-error-code-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8441095061694917687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8441095061694917687'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2009/09/failed-to-access-metabase-error-code-is.html' title='Failed to access the metabase, error code is 80070422'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-146108701838394534</id><published>2009-07-16T19:55:00.001-07:00</published><updated>2009-07-16T19:55:08.609-07:00</updated><title type='text'>7q89dbtmhi</title><summary type='text'>7q89dbtmhi</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/146108701838394534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2009/07/7q89dbtmhi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/146108701838394534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/146108701838394534'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2009/07/7q89dbtmhi.html' title='7q89dbtmhi'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-3920395172693653233</id><published>2009-02-23T13:05:00.000-08:00</published><updated>2009-04-26T09:07:11.350-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><title type='text'>Connection Strings, Web.Config, and the Development Environment</title><summary type='text'>Ok, admittedly it's not as enticing as Sex, Lies, and Video Tape, but this is an awesome way of helping you with ASP.NET website development.

The Problem

You create a site on your local machine(s) and get it working perfectly.  Now it comes time to publish your changes to the live website, and you run into a giant problem whenever there are any changes to your web.config file.  All your </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/3920395172693653233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2009/02/connection-strings-webconfig-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3920395172693653233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3920395172693653233'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2009/02/connection-strings-webconfig-and.html' title='Connection Strings, Web.Config, and the Development Environment'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-7366337829235735254</id><published>2009-02-12T18:56:00.000-08:00</published><updated>2009-02-12T19:00:29.087-08:00</updated><title type='text'>Server: Msg 18461, Level 16, State 1 [Microsoft][ODBC SQL Server Driver][SQL Server]Login failer for user 'x'. Reason: Server is in single user mode.</title><summary type='text'>
Just stop and start SQL Express</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/7366337829235735254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2009/02/server-msg-18461-level-16-state-1.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7366337829235735254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7366337829235735254'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2009/02/server-msg-18461-level-16-state-1.html' title='Server: Msg 18461, Level 16, State 1 [Microsoft][ODBC SQL Server Driver][SQL Server]Login failer for user &apos;x&apos;. Reason: Server is in single user mode.'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_agtnZ2qFAbw/SZTiM1_BDdI/AAAAAAAAAfc/kxIPsv60Md4/s72-c/restartSQLExpress.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-3725472059228225783</id><published>2009-02-02T09:17:00.000-08:00</published><updated>2009-02-02T13:11:58.857-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='the help never never never helps'/><title type='text'>"Server Application Unavailable"</title><summary type='text'>I got this error message while trying to set up my on line site to use a different database from the default crap-tastic AspNetSqlProvider that takes 3 minutes to boot up with each web hit.

Here's the entire (incorrect) error message as IIS sends it.

      Server Application Unavailable

      
       

        The web application you are attempting to access on this web server is currently </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/3725472059228225783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2009/02/server-application-unavailable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3725472059228225783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3725472059228225783'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2009/02/server-application-unavailable.html' title='&quot;Server Application Unavailable&quot;'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-1899682878208067020</id><published>2009-01-22T15:30:00.000-08:00</published><updated>2009-01-22T15:38:51.218-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='definitions'/><title type='text'>Oracle Retentive</title><summary type='text'>Oracle Retentive: adj. 
1. The inability to write even the most trivial software function without making it access a SQL database in general, or an Oracle database in particular.  Sundar is so Oracle retentive I bet he couldn't write "Hello, World" without a database connection. 
2. The inability to understand any database other than Oracle, say MSSQL or MySQL.  
3. The propensity to hand large </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/1899682878208067020/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2009/01/oracle-retentive.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1899682878208067020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1899682878208067020'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2009/01/oracle-retentive.html' title='Oracle Retentive'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-7074685685347175843</id><published>2009-01-15T13:40:00.000-08:00</published><updated>2009-01-15T15:47:48.682-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='printing'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>View. Print. Handheld.  Make your site work on any media.</title><summary type='text'>There is no need to manually control the rendering of your site to alter layout.  There is an easy CSS based feature that can be used to format your entire site for whatever options you need.

In this article we will see how to make the same site render automatically for screen, print, and hand held.  There are other media types that can be used, but these will be the most common for daily use.

</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/7074685685347175843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2009/01/view-print-handheld-make-your-site-work.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7074685685347175843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7074685685347175843'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2009/01/view-print-handheld-make-your-site-work.html' title='View. Print. Handheld.  Make your site work on any media.'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agtnZ2qFAbw/SW_K9ur-BtI/AAAAAAAAAe8/Qte1oHBXmIo/s72-c/dslwestscreen.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-5633054180361508383</id><published>2009-01-06T10:33:00.001-08:00</published><updated>2009-01-06T10:39:23.467-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GettingStarted'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Don't Overlook Robots.txt</title><summary type='text'>In the good old days, web spiders would crawl your sites once you registered them with a search engine.  Today, they are a lot more proactive, crawling sites when the domain names are registered.   For this reason, it is not optional during the development phase to add a robots.txt file to all projects that instructs robots not to crawl the site.

It's super easy.  Just create a text file in the </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/5633054180361508383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2009/01/dont-overlook-robotstxt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5633054180361508383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5633054180361508383'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2009/01/dont-overlook-robotstxt.html' title='Don&apos;t Overlook Robots.txt'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-3634670771921361629</id><published>2008-12-17T10:43:00.000-08:00</published><updated>2008-12-17T10:46:06.325-08:00</updated><title type='text'>Incredibly Useful Sites</title><summary type='text'>How to set up SSL by using IIS 5.0 and Certificate Server 2.0</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/3634670771921361629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/12/incredibly-useful-sites.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3634670771921361629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3634670771921361629'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/12/incredibly-useful-sites.html' title='Incredibly Useful Sites'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-7477596494673253946</id><published>2008-08-30T15:49:00.000-07:00</published><updated>2008-08-30T15:58:44.057-07:00</updated><title type='text'>Use Tables, not CSS</title><summary type='text'>The following 2 shots are of Firefox and IE, and they illustrate how designing layouts with CSS (div tags with style sheets positioned to produce a column or flow layout) DOES NOT WORK the same way in all browsers.

CSS for layout sounded like a great idea, it just didn't deliver on it's promises.  Tables do.



This is Firefox fucking up my CSS layout.



To my understanding of CSS, this is how </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/7477596494673253946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/08/use-tables-not-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7477596494673253946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7477596494673253946'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/08/use-tables-not-css.html' title='Use Tables, not CSS'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_agtnZ2qFAbw/SLnPTZI27eI/AAAAAAAAAVI/3GXw3GsPmCI/s72-c/ievsff1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-6010956685822365778</id><published>2008-08-27T18:27:00.001-07:00</published><updated>2010-08-10T13:19:07.828-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>The Comprehensive ASP.NET Development Checklist</title><summary type='text'>The point of this post is not that it is a comprehensive checklist, but rather that it will become one.  I mostly write it because I got tired of skipping the same old steps every freaking time I created a new website.  So without further ado, here is the list.

APPLICATION NAME: Will your application require it's own app name? if so, create it on your web server NOW.  This will simplify the </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/6010956685822365778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/08/comprehensive-aspnet-development.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6010956685822365778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6010956685822365778'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/08/comprehensive-aspnet-development.html' title='The Comprehensive ASP.NET Development Checklist'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-6763448518024058775</id><published>2008-08-25T09:16:00.000-07:00</published><updated>2008-08-25T09:21:13.759-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Frustration'/><title type='text'>Windows XP: Service Pack 3</title><summary type='text'>...Sucks.

Before this critical patch I would leave my computer going 24/7 for weeks without problems.  I have Carbonite and I like to let it do it's backups all night long.

But since the upgrade, I have to reboot 3 times a day AND I come in every morning to find that my Internet connection has frozen up.  I would call Microsoft to complain, but I don't have $450 to spend on a service call.

I </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/6763448518024058775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/08/windows-xp-service-pack-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6763448518024058775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6763448518024058775'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/08/windows-xp-service-pack-3.html' title='Windows XP: Service Pack 3'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-8907514683432948394</id><published>2008-06-27T09:46:00.000-07:00</published><updated>2010-04-08T14:44:17.397-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='success'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><category scheme='http://www.blogger.com/atom/ns#' term='MSSQL'/><title type='text'>Choosing Another Database for Membership and Roles</title><summary type='text'>

By default, Visual Studio Express likes to store all its membership and roles data in a local user instance provider called AspNetSqlProvider that uses a database called ASPNETDB.MDF in your APP_DATA directory in your project.  This type of database is called a user instance.
I think it would be beneficial to expose some terms here.

provider: this is an asp.net object that supplies information</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/8907514683432948394/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/06/choosing-another-database-for.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8907514683432948394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8907514683432948394'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/06/choosing-another-database-for.html' title='Choosing Another Database for Membership and Roles'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agtnZ2qFAbw/SGUdeARGc5I/AAAAAAAAAUI/6-zPBwCq5I8/s72-c/providers1.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-8484063825063530713</id><published>2008-06-17T17:04:00.000-07:00</published><updated>2008-06-20T11:42:33.874-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Frustration'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Oddities'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><category scheme='http://www.blogger.com/atom/ns#' term='MSSQL'/><title type='text'>Using A Different Database as a Membership Provider in ASP.NET</title><summary type='text'>There should be no need for me to ask this but after 2 days of ditzing around trying to make this work I am at the end of my patience.  Linux is looking better all the time.

Ok, I created a website with security and it works great on my desktop, the performance sucks (utterly) on the test webserver, and I cannot use it at all on the production server.  That's because we must use real MSSQL in </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/8484063825063530713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/06/using-different-database-as-membership.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8484063825063530713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8484063825063530713'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/06/using-different-database-as-membership.html' title='Using A Different Database as a Membership Provider in ASP.NET'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-7975621655580696684</id><published>2008-06-06T12:33:00.000-07:00</published><updated>2008-06-06T12:45:49.589-07:00</updated><title type='text'>Extreme Frustration with XML</title><summary type='text'>Ok, given the following XML...


&lt;?xml version="1.0" encoding="utf-8" ?&gt;
&lt;queries&gt;
    &lt;query name="MatchUser1"&gt;
        &lt;sql&gt;
            SELECT     st_abbr AS state, lic_number AS licensenumber, lname AS lastname, fname AS firstname, zip
            FROM         GovtRegistry
            WHERE     (st_abbr = @STATE) AND (lic_number = @LICENSE) AND (fname = @FIRSTNAME) AND (lname = @LASTNAME) AND</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/7975621655580696684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/06/extreme-frustration-with-xml.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7975621655580696684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7975621655580696684'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/06/extreme-frustration-with-xml.html' title='Extreme Frustration with XML'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-6319119653880237893</id><published>2008-06-06T10:19:00.001-07:00</published><updated>2008-06-06T10:43:39.400-07:00</updated><title type='text'></title><summary type='text'>

Azeez wrote:
Hi Bryan,
I came across your  resume and was interested in speaking to you in regards to an 
opportunity with  one of my clients. Iam interested in reviewing your resume and 
having a  conversation to see if we can potentially work together. I would appreciate
if  you can send me a word version of your most updated resume and a number to reach 
you by during the day.

Job Title:</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/6319119653880237893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/06/azeez-wrote-hi-bryan-i-came-across-your.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6319119653880237893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6319119653880237893'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/06/azeez-wrote-hi-bryan-i-came-across-your.html' title=''/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-3831309137286145003</id><published>2008-05-28T14:52:00.001-07:00</published><updated>2008-05-28T15:07:11.348-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oddities'/><title type='text'>Reconsidering Tables</title><summary type='text'>My blog layout was all CSS.  Then I made a simple change and suddenly the blog content started rendering below the sidebar for Firefox only.  I started monkeying with the stylesheet and noticed a lot of "fixes" for certain behaviors in IE or Netscape or Firefox.

That's when it hit me.  The whole "css, not tables" movement is a false religion, whose promises are nothing but a pipe-dream.  Tables </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/3831309137286145003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/05/reconsidering-tables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3831309137286145003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3831309137286145003'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/05/reconsidering-tables.html' title='Reconsidering Tables'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-6958229661737245983</id><published>2008-05-28T11:15:00.000-07:00</published><updated>2009-01-27T15:24:24.433-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MSSQL'/><title type='text'>Easy SQL to Insert the states and territories into a Lookup Table</title><summary type='text'>This has been tested in MSSQL.

truncate table states;

--STATES
INSERT INTO states (state, st) VALUES('ALABAMA','AL');
INSERT INTO states (state, st) VALUES('ALASKA','AK');
INSERT INTO states (state, st) VALUES('ARIZONA','AZ');
INSERT INTO states (state, st) VALUES('ARKANSAS','AR');
INSERT INTO states (state, st) VALUES('CALIFORNIA','CA');
INSERT INTO states (state, st) VALUES('COLORADO','CO');
</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/6958229661737245983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/05/easy-sql-to-insert-states-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6958229661737245983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6958229661737245983'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/05/easy-sql-to-insert-states-and.html' title='Easy SQL to Insert the states and territories into a Lookup Table'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-5301152892419490696</id><published>2008-05-25T15:22:00.000-07:00</published><updated>2008-05-25T16:22:11.239-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>ASP: Adding info to user profiles.</title><summary type='text'>First: this is NOT a tutorial on adding security to your website.  It's really about adding additional info to user profiles in ASP.net once you have created the profile.

It all started when I was asked to add some site-specific data to user profiles for a job.  I wanted to add a license number (and some other fields) as part of our validation process.

Here is the short version for those who </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/5301152892419490696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/05/asp-adding-info-to-user-profiles.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5301152892419490696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5301152892419490696'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/05/asp-adding-info-to-user-profiles.html' title='ASP: Adding info to user profiles.'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-6457845352846695382</id><published>2008-05-05T01:14:00.000-07:00</published><updated>2008-05-05T11:28:18.786-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='graphics'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Graphics Question</title><summary type='text'>This would be easy in Delphi, but I can't seem to get the objects I want to  do what I need.
Ok, I have a function that creates and draws a maze on a Panel in  a Winforms App.  Then I sniped some code that manages to save the image of the  panel to a bmp file.  
WHY it's any harder than panel.canvas.savetofile is just  stupid.  
BUT!   
If the panel is off the screen edge, or if it's obscured in </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/6457845352846695382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/05/graphics-question.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6457845352846695382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6457845352846695382'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/05/graphics-question.html' title='Graphics Question'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-4382217168643961280</id><published>2008-04-30T18:04:00.000-07:00</published><updated>2008-12-09T01:09:37.126-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Backup'/><title type='text'>Using Subversion with Visual Web Developer</title><summary type='text'>*Note: this method doesn't just work for Visual Web Developer, it should work for any software where source files are stored on your local drives.  This includes C#, C++, Java, VB, Delphi, C++ Builder, Flash, Poser, etc.

This tutorial will get you started using Tortoise SVN to easily back up and version your websites.  If you don't know why this is a great idea, then you've never screwed up your</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/4382217168643961280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/04/using-subversion-with-visual-web.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/4382217168643961280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/4382217168643961280'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/04/using-subversion-with-visual-web.html' title='Using Subversion with Visual Web Developer'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_agtnZ2qFAbw/SBkZ8CXzruI/AAAAAAAAASc/AuG9hVvxDAA/s72-c/svn1.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-4710048421659843336</id><published>2008-04-26T02:26:00.000-07:00</published><updated>2008-05-28T15:10:49.944-07:00</updated><title type='text'>Error: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.</title><summary type='text'>When accessing a SQL Database from an ASP.NET page, I sometimes get this error:

Error: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

... This seems to be because the SQL Server isn't spun up all the time like Oracle is.  So initially after a long pause it seems to take a lot longer to set up again.

There are 2 possibilities </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/4710048421659843336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/04/error-timeout-expired-timeout-period.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/4710048421659843336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/4710048421659843336'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/04/error-timeout-expired-timeout-period.html' title='Error: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-2854026886823394196</id><published>2008-04-15T13:33:00.000-07:00</published><updated>2008-04-15T18:40:56.712-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='MSSQL'/><title type='text'>MSSQL Update Trigger Example</title><summary type='text'>This tutorial shows how you would create a trigger in Microsoft SQL Server 2005/2008 that will date/timestamp a column named last_updated everytime any data in the row is updated.

This example assumes a primary key that includes 3 fields.


CREATE TRIGGER MyTableUpdate
ON dbo.MyTable
FOR update
AS
UPDATE
MyTable
SET last_updated = GetDate()
From MyTable Inner Join Inserted On
MyTable.KeyField1 =</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/2854026886823394196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/04/mssql-update-trigger-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2854026886823394196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2854026886823394196'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/04/mssql-update-trigger-example.html' title='MSSQL Update Trigger Example'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-7300549367024000321</id><published>2008-03-20T22:55:00.000-07:00</published><updated>2008-12-09T01:09:37.879-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Frustration'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Oddities'/><title type='text'>Missing Event Handlers</title><summary type='text'>First, has anyone other than me noticed that it takes like 2+ minutes for Visual Web Developer to fully open and come alive?  What the hell is it doing?  We'll save that for another time.

So you create an Ajax Web Form.  You want to put an even handler on Init of the form.  How?  There is no event icon in the object inspector for the document.



So you click on the Script manager and presto! </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/7300549367024000321/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/03/missing-event-handlers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7300549367024000321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7300549367024000321'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/03/missing-event-handlers.html' title='Missing Event Handlers'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_agtnZ2qFAbw/R-NPxz7g8GI/AAAAAAAAAQs/dgtceb0CS-A/s72-c/docnoevents.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-448882191301307635</id><published>2008-03-11T14:08:00.000-07:00</published><updated>2008-03-11T14:20:52.270-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Errors'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><title type='text'>IE7 Displays Blank Page: Firefox OK.</title><summary type='text'>When I try to browse to my website, which contins an ASP page, I get a blank page for IE7, yet all is well for Firefox.

View Source in Firefox gives the normal page, while IE just shows this:


&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content="text/html; 
charset=windows-1252"&gt;&lt;/HEAD&gt;
&lt;BODY&gt;&lt;/BODY&gt;&lt;/HTML&gt;


The page had some Flash </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/448882191301307635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/03/ie7-displays-blank-page-firefox-ok.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/448882191301307635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/448882191301307635'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/03/ie7-displays-blank-page-firefox-ok.html' title='IE7 Displays Blank Page: Firefox OK.'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-1579310493060758870</id><published>2008-03-06T12:04:00.000-08:00</published><updated>2008-03-06T12:11:59.444-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>ASP.NET: Uploading Files</title><summary type='text'>This is so easy.  Drop a FileUpload object onto your AJAX web page.  Drop in a button.

In the button event handler, do this:


//get the path to the UPLOADS directory in your webbserver
        string path=Server.MapPath(@"~\Uploads"); 

//create the full path+file name
        string SaveAsName=path+@"\"+FileUpload1.FileName;

        try
        {

//This is the bulk of it right here.
</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/1579310493060758870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/03/aspnet-uploading-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1579310493060758870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1579310493060758870'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/03/aspnet-uploading-files.html' title='ASP.NET: Uploading Files'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-6261718600310337125</id><published>2008-02-17T10:01:00.000-08:00</published><updated>2008-12-09T01:09:39.127-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><title type='text'>Permissions...</title><summary type='text'>This article is about setting up private, member-only areas of your website that are either for admins or clients to access.  The .net framework gives several easy ways to set this up with a minimal amount of coding.

Assuming you already have a website, and wat to add a restricted zone, do this:
First, enable permissions for your website
WebSite-&gt;ASP.NET Configuration
Browse to the security tab.</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/6261718600310337125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/02/permissions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6261718600310337125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/6261718600310337125'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/02/permissions.html' title='Permissions...'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_agtnZ2qFAbw/R7h48kDbl3I/AAAAAAAAAQU/ffb7sOqTm5I/s72-c/securitytab.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-905111889656738333</id><published>2008-02-09T13:58:00.000-08:00</published><updated>2008-02-09T14:24:01.193-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>ASP.NET How to open a URL in a pop-up window.</title><summary type='text'>Note: if you just want the browser to open a page in another browser page, look up the target parameter of the a href tag.

If you just want to pop a quick message box, look up the javascript alert function.

This article demonstrates how to pop up a new browser window on the click of a hyperlink and load whatever page you want in a controlled browser window.

In the head portion of your page , </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/905111889656738333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/02/aspnet-how-to-open-url-in-pop-up-window.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/905111889656738333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/905111889656738333'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/02/aspnet-how-to-open-url-in-pop-up-window.html' title='ASP.NET How to open a URL in a pop-up window.'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-7132612819899070436</id><published>2008-01-21T00:37:00.000-08:00</published><updated>2008-01-24T23:55:13.673-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><title type='text'>Why is EVERYTHING so Damned Hard?</title><summary type='text'>Windows 2003 SBS
ASP.NET 2008 Express
SQL Server 2005
.net framework 3.5 (not beta)
So, I wanted to add a login page to my website and offer more content to logged-in users.  I saw the login components and followed the tutorial to the letter.  It works on my desktop perfectly.  I can create logins and even the forgot my password crap works.

I publish it to my website, and try to log in.

An </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/7132612819899070436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2008/01/why-is-everything-so-damned-hard.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7132612819899070436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7132612819899070436'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2008/01/why-is-everything-so-damned-hard.html' title='Why is EVERYTHING so Damned Hard?'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-873027375847186589</id><published>2007-12-10T09:38:00.000-08:00</published><updated>2008-12-09T01:09:41.789-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GettingStarted'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>Create a Database App: make a database</title><summary type='text'>































</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/873027375847186589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/12/create-database-app-make-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/873027375847186589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/873027375847186589'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/12/create-database-app-make-database.html' title='Create a Database App: make a database'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agtnZ2qFAbw/R116J6Rf_EI/AAAAAAAAANo/KKqh2KD-rUc/s72-c/Database1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-5140855149397157461</id><published>2007-11-21T11:07:00.000-08:00</published><updated>2008-12-09T01:09:42.496-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio Express 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='GettingStarted'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Creating a new Class</title><summary type='text'>Create a new winforms project, then right-click the project and do this:

Create a new Class object


Add this code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClassDemo
{
    class newClass
    {
        public string sharedString = "This can be read and written by anyone.";
        private string myString = "Only visible in newClass.";


</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/5140855149397157461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/11/creating-new-class.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5140855149397157461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5140855149397157461'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/11/creating-new-class.html' title='Creating a new Class'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_agtnZ2qFAbw/R0SC-ASiMAI/AAAAAAAAANA/60TddTk29yY/s72-c/newitem.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-2379855172225861883</id><published>2007-11-20T13:01:00.000-08:00</published><updated>2008-12-09T01:09:43.100-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio Express 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='GettingStarted'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Day 5: Arrays</title><summary type='text'>The website of the day is here.

And here is the example code...




using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Collections;

namespace Arrays
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/2379855172225861883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/11/day-5-arrays.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2379855172225861883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2379855172225861883'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/11/day-5-arrays.html' title='Day 5: Arrays'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agtnZ2qFAbw/R0NOfgSiL_I/AAAAAAAAAM4/1Qvsq52yLUs/s72-c/arrays1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-3427533564458861903</id><published>2007-11-19T12:07:00.001-08:00</published><updated>2008-12-09T01:09:43.364-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GettingStarted'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Day 4: launch an outside App</title><summary type='text'>This is a little less formal than previous posts, but here goes.
First, create a form with a button, a RichText, and a PictureBox.



Here is the source code I wrote to accomplish this.  I am a big believer in examples.  They tell the story in a far more eloquent way than my witty expose'.



using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/3427533564458861903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/11/day-4-launch-outside-app.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3427533564458861903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/3427533564458861903'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/11/day-4-launch-outside-app.html' title='Day 4: launch an outside App'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agtnZ2qFAbw/R0HuUASiL8I/AAAAAAAAAMk/gQGym1Pxylc/s72-c/povform1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-506044409629594632</id><published>2007-11-15T10:05:00.000-08:00</published><updated>2008-12-09T01:09:44.423-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio Express 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='GettingStarted'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Day 3: WinForms App</title><summary type='text'>Less prose! More examples!

Start C#  File - New Project.

Windows Forms Application.

This is what you should see.


Look in the toolbox for a class object called a button and another called a textbox.  Do something like this:



Rightclick the textbox.
Select properties.

Look now at the properties box. 



Ok now a few things to note.  Look at the speed buttons just below the word "textbox1".</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/506044409629594632/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/11/day-3-winforms-app.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/506044409629594632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/506044409629594632'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/11/day-3-winforms-app.html' title='Day 3: WinForms App'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_agtnZ2qFAbw/RzyL6wSiL0I/AAAAAAAAALk/qjgXUyOBva0/s72-c/winform1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-1871707725214753298</id><published>2007-11-13T13:31:00.000-08:00</published><updated>2008-12-09T01:09:45.598-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio Express 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='GettingStarted'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><title type='text'>Day 2</title><summary type='text'>housekeeping
Here are the books and websites I use most when the answers are not coming to me.

C# for Programmers (2nd Edition) (Deitel Developer Series)

Pop open Microsoft Visual C# 2008 Express Edition - I suggest you pin it to your start menu.

Notice the area in the center, called the Start Page.

Now look closer at the "Getting Started" section.

There are actually some good resources </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/1871707725214753298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/11/day-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1871707725214753298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1871707725214753298'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/11/day-2.html' title='Day 2'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agtnZ2qFAbw/RzoZ0DFhfWI/AAAAAAAAAKA/w-Y0qPuhIIs/s72-c/vcs1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-2299058163819719599</id><published>2007-11-12T10:22:00.000-08:00</published><updated>2008-12-09T01:09:45.726-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio Express 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='GettingStarted'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><title type='text'>Getting Started with Visual Studio Part 1</title><summary type='text'>This is intended to be a quick start tutorial so make sure to read them all in order.  Use the GettingStarted Label on the web page to find all the articles in this series.  This is the result of what happened to us last week.  We had been promised a class in C#.NET to accommodate an upgrade project, but instead, most of us got laid off.  Since I had been to the pre-training training, I attempt </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/2299058163819719599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/11/getting-started-with-visual-studio-part.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2299058163819719599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2299058163819719599'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/11/getting-started-with-visual-studio-part.html' title='Getting Started with Visual Studio Part 1'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_agtnZ2qFAbw/RzjTmTFhfVI/AAAAAAAAAJ4/sMvkUJFYno8/s72-c/express1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-7033787035733301769</id><published>2007-11-01T17:55:00.001-07:00</published><updated>2007-11-14T08:38:43.098-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='the help never never never helps'/><category scheme='http://www.blogger.com/atom/ns#' term='Meltdown'/><title type='text'>OracleGetClob Woes</title><summary type='text'>Must... type... this... before... head... explodes!
Ok, I have constructed a query and I'm fetching data from the database, including an Oracle Clob column.

The regular columns work great and look like this:

description = reader.GetValue(5).ToString();

bot for some inane reason, 

description = reader.GetValue(6).ToString();

...when run against a clob field will not work if your life depends </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/7033787035733301769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/11/oraclegetclob-woes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7033787035733301769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7033787035733301769'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/11/oraclegetclob-woes.html' title='OracleGetClob Woes'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-2693655759682846804</id><published>2007-10-31T16:49:00.000-07:00</published><updated>2007-11-01T18:04:47.219-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Backup'/><title type='text'>Online Backup Solutions</title><summary type='text'>


  product
  cost
  review

  Carbonite
  free for 15 days, $49.95 a year (per PC), unlimited storage
  Installs in a flash and works in the background.  The install is very easy and the popups afterward tell you exactly what to expect.

  iBackup
  free trial (how long?)$99.50 a year 5GB

  intronis
  30 day trial, $9.95 a month ($119.40 a year) for 1GB

  xdrive
  5GB Free, 50GB for $9.95 a </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/2693655759682846804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/10/online-backup-solutions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2693655759682846804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2693655759682846804'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/10/online-backup-solutions.html' title='Online Backup Solutions'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-1418879196271049518</id><published>2007-10-15T11:52:00.000-07:00</published><updated>2007-10-15T14:11:01.736-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Frustration'/><title type='text'>How to horitontally center a div in CSS</title><summary type='text'>This is so easy, I spit coffee through my nose.

&lt;center&gt;
&lt;div&gt;
The stuff inside the centered div goes here
&lt;/div&gt;
&lt;/center&gt;

And here's what it looks like:


This is a centered div


And here's what the html looks like:



&lt;center&gt;
&lt;div style="text-align:left; background-color:Yellow; width:25%; border-color:#000000; border-width:2px; border-style:Double;"&gt;
This is a centered div
&lt;/div&gt;
&lt;/center</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/1418879196271049518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/10/how-to-horitontally-center-div-in-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1418879196271049518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1418879196271049518'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/10/how-to-horitontally-center-div-in-css.html' title='How to horitontally center a div in CSS'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-9106201232540394781</id><published>2007-10-08T15:40:00.000-07:00</published><updated>2008-12-09T01:09:47.406-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='graphics'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><title type='text'>Using GIMP to slice an image (in 45 seconds).</title><summary type='text'>open gimp
create a background
(file-new-200x200-ok)
Create a sliceable backdrop
This part is subject to your creativity...






Ok now...
In this example we will slice the graphic into 3 horizontal stripes so we can use them for a menu.  The same principles can be applied to slice the graphic into vertical stripes or even into a tic-tac-toe pattern for making table-based web pages.

</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/9106201232540394781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/10/using-gimp-to-slice-image-in-45-seconds.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/9106201232540394781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/9106201232540394781'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/10/using-gimp-to-slice-image-in-45-seconds.html' title='Using GIMP to slice an image (in 45 seconds).'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_agtnZ2qFAbw/RwqzGD_qDmI/AAAAAAAAAHw/kpJD457O7D8/s72-c/gimp-gradient.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-4806096267368918681</id><published>2007-09-23T18:42:00.000-07:00</published><updated>2008-12-09T01:09:48.376-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='the help never never never helps'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio Express 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Frustration'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Meltdown'/><title type='text'>Microsoft!  Please let the pain come to an end!</title><summary type='text'>I have a website that sells a peice of software. My client wants to keep 90 seperate little pages, one for each little "feature" of the program. This is the perfect application for using a "web template", and store all these features into a database.

So, Lets set up the database first.



Piece of cake, right? so now, I need to get 90 of these pop-up windows into the datafields...



So I design</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/4806096267368918681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/09/microsoft-please-let-pain-come-to-end.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/4806096267368918681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/4806096267368918681'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/09/microsoft-please-let-pain-come-to-end.html' title='Microsoft!  Please let the pain come to an end!'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agtnZ2qFAbw/RvcW-j_qDaI/AAAAAAAAAGQ/-VmAy7WwchQ/s72-c/database1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-5949898120066142546</id><published>2007-09-20T17:48:00.001-07:00</published><updated>2008-12-09T01:09:48.515-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio Express 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Oracle Options Missing from Visual Studio 2008 Express</title><summary type='text'>
Can someone please explain to me why the Oracle database connections are missing from the Visual Studio 2008 Express editions?  Is this another iteration of "DOS ain't done till Lotus won't run?"
Or do I need to cough up blood to get Oracle fully supported in my development environment?

The rumor mill has it that the Oracle options are not included in the Express edition.  I found this on </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/5949898120066142546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/09/oracle-options-missing-from-visual.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5949898120066142546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5949898120066142546'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/09/oracle-options-missing-from-visual.html' title='Oracle Options Missing from Visual Studio 2008 Express'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_agtnZ2qFAbw/RvMVOz_qDZI/AAAAAAAAAGI/_m0bTzKlGcc/s72-c/noO.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-4968379507741066985</id><published>2007-09-18T12:04:00.000-07:00</published><updated>2007-09-18T12:17:11.194-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Oddities'/><title type='text'>Too Much</title><summary type='text'>is anyone other than me tired of typing stuff like 


System.Web.Lunch.Sandwich.Ham.Swiss.Rye myFood = new System.Web.Lunch.Sandwich.Ham.Swiss.Rye();


or 


using Women;
girlFriend GirlFriend = new girlFriend();



Is it just me or is that way too much?  No, really, I think we need the object type in there more times, just so the compiler really knows what's going on.


girlFriend GirlFriend = </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/4968379507741066985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/09/is-anyone-other-than-me-tired-of-typing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/4968379507741066985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/4968379507741066985'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/09/is-anyone-other-than-me-tired-of-typing.html' title='Too Much'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-2572428034062794401</id><published>2007-09-18T12:00:00.000-07:00</published><updated>2007-09-18T12:27:20.893-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='the help never never never helps'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>AAAAAAAH!</title><summary type='text'>I found this great site that *almost* seemed to discuss what I want...

http://quickstarts.asp.net/QuickStartv20/aspnet/doc/pages/pages.aspx#serverctrls

But don't bother going there unless you want to do everything in Visual BASIC!

God Damn, Microsoft!</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/2572428034062794401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/09/aaaaaaah.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2572428034062794401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2572428034062794401'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/09/aaaaaaah.html' title='AAAAAAAH!'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-9066188586526536923</id><published>2007-09-17T15:57:00.000-07:00</published><updated>2007-09-17T16:03:55.802-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='the help never never never helps'/><category scheme='http://www.blogger.com/atom/ns#' term='Errors'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Oddities'/><title type='text'>Microsoft, your Help is Crap!</title><summary type='text'>Ok, I want to use asp.net to build a simple email form that send me an email whenever someone wants to contact me from my website.

I figured that after all the easy-login stuff on the toolbar, there would be some kind of ready-made gizmo.

There isn't

Furthermore, when you use the trusty F1, and type asp email form tutorial or simple form tutorial, you get nothing but totally irrelevant crap </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/9066188586526536923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/09/microsoft-your-help-is-crap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/9066188586526536923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/9066188586526536923'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/09/microsoft-your-help-is-crap.html' title='Microsoft, your Help is Crap!'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-4469270414947306349</id><published>2007-08-30T21:49:00.000-07:00</published><updated>2007-08-30T21:54:28.989-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Errors'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Oddities'/><title type='text'>ASP.NET 2008 Beta: '"SqlDataSource1";' could not be found.</title><summary type='text'>When you get this error in Visual Web Developer 2008 Beta:

The DataSourceID of 'GridView1' must be the ID of a control of type IDataSource.  A control with ID '"SqlDataSource1";' could not be found. 

do this:

Find the Code that looks like this:

 &lt;asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        BackColor="White" BorderColor="#999999" BorderStyle="None" </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/4469270414947306349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/aspnet-2008-beta-sqldatasource1-could.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/4469270414947306349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/4469270414947306349'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/aspnet-2008-beta-sqldatasource1-could.html' title='ASP.NET 2008 Beta: &apos;&quot;SqlDataSource1&quot;;&apos; could not be found.'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-1389908276809307424</id><published>2007-08-16T11:46:00.000-07:00</published><updated>2008-12-09T01:09:48.762-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='the help never never never helps'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Oddities'/><title type='text'>Irrelevant Crap!</title><summary type='text'>Thank you for participating in our beta test.  Please tell us how we can improve Visual Studio for you

STOP INCLUDING IRRELEVANT CRAP IN THE HELP SEARCH RESULTS



Update!
Let's add THIS to the list of irritations while we're here!

</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/1389908276809307424/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/irrelevant-crap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1389908276809307424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1389908276809307424'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/irrelevant-crap.html' title='Irrelevant Crap!'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_agtnZ2qFAbw/RsScDUXJvfI/AAAAAAAAADI/pj3RTtM8iS0/s72-c/Irrelevant.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-2909614930729785324</id><published>2007-08-16T10:53:00.000-07:00</published><updated>2008-12-09T01:09:48.873-08:00</updated><title type='text'>Config Files: a primer</title><summary type='text'>to use a config file in your project, first right-click the project name and Add a New Item:


pick Application Configuration File and give it a name:
</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/2909614930729785324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/config-files-primer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2909614930729785324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2909614930729785324'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/config-files-primer.html' title='Config Files: a primer'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_agtnZ2qFAbw/RsSPv0XJvdI/AAAAAAAAAC4/qDaBf-gony8/s72-c/vsAddNewItem.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-580133135236323090</id><published>2007-08-15T14:47:00.000-07:00</published><updated>2007-08-15T14:52:59.158-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='printing'/><title type='text'>Adding a printer</title><summary type='text'>How to programmatically add a printer.
This will show how to add a printer to the current Windows workstation's Printers and faxes page.  This will effectively render the printer usable by the workstation.  

Here's the code example.


...
using System.Runtime.InteropServices;

namespace WindowsApplication1
{
    public partial class Form1 : Form
    {
        [DllImport("winspool.drv", </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/580133135236323090/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/adding-printer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/580133135236323090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/580133135236323090'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/adding-printer.html' title='Adding a printer'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-8971734881664268238</id><published>2007-08-15T13:22:00.000-07:00</published><updated>2008-12-09T01:09:49.304-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Splitting Strings without Regex</title><summary type='text'>I have this string that I want to parse the server name out of.  It looks like \\server-name\printer-name\.  This turns out to be a piece of cake in C#, even without Regular Expressions.  Here's the code.


 private void button1_Click(object sender, EventArgs e)
  {
      string[] parsed;
      parsed = textBox1.Text.Split(textBox2.Text[0]);
      listBox1.Items.Clear();
      if (parsed.Length =</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/8971734881664268238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/splitting-strings-without-regex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8971734881664268238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/8971734881664268238'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/splitting-strings-without-regex.html' title='Splitting Strings without Regex'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agtnZ2qFAbw/RsNlLFaoatI/AAAAAAAAACg/lPhY0g33LpE/s72-c/split1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-1975695171377453397</id><published>2007-08-12T16:59:00.000-07:00</published><updated>2008-12-09T01:09:49.387-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='arrays'/><title type='text'>Creating and Using Arrays in C#</title><summary type='text'>Most of my history is with Borland/Inprise/Borland/CodeGear Delphi, so what I am trying to demonstrate is how to take a construct like these:


var
  States: array[0..49] of String[2];
  Counties: StringList;
begin
  Counties:=TStringlist.Create;


In this demo, States is an array of 50 string[2] variables indexed from 0.  Counties is a re-sizable list of strings.  A fixed array is a data type, </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/1975695171377453397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/creating-and-using-arrays-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1975695171377453397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1975695171377453397'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/creating-and-using-arrays-in-c.html' title='Creating and Using Arrays in C#'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agtnZ2qFAbw/Rr-omFaoasI/AAAAAAAAACY/oThpVXww76k/s72-c/CSharpArrays1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-5321175464973130851</id><published>2007-08-06T12:03:00.000-07:00</published><updated>2007-08-06T12:08:50.683-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='success'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><title type='text'>Embedding CSharp output into a web page.</title><summary type='text'>Ok, so I wanted to make a gallery page that reads every JPG in my /gallery path, and presents them in a page.  So I tried to put a "placeholder" object, and fill it with stuff on C# code on Page_Load.

No Dice.

I tried a bunch of other things, but the only thing that worked was to use a Label component, and in the C#, set Label1.text to include all the HTML I wanted to embed in the page.  The </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/5321175464973130851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/embedding-csharp-output-into-web-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5321175464973130851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5321175464973130851'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/embedding-csharp-output-into-web-page.html' title='Embedding CSharp output into a web page.'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-1003088869632042804</id><published>2007-08-06T07:59:00.000-07:00</published><updated>2008-12-09T01:09:49.688-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='graphics'/><category scheme='http://www.blogger.com/atom/ns#' term='Oddities'/><title type='text'>Another First (or last) from Microsoft!</title><summary type='text'>Apparently Internet Explorer is the only browser in existence that still does not support transparent png graphics!

Check this out from my test website over the weekend!







According to the wikipedia, I can solve this by reducing the png from 24 bit to indexed, effectively using it just like a gif.</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/1003088869632042804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/another-first-or-last-from-microsoft.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1003088869632042804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1003088869632042804'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/another-first-or-last-from-microsoft.html' title='Another First (or last) from Microsoft!'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_agtnZ2qFAbw/Rrc4I1aoaqI/AAAAAAAAACI/RW-5xnK5w0c/s72-c/FireFoxpng.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-4860596542744760747</id><published>2007-08-04T01:43:00.002-07:00</published><updated>2007-08-04T01:56:02.058-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Victory'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><title type='text'>Error:  Unrecognized attribute 'xmlns'. Note that attribute names are case sensitive</title><summary type='text'>Visual Web Developer 2008

After publishing a newly created website to an existing server (after updating the .NET framework).  I browse to the website from my workstation and get:
Error:  Unrecognized attribute 'xmlns'. Note that attribute names are case sensitive

...in this file:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\web.config


Here is what to do.
Edit the web.config file (get</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/4860596542744760747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/error-unrecognized-attribute-xmlns-note.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/4860596542744760747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/4860596542744760747'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/error-unrecognized-attribute-xmlns-note.html' title='Error:  Unrecognized attribute &apos;xmlns&apos;. Note that attribute names are case sensitive'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-2566398897609100455</id><published>2007-08-03T16:49:00.000-07:00</published><updated>2008-12-09T01:09:50.087-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='the help never never never helps'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><title type='text'>Ok, What am I doing wrong here...</title><summary type='text'>My web page looks like this in my local machine:



So I "publish" it. to the webserver, which is 4 feet to the right. 



Ok, let's go to the live website and compare to the test website...



Ok, Parser Error Message: Child nodes not allowed.  What does that mean?  Apparently there is an error in my web.config file, which I never touched...  It was generated automatically from Visual Web </summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/2566398897609100455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/ok-what-am-i-doing-wrong-here.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2566398897609100455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/2566398897609100455'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/ok-what-am-i-doing-wrong-here.html' title='Ok, What am I doing wrong here...'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_agtnZ2qFAbw/RrO_s1aoalI/AAAAAAAAABg/hEh8g3LKQBU/s72-c/afi-local.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-788119134631447565</id><published>2007-08-03T09:30:00.000-07:00</published><updated>2008-12-09T01:09:50.229-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Web Developer 2008'/><title type='text'>Visual Web Developer 2008: First Look</title><summary type='text'>Last night after hours of downloading, I got the VWD 2008 beta!  Cool.  It is a little easier to use than 2005 and they have kept the ability to design great websites that will not deploy to your webserver.



I would show you a screen snap of the beautiful site I designed, but this is what I got when I tried to load my project this morning.



---------------------------
Microsoft Visual C# 2008</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/788119134631447565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/visual-web-developer-2008-first-look.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/788119134631447565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/788119134631447565'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/visual-web-developer-2008-first-look.html' title='Visual Web Developer 2008: First Look'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_agtnZ2qFAbw/RrNblFaoakI/AAAAAAAAABY/PPdbCJoEc0A/s72-c/afibroke.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-1251538281952652301</id><published>2007-08-01T17:39:00.001-07:00</published><updated>2007-08-02T15:36:00.040-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oddities'/><title type='text'>Downloading VS 2008</title><summary type='text'>I downloaded VS 2008 today.  It took about 3 minutes to download, then then just sat there for about 25 minutes installing.  How could it take that much time, now that it was all on the local disk drive?

Weird.



Furthering the weirdness, I am trying to remotely install the same thing on my dev machine from work, and every 10 seconds Norton pops up asking if the install can access the internet.</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/1251538281952652301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/downloading-vs-2008.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1251538281952652301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1251538281952652301'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/08/downloading-vs-2008.html' title='Downloading VS 2008'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-7336403340572824801</id><published>2007-07-31T15:19:00.000-07:00</published><updated>2007-07-31T15:21:17.098-07:00</updated><title type='text'>Ch-ch-ch-chaaanges....</title><summary type='text'>I renamed the blog from csharp journey to Visual Studio Journey because I also want to document my painful conversion to ASP.net as well as C#.</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/7336403340572824801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/07/ch-ch-ch-chaaanges.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7336403340572824801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/7336403340572824801'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/07/ch-ch-ch-chaaanges.html' title='Ch-ch-ch-chaaanges....'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-1364492236514344193</id><published>2007-06-24T12:38:00.000-07:00</published><updated>2008-12-09T01:09:50.664-08:00</updated><title type='text'>Class</title><summary type='text'>My company sent me to C# class last week.  Hooray!  I know that it will take a lot of trial and error to get it to work in my real-life projects, but I feel like I have a good grasp on the subject now.

The class was Microsoft's 2124C, which focuses on C# language fundamentals.  

Damn Microsoft!
So I came home and started out fast... I created a C# class that reads a file and gives back a string</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/1364492236514344193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/06/class.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1364492236514344193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/1364492236514344193'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/06/class.html' title='Class'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_agtnZ2qFAbw/Rn7TMR1NvfI/AAAAAAAAAAM/jgEVu_r_Ngg/s72-c/ServerApplicationUnavailable.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7312242615938445755.post-5198870283870052499</id><published>2007-04-25T16:28:00.000-07:00</published><updated>2007-04-25T16:35:15.712-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='graphics'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><title type='text'>some great examples</title><summary type='text'>Graphics:

2D Graphics
XML</summary><link rel='replies' type='application/atom+xml' href='http://vstudiojourney.blogspot.com/feeds/5198870283870052499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://vstudiojourney.blogspot.com/2007/04/some-great-examples.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5198870283870052499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7312242615938445755/posts/default/5198870283870052499'/><link rel='alternate' type='text/html' href='http://vstudiojourney.blogspot.com/2007/04/some-great-examples.html' title='some great examples'/><author><name>Some Yahoo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
