Leuck Blog

A compilation of Windows topics and other stuff

Zune would not sync

clock June 20, 2009 20:40 by author Paul

My Zune would not sync, but the battery would charge. I checked the USB driver for the Zune (listed as Zune in device properties) and it was corrupted. I uninstalled the device driver then plugged in the Zune. The driver reinstallled and the Zune works properly.

Right click on My Computer (or Computer in Vista)>Properties>Click on device manager>find Zune and see if there is a yellow exclamation point. If the exclamation point is there, the driver is not working correctly.

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Vickie Mullins book series

clock May 10, 2009 19:28 by author Paul
Check out Vickie Mullins book series. A great way to record your thoughts for your children and give a lasting keepsake.
Vickie's website

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Navigate between screens (forms) in Visual Basic

clock May 9, 2009 16:22 by author Paul

To navigate or go between screens using Visual Basic simply use formName.Show()
Replace fromName with the name of your form. This will open the form specified.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


SQL Date Format Types

clock April 23, 2009 11:07 by author Paul
SQL provides a number of different date formatting options. Use getdate() to get the date
then convert to a string and format as desired.

Number:  SQL Query:                                          Sample: 
1             select convert(varchar, getdate(), 1)      12/28/09 
2             select convert(varchar, getdate(), 2)      09.12.28 
3             select convert(varchar, getdate(), 3)      28/12/09 
4             select convert(varchar, getdate(), 4)      28.12.09 
5             select convert(varchar, getdate(), 5)      28-12-09 
6             select convert(varchar, getdate(), 6)      28 Dec 09 
7             select convert(varchar, getdate(), 7)      Dec 28, 09 
10           select convert(varchar, getdate(), 10)    12-28-09 
11           select convert(varchar, getdate(), 11)    09/12/28 
101         select convert(varchar, getdate(), 101)   12/28/2009 
102         select convert(varchar, getdate(), 102)   2009.12.28 
103         select convert(varchar, getdate(), 103)   28/12/2009  
105         select convert(varchar, getdate(), 105)   28-12-2009 
107         select convert(varchar, getdate(), 107)   Dec 28, 2009 
110         select convert(varchar, getdate(), 110)   12-28-2009 
111         select convert(varchar, getdate(), 111)   2009/12/28
Other variations are also available.

Keep in mind you need to do any calculations before you convert to string.

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Visual Studio Shortcuts and time savers

clock December 7, 2008 18:36 by author Paul

Microsoft Visual studio shortcuts
Box select code in Visual studio code view allows you to select things with a box, such as vertically. Use alt and the mouse to select items.
Ctrl-shift-V – cycles through past info on clipboard in VS
Insert Snippets into VS code with tab and then tab combination

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


To delete the "website entries" from Microsoft Expression Web and Vista

clock November 2, 2008 20:42 by author Paul

I accidently created a website while using Expression Web. Every time I opened a file within this "site" the program wanted to open everything. Found the fix.
See this note: http://social.expression.microsoft.com/Forums/en-US/web/thread/ff7d7d2e-5962-4684-9b32-2f863c046525

For Vista - Delete everything in %UserProfile%\AppData\Local\Microsoft\WebsiteCache

Instructions for XP are also on the forum post.

 

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


.NET Training

clock August 25, 2008 12:02 by author Paul
I have been using the .NET training videos from http://www.learnvisualstudio.net/ and overall they're good. However, I find the content becoming outdated in many cases. Many videos were made a few years ago, by the looks of them. I also find that there does not seem to be a good path to follow from beginning programming to expert. A problem I have with all providers I've used, not just learnvisualstudio.net, is they label the files some obscure name instead of something that can be followed after they are un-zipped. This company is better than most for labeling, but needs improvement. Also, the beginning series is lacking some basic knowlege. Great series for the price, but you may miss some concepts that you need to program effectively. Update: The more I use these the less I like the video's.  I wouldn't buy again.  And depending on what you're looking for you may be able to find the content online at no cost. Check out MSDN for some great training videos (free, requires registration). They have videos on several programming languages.

Currently rated 4.7 by 3 people

  • Currently 4.666667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


To activate the hidden Vista administrator account

clock August 4, 2008 18:59 by author Paul
  1. Logon to Vista with your usual account.
  2. Launch the cmd prompt (in accessories. right click and select 'Run as administrator'
  3. Enter Net user administrator password and hit enter 
  4. Enter Net user administrator /active:yes and hit enter 
  5. Switch User or logoff
  6. Logon as Administrator  Password password 
    (Your password should be different!)

Currently rated 4.8 by 5 people

  • Currently 4.8/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Intervals and Constants for DatePart command

clock July 28, 2008 09:16 by author Admin

Intervals and Constants for DatePart

Setting Description
yyyy Year
q Quarter
m Month
y Day of year
d Day
w Weekday
ww Week of year
h Hour
n Minute
s Second

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


To start a program when Windows starts

clock July 23, 2008 19:11 by author Admin
 How to start a program when windows starts -

Do you have a program that you start every time you start windows?
Right click start menu and click explore.
Expand the programs folder, then click on startup.
Anything you place in this folder will start when windows starts. It's best to create a shortcut and move the new shortcut.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Category list

Sign in