DCSIMG
How To,Visual Studio - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

Browse by Tags

All Tags » How To » Visual Studio (RSS)
How To: Bing Maps For Windows 8 Metro Apps - C#
Tweet Bing Maps SDK is available for Visual Studio 2012 RC and Windows 8 release preview, Bing Maps SDK is easy fast and cool control that you can use in your Metro App. Download Demo Project Step 1: Maps Developer Account Before you can use Bing Sdk from Windows 8 Metro App you need Maps Developer Account, open http://www.bingmapsportal.com/ , create or enter with existing Windows Live account. Choose “ Create or view keys ” and create new Key for your application. Copy and save that key, create...
Upgrade Metro App From Beta To RC
In my previous post Convert VS 11 Beta Metro Projects To VS 2012 RC I talked about upgrading the Project file from Beta to RC, in this post I’ll try to talk about all changes made from Beta to RC. I don’t know all the breaking changes in JavaScript and C# but I collect all the breaking changes from the application and games I develop and I’ll show them here. JavaScript + HTML Type Old Value New Value Comment Event MSGestureTap onclick   Event MSGestureHold oncontextmenu   Method getPointerList...
Windows Phone 7 – Build Puzzle Game
Tweet Over my last posts I talked about Windows Phone 7, we saw some real examples for Location Service, Maps, Ads, Accelerometer and more. Location Service and Bing Maps Raise My Dog–Russian Connect Window Phone 7 and Windows 8 app to Microsoft pubCenter Accelerometer Sensor for Windows Phone 7 Because I saw how many of you download my demo projects I understand the need for more demos around Windows Phone 7. So Today, we’ll build a Puzzle Game for Windows Phone 7 (Including the Sources ) Download...
Email Confirmation - ASP.NET MVC Web Application
Tweet In my previous post on ASP MVC I showed How To Add Captcha to ASP MVC Web Application, but even if you use captcha you still want to make sure the user email is real and not just a fake one. In order to make sure the user has gave you his real email you need to use Email Confirmation mechanism to your site. ASP MVC is doing some of the work for us, when a user is register to your site is assign with a unique ID (Guid) property called -  ProviderUserKey I’ll use this value to verify the...
How To Include HTTP Headers In Web Test Recording
How To Include HTTP Headers In Web Test Recording HTTP header fields contain the operating parameters of an HTTP request or response. With the request or response line (first line of message), they form the message header. Here is a ScreenCast on How to Create Web Test\Coded Web Test - Screencast [HE] While recording Web Test you will notice that Headers are not included in Web Test Requests, this because Web Test only record below header by default: SOAPAction Pragma x-microsoftajax Content-Type...
Extending Visual Studio Setup Project – Part 2
Extending Visual Studio Setup Project – Part 2 In my last post on that subject Extending Visual Studio Setup Project – Part 1 I showed how to create and use the basic features in Visual Studio Installer, this is the second part and more advanced. Download Demo Project Run External Application during Setup In this step I’ll show how to run an external application before the actual install process using “Installer Class”. Create new WPF Application project called – “SetupHelper” and add additional...
How To Change Visual Studio Default Editor
How To Change Visual Studio Default Editor Yes I know this sounds strange, but some times this can be very useful, For example, let say we are .NET developers but really addicted to NotePad++ , and each time I click on File. CS file I want notepad++ to open it… There are two ways to do it: The Ugly Way – Registry Under HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0 find the “Default Editors” key (create if doesn't exists). Create another Key with the name of the File extension (Example...
How To Enable Visual Studio 2010 Log
How To Enable Visual Studio 2010 Log To enable visual studio logger go to : C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE (64bit OS) C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE (32bit OS) Edit “ devenv.exe.config ” (Make sure you close all open instances of Visual Studio) Add below text before </Configuration> tag,  and edit the location of the log file ( E:\Backup\tf.log ) <system.diagnostics>       <switches>        ...
How To Change Default Language In Visual Studio
How To Change Default Language In Visual Studio I've just installed Clean version of Visual Studio 2010 Ultimate and by mistake I choose my default language as Visual Basic. So each time I'm starting a new project the default language is Visual Basic and I need to waste couple of expensive seconds to choose C# under other languages. So here is how you change the default language in Visual Studio to the language you want. How To: 1. Open Visual Studio, Tools and Click "Import and Export...
How To : Create Visual Studio Add-ins
How To : Create Visual Studio Add-ins There are two different Add-in project types: Visual Studio and Shared Visual Studio Add-ins vs. Shared Add-ins A Visual Studio add-in can be loaded into both Visual Studio and the Visual Studio Macros IDE. Conversely, a Shared add-in can be loaded only into Microsoft Office applications such as Microsoft Word, Microsoft Publisher, Microsoft Visio, and Microsoft Excel. Also, each type offers a different set of options. For example, the Visual Studio Add-in Wizard...
Error When Trying To Access Source Control With Team Explorer (vscommod.cpp Line number:173)
Error When Trying To Access Source Control With Team Explorer (vscommod.cpp Line number:173) Today I have installed windows 7 and visual studio 2008 + team explorer. I open visual studio and go to team explorer to open source control and I saw that there is no Source Control there I even try to open source control from the file menu but I got the following error:   Try the following steps to resolve the issue: 1. Open a command prompt. 2. Navigate to the following folder:   "%programfiles...