Tuesday, November 25, 2014

Run as Different User in Windows 8

In previous versions of windows I could do the key combination ctrl+shift+ right mouse click and run an application as a different user.

This can be useful for troubleshooting connectivity issues to servers and applications.

I could not find this in windows 8.

This feature is turned off by default on Windows 8.  Below are the instructions to turn this back on.


  1. Press Win+R, and type"gpedit.msc",then press Enter.
  2. In the left pane, click/tap on to expand User Configuration, Administrative Templates, and open Start Menu and Taskbar.
  3. In the right pane of Start Menu and Taskbar, double click/tap on Show "Run as different user" command on Start.
  4. Select Enabled, click/tap on OK.
  5. Reboot the computer.


The full post can be found here Reference

Monday, November 24, 2014

How to Turn Off "Enable Editing" in Office 2013

Recently I opened a word document and missed half of it because it opened with the "Enable Editing" warning.

Because of the warning I did not realized there was a second page on the document and missed some key information.

I figured there must be a way to turn this off, and googled it.  I found this really great post about how to do this.

http://www.thrivenetworks.com/blog/2011/05/25/turn-off-enable-editing-in-microsoft-office-2010/

This was for Office 2010, and I really need to do this for 2013.  Here is the updated screen shot.



You will need to do this for each office product (Excel, Word ...)

Doing this got rid of this warning.  You are opening yourself up to some possible security issues.  But for me the pain of dealing with the "Enable Editing" was worse than the possible security breach.


Thursday, November 20, 2014

Stop IE8 Form Submit on HTML Button on click using JQuery

Internet Explorer 8, and also in newer versions of IE that are running in compatibility mode, buttons in a form automatically do a form post.

If you are in Chrome, newer versions of Internet Explorer or really any other modern browser this will not be a problem.  But often I have clients that use old versions of browsers for various valid business needs.

To get around this problem I just capture the click event in jquery and return false. The HTML and JQuery example below shows a snippet on how to do this.


Thursday, November 6, 2014

I found this really good article.  I am so guilty of staying up late at night coding. This explains why this works so well for me


.http://swizec.com/blog/why-programmers-work-at-night/swizec/3198