Clear Cache and Clear Clipboard Commands

Recently I need to do a couple of things programmatically for a build task and wanted catalog the command to make it easier for me and others to find them in the future.

Clear Internet Explorer Cache

This command is very useful if you are developing a SharePoint feature that relies on JavaScript.  I created one that worked with the JSGrid in Microsoft Project Server to keep users from being able to submit their Timesheet if the date they entered hours on was past the end date of the Task or if the sum of hours entered for that task was greater than the available hours.  So, this was a JavaScript solution to inspect items on the JSGrid on the Timesheet page.  To make sure I was getting the most current version of the JavaScript files I used the following command as a Post Build event in Visual Studio to clear the browser cache before the debug session started.

C:\Windows\System32\rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 8

Clear The Windows Clipboard

This one I came across when trying to figure out why cut/paste operations on my install of Windows 7 is so slow.  Unfortunately this didn’t speed up the clipboard but I wanted to keep it around anyway.  Comes in handy when I forget to clear a photo or large document from the clipboard.  Here is the command.

cmd.exe /c “echo off | clip”

Share Yours!

Do you have a command/snip-it that helps you get things done?  Share them in the comments.

Clear Internet Explorer Cache Command Line

During a recent project where I was creating a SharePoint feature I had the need to clear the browser cache before starting a new debug session.  The feature was all JavaScript and I wanted to be sure I was getting the latest version.  So, I added this command to the post build event.

InetCpl.cpl,ClearMyTracksByProcess 8

I have also used this in trouble shooting browser issues with clients, the easiest way to know for sure they have cleared their browser cache.

Microsoft Releases Windows 8 Consumer Preview

Today Microsoft has released a consumer preview of the Windows 8, the next version of the Windows Operating System.  Download the Windows 8 Consumer Preview here.

Win8Start

Microsoft Developer Evangelist Jennifer Marsman has posted an awesome list of resources to help you get started developing applications for Windows 8.

I have also gathered some useful links for Windows 8 on http://delicious.com/jay.smith/Win8.

Microsoft MVP: ASP.NET/IIS Awarded; Again!

image

Microsoft once again has chosen to award me with the MVP Award for ASP.NET/IIS.  Once again I find myself very honored and humbled to be recognized for my efforts in the community.  I have always said that even if I am not an MVP I will continue to go out and foster community wherever I can, and I will, but not just yet.

I want to thank the Northwest Arkansas Technical community, hey they have to put up with me Winking smile.  They have been a great source of ideas and inspiration and I would go to bat for any of you.  Thanks for listening to me rant, and for sometimes telling me to shut up Smile.

Thanks again to Microsoft for the honor of being an MVP and thanks to the community for helping me get there.

Community Leadership Town Hall–Tulsa Techfest

TownHall_Logo

Community Leadership Town Hall – Tulsa Techfest
October 6th, 2011 6 – 10 PM – OSU Room NH150

We had a great turnout at last years Town Hall and this year we are doing it again.  There was a lot of great participation and discussion regarding common issues we all experience as community leaders.  This is a great forum for getting input from other community leaders.

What is a Community Leadership Town Hall?

In many towns and cities across the country the town hall is the center of the community.  The town hall is where the local governments keep offices, serves as the main base for the Mayor, and is where citizens of the community come to work with the official representatives to share issues, ideas, and solutions that can make their community better. 

The Community Leadership Town Hall brings this concept to community leaders in your area.  The evening will be filled with discussions about issues, ideas, and solutions regarding creating, maintaining, and growing user groups and technical communities.   This will be a highly interactive night where everyone will have a chance to suggest a topic and voice their opinion.

Bring your questions, ideas, issues, and willingness to share to the Houston Community Leadership Town Hall.

ClickHereRegister

This is a free event!  Please join us.

Event Sponsors:

ComponentOne

Calendar

<<  October 2014  >>
MonTueWedThuFriSatSun
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

View posts in large calendar

Month List

AuthorList