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.
Monday, November 24, 2014
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.
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
.http://swizec.com/blog/why-programmers-work-at-night/swizec/3198
Monday, September 8, 2014
Start Visual Studio Faster
I am always looks for ways to make my development machine and environment for efficient. For me my laptop is never as fast as I want it to be.
I find that opening Visual Studio can be very slow. I found a setting inside the setup that loads nothing at start up. My Visual studio now loads much faster.
To Change this setting in Visual Studio
1. Open visual studio ( the slow way loading the start-up page)
2. Go to Tools -> Options on the menu.
3. Set the At Startup to Show Empty environment
I find that opening Visual Studio can be very slow. I found a setting inside the setup that loads nothing at start up. My Visual studio now loads much faster.
To Change this setting in Visual Studio
1. Open visual studio ( the slow way loading the start-up page)
2. Go to Tools -> Options on the menu.
3. Set the At Startup to Show Empty environment
Now Visual studio will open faster.
Happy Coding
Wednesday, August 27, 2014
Visual Studio Online Update - Stakeholder Account
Just got an email today for some new features in Visual Studio online. My favorite is the new stakeholder user.
I have a small project that I am using the free Visual Studio online. One of the limitations of this is you can only have 5 user accounts. After that you have to start paying. Now the fee is only $10 per month, which is very fair. However I still will save $10 where I can.
Using this feature I am able to make the BA, PM and other project stakeholders have access to view and create tasks. Freeing up my five free accounts to only developers who need access to builds and source control.
Thanks to the Visual Studio Online team for the nice new feature.
Stakeholder User
I have a small project that I am using the free Visual Studio online. One of the limitations of this is you can only have 5 user accounts. After that you have to start paying. Now the fee is only $10 per month, which is very fair. However I still will save $10 where I can.
Using this feature I am able to make the BA, PM and other project stakeholders have access to view and create tasks. Freeing up my five free accounts to only developers who need access to builds and source control.
Thanks to the Visual Studio Online team for the nice new feature.
Stakeholder User
Monday, July 14, 2014
Self Hosted Web API application Domain Registration
I recently build a self hosted Web API windows service. The goal of the application was to receive HTTP Posts from a Asp.Net website and process long running processes.
The self hosted Web API worked really well. We were able to post the information from the website and process the request. In just a few hours I had off loaded work from my website to my application server.
However, once I deployed the self hosted windows service to my app server it would not run.
I had the correct URL and port on both the website and the application.
After doing some research I found that you need to register you domain with windows, or your request will be blocked.
Below is the syntax to register you url from the command line in windows
The self hosted Web API worked really well. We were able to post the information from the website and process the request. In just a few hours I had off loaded work from my website to my application server.
However, once I deployed the self hosted windows service to my app server it would not run.
I had the correct URL and port on both the website and the application.
After doing some research I found that you need to register you domain with windows, or your request will be blocked.
Below is the syntax to register you url from the command line in windows
netsh http add urlacl url=http://+:9000/ user="Users"
Make sure you specify the correct port and user
Friday, July 11, 2014
TFS Build - Deploying an MVC Web Site Project with mixed platforms x86 - x64
The Problem
Recently I was working on a project that had mixed platforms (x86 and x64) assemblies. The project would build locally in visual studio 2013, but not on the TFS build server
I was building the project as Any CPU in the project configuration.
The Fix
Set the MSBuild Platform settings to X86 from Auto.
The Configuration
Visual Studio 2013
MVC 5 Web Application
TFS 2010 / TFS Build Server
Windows 2008 / IIS 7 web deployment
I hope this helps someone else out in the future, it took be a good part of a morning to figure this one out.
Recently I was working on a project that had mixed platforms (x86 and x64) assemblies. The project would build locally in visual studio 2013, but not on the TFS build server
I was building the project as Any CPU in the project configuration.
The Fix
Set the MSBuild Platform settings to X86 from Auto.
The Configuration
Visual Studio 2013
MVC 5 Web Application
TFS 2010 / TFS Build Server
Windows 2008 / IIS 7 web deployment
I hope this helps someone else out in the future, it took be a good part of a morning to figure this one out.
Subscribe to:
Posts (Atom)


