Skip to main content

Posts

Showing posts with the label microsoft

Find Which Process or Program is Using a File or Directory

For whatever a reason a file of directory may get locked or blocked by another process or program. To find out which Process Explorer can be used available at  https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer .

Entity Framework Code-First Learning Resources

Some resources to help learn and understand Microsoft's Entity Framework Code-First ORM. Basic Tutorial http://www.asp.net/mvc/tutorials/getting-started-with-mvc3-part1-cs Advanced Tutorial http://www.asp.net/mvc/tutorials/mvc-music-store-part-1 Blog posts with further hints and tips http://weblogs.asp.net/scottgu/archive/2010/07/16/code-first-development-with-entity-framework-4.aspx Update to NerdDinner using EF Code-First. Also shows how to synchronise database with the model and seeding database with initial data. http://www.hanselman.com/blog/SimpleCodeFirstWithEntityFramework4MagicUnicornFeatureCTP4.aspx Some useful info demonstrating Data Annotations such as [Key] and [Required]. This post will be added to as time goes by. If there are any other good resources about this MS framework feel free to throw them in to a comment. Updates EF Feature CTP5: Code First Walkthrough http://blogs.msdn.com/b/adonet/archive/2010/12/06/ef-feature-ctp5-code-first-walkthrou...

HTML 5 Target Schema for Validation - Visual Web Developer 2010 Express

Adding HTML 5 to the choice of target schemas in Visual Web Developer 2010 Express (VWD 2010 Express) is fairly straightforward, thanks to a download from Mikhail Arkhipov which can be found on the Visual Web Developer Team Blog at http://blogs.msdn.com/b/webdevtools/archive/2009/11/18/html-5-intellisense-and-validation-schema-for-visual-studio-2008-and-visual-web-developer.aspx . Download the html5.zip at the end of the above post. Unzip the file. Copy the html_5.xsd file to "C:\Program Files\Microsoft Visual Studio 10.0\Common7\Packages\schemas\html". This is the default installation set up location. If VWD 2010 Express has been installed in another location, the file needs to be placed in the "Microsoft Visual Studio 10.0\Common7\Packages\schemas\html" folder. This is where there is a slight variation in the instructions detailed in Mikhail Arkhipov 's post. To get VWD 2010 Express to recognise HTML 5 as an option for target validation, a change needs ...

MeeGo OS from Nokia and Intel

It looks like yet another operating system is going to be developed for smartphones and mobiles and released to the world. Doing the rounds on the news sites and blogs is that story that Nokia and Intel have joined forces to work on a new OS. The spin is that this Linux based OS will not just be aimed at one hardware platform but can be scaled to be used on smartphones , TVs and in-vehicle infotainment systems, or netbooks and anything in between. MeeGo is a merging of Intel's Moblin and Nokia's Maemo projects. With the successful uptake of Android in the mobile world and the related Chrome OS to be released, Windows 7 Mobile doing something to restore Microsoft's credibility, Palm entering the fray with their WebOS, the iPhone OS being so successful with the iPhone, and Symbian to mention but a few, how much more room in the market is there for OSs or is this two global corporations trying to emulate Google's success in their release of Android. Unless, of course...

Windows mapped network drives problem

On more than one occassion I've hit a problem where the mapped network drives got messed up, both under the hood and in Explorer on a Windows Vista machine. I couldn't completely disconnect drives, Explorer thought they still existed but they didn't, and references to network locations existed when checking with "net use" but weren't mapped to any drives when looking, so couldn't be remapped. Dealing with the network locations with no mapped drive was probably the easiest to resolve. net use ( more info on net use ) using this from the command line showed info about the network resources. To remove the network connections with no local drive just use: net use \\servername\folder /delete To delete a local resource use: net use S: /delete Sorting out the problem with Windows thinking that connections still existed, but didn't actually exist was a little trickier and involved getting in to the registry. Steps involved were: Opening the ...