<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Wes' Puzzling Blog - All Comments</title><link>http://weblogs.asp.net/whaggard/default.aspx</link><description>... trying to solve the puzzles of .NET</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Debug Build: 20510.895)</generator><item><title>re: Standard Windows Password Character</title><link>http://weblogs.asp.net/whaggard/archive/2004/09/04/225691.aspx#6600420</link><pubDate>Thu, 04 Sep 2008 20:54:52 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6600420</guid><dc:creator>Wil Peck</dc:creator><description>&lt;p&gt;What about using the TextBox.UseSystemPasswordChar property?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6600420" width="1" height="1"&gt;</description></item><item><title>???????????????30??????????????????[???]</title><link>http://weblogs.asp.net/whaggard/archive/2005/02/20/377025.aspx#6576883</link><pubDate>Fri, 29 Aug 2008 20:16:44 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6576883</guid><dc:creator>???????????????30??????????????????[???]</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;???????????????30??????????????????[???]&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6576883" width="1" height="1"&gt;</description></item><item><title>re: Should I buy a Toyota Prius?</title><link>http://weblogs.asp.net/whaggard/archive/2005/05/03/405480.aspx#6572902</link><pubDate>Thu, 28 Aug 2008 01:03:08 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6572902</guid><dc:creator>liz foster</dc:creator><description>&lt;p&gt;I just bought one Monday... 2008 package 3...&lt;/p&gt;
&lt;p&gt;I love it so far...&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve gone 115 miles and its still says I have&lt;/p&gt;
&lt;p&gt;a completely full tank.&lt;/p&gt;
&lt;p&gt;How can that be?????&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6572902" width="1" height="1"&gt;</description></item><item><title>re: Ways to shutdown/restart your computer via Remote Desktop.</title><link>http://weblogs.asp.net/whaggard/archive/2006/10/21/Ways-to-shutdown_2F00_restart-your-computer-via-Remote-Desktop_2E00_.aspx#6571448</link><pubDate>Wed, 27 Aug 2008 13:04:40 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6571448</guid><dc:creator>Todd</dc:creator><description>&lt;p&gt;KillerLaban -&lt;/p&gt;
&lt;p&gt;Let me preface this with the fact that I have NOT tested this. I would imagine you would be able to take the above script and tweak it a bit with the addition of option 4 (:lan) below:&lt;/p&gt;
&lt;p&gt;:START&lt;/p&gt;
&lt;p&gt;cls&lt;/p&gt;
&lt;p&gt;@echo off&lt;/p&gt;
&lt;p&gt;echo.&lt;/p&gt;
&lt;p&gt;echo Remote Desktop Client - shutdown or restart&lt;/p&gt;
&lt;p&gt;echo.&lt;/p&gt;
&lt;p&gt;echo When you use Remote Desktop you do not have&lt;/p&gt;
&lt;p&gt;echo the usual restart/shutdown choices.&lt;/p&gt;
&lt;p&gt;echo This will RESTART or SHUTDOWN the remote client&lt;/p&gt;
&lt;p&gt;echo according to your choice.&lt;/p&gt;
&lt;p&gt;echo.&lt;/p&gt;
&lt;p&gt;echo 1. Restart&lt;/p&gt;
&lt;p&gt;echo 2. Shutdown&lt;/p&gt;
&lt;p&gt;echo 3. Abort&lt;/p&gt;
&lt;p&gt;echo 4. Shutdown LAN computer&lt;/p&gt;
&lt;p&gt;echo.&lt;/p&gt;
&lt;p&gt;set /p userinp= Choose a number(1-4):&lt;/p&gt;
&lt;p&gt;set userinp=%userinp:~0,1%&lt;/p&gt;
&lt;p&gt;if &amp;quot;%userinp%&amp;quot;==&amp;quot;1&amp;quot; goto restart&lt;/p&gt;
&lt;p&gt;if &amp;quot;%userinp%&amp;quot;==&amp;quot;2&amp;quot; goto shutdown&lt;/p&gt;
&lt;p&gt;if &amp;quot;%userinp%&amp;quot;==&amp;quot;3&amp;quot; goto end&lt;/p&gt;
&lt;p&gt;if &amp;quot;%userinp%&amp;quot;==&amp;quot;4&amp;quot; goto lan&lt;/p&gt;
&lt;p&gt;echo invalid choice&lt;/p&gt;
&lt;p&gt;goto start&lt;/p&gt;
&lt;p&gt;:restart&lt;/p&gt;
&lt;p&gt;Echo Program: Please wait....&lt;/p&gt;
&lt;p&gt;shutdown -r -t 01&lt;/p&gt;
&lt;p&gt;goto end&lt;/p&gt;
&lt;p&gt;:shutdown&lt;/p&gt;
&lt;p&gt;shutdown -s -t 01&lt;/p&gt;
&lt;p&gt;goto end&lt;/p&gt;
&lt;p&gt;:lan&lt;/p&gt;
&lt;p&gt;echo.&lt;/p&gt;
&lt;p&gt;set /p computerName=&amp;quot;Enter computer name: &amp;quot;&lt;/p&gt;
&lt;p&gt;shutdown -m \\&amp;quot;%computerName%&amp;quot;&lt;/p&gt;
&lt;p&gt;goto end&lt;/p&gt;
&lt;p&gt;:end&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6571448" width="1" height="1"&gt;</description></item><item><title>re: Official way to restart explorer</title><link>http://weblogs.asp.net/whaggard/archive/2003/03/12/3729.aspx#6553414</link><pubDate>Fri, 22 Aug 2008 21:30:02 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6553414</guid><dc:creator>Keith Brockmiller</dc:creator><description>&lt;p&gt;Dave did you find a fix? My explorer.exe is toggling on and off about every 10 seconds&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6553414" width="1" height="1"&gt;</description></item><item><title>re: Reflector 5 Released</title><link>http://weblogs.asp.net/whaggard/archive/2007/02/21/reflector-5-released.aspx#6542756</link><pubDate>Wed, 20 Aug 2008 15:34:53 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6542756</guid><dc:creator>Kris Krause</dc:creator><description>&lt;p&gt;Yes, Reflector is an excellent tool to add to your Visual Studio 2008 External Tools menu.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6542756" width="1" height="1"&gt;</description></item><item><title>re: C++ static variables</title><link>http://weblogs.asp.net/whaggard/archive/2004/11/05/252685.aspx#6542045</link><pubDate>Wed, 20 Aug 2008 11:15:21 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6542045</guid><dc:creator>VR</dc:creator><description>&lt;p&gt;I am using static variables in c++ code and have a linking to be done as the code is developed as a library.When linking I get the error as undefined reference to these variables.&lt;/p&gt;
&lt;p&gt;.h&lt;/p&gt;
&lt;p&gt;MyClass&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp;static int var;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;.cc&lt;/p&gt;
&lt;p&gt;MyClass::var = 0;//initializing.&lt;/p&gt;
&lt;p&gt;MyClass::Add_Entry()&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp;if(var == 0)&lt;/p&gt;
&lt;p&gt; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; //get no: of entries(int)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; var = var + entries;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp;else&lt;/p&gt;
&lt;p&gt; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;for(var =0;var &amp;lt; MAX_ENTRIES;var ++)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; //do something&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;This code compiles fine with the above definition in the .cc file.However it shows error in linking with the error :Undefined Reference to var.&lt;/p&gt;
&lt;p&gt;Can anyone help me here?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6542045" width="1" height="1"&gt;</description></item><item><title>Open with UE Studio - Context Menu option for all files at My Galagzee!</title><link>http://weblogs.asp.net/whaggard/archive/2005/04/11/399905.aspx#6535925</link><pubDate>Mon, 18 Aug 2008 23:08:26 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6535925</guid><dc:creator>Open with UE Studio - Context Menu option for all files at My Galagzee!</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Open with UE Studio - Context Menu option for all files at My Galagzee!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6535925" width="1" height="1"&gt;</description></item><item><title>re: Ways to shutdown/restart your computer via Remote Desktop.</title><link>http://weblogs.asp.net/whaggard/archive/2006/10/21/Ways-to-shutdown_2F00_restart-your-computer-via-Remote-Desktop_2E00_.aspx#6535644</link><pubDate>Mon, 18 Aug 2008 20:25:29 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6535644</guid><dc:creator>KillerLaban</dc:creator><description>&lt;p&gt;Hi, StrAngel!&lt;/p&gt;
&lt;p&gt;Thanks for the script. But I got one question. How can I run this from one computer, but it will restart another??&lt;/p&gt;
&lt;p&gt;Ex. I&amp;#39;m using one computer (Home) and want to reboot or shutdown another (Backup) using that script you created with some modifications.&lt;/p&gt;
&lt;p&gt;Please help :-)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6535644" width="1" height="1"&gt;</description></item><item><title>re: C++ static variables</title><link>http://weblogs.asp.net/whaggard/archive/2004/11/05/252685.aspx#6535518</link><pubDate>Mon, 18 Aug 2008 19:09:53 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6535518</guid><dc:creator>Juice</dc:creator><description>&lt;p&gt;Yeah..in Java this is a common practice to have static member variables. &amp;nbsp;I was totally confused today when trying to brush up on some C++ programming and getting this error! hehehe...&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6535518" width="1" height="1"&gt;</description></item></channel></rss>