Browse by Tags

Tagged Content List
  • Wiki Page: How to Transfer Files between a Windows Store App and any Silverlight Windows Phone App

    First things first: how it works If we ever want to have our apps both on the Windows Phone and the Windows 8 stores, we might want to use some kind of syncing mechanism between the two. Since neither can access the other’s isolated data directly, some sort of file transfer between the two apps...
  • Wiki Page: Small Basic: How to Make a Turtle Maze Game

    Table of Contents Overview 1. Creating a maze 1.1 How to create a maze? 2. Creating AI which solves the maze 2.1 How to solve the maze? 2.2 What are needed for Silverlight environment? 3. Creating UI for another turtle 3.1 Create another turtle 3.2 How to control turtle 3.3 How to save score 3.4 Turtle...
  • Wiki Page: SSIS 2012 new REPLACENULL() function

    From MSDN documentation – SQL server 2012: REPLACENULL (SSIS Expression) Returns the value of second expression parameter if the value of first expression parameter is NULL; otherwise, returns the value of first expression. Example This function was added to SSIS 2012 and is a useful...
  • Wiki Page: System Center Operations Manager 2012 R2 - Customizing E-Mail Notifications

    As more and more users are reviewing Operations Manager notifications on mobile devices rather than traditional desktops and laptops it has become clear the default syntax is not so much confusing as it is difficult to read. For example the first part of the Subject field in the e-mail is the Name...
  • Wiki Page: Asynchronous method call in C#

    If you want to call a method that will perform some operations in background and you want to proceed with performing other operations while background operation is happening, you can call the method asynchronously to execute it in background. The code sample includes a console application Program...
  • Wiki Page: SharePoint: Use a Visual Webpart to load a Dynamicly Created PDF Report

    Introduction I was facing a problem to load pdf generated document in a popup window. The problem was user saves some information from a custom front end to SharePoint List and on the list event handler there was a code written to generate a SQL report and export it into pdf document all through...
  • Wiki Page: SharePoint 2010: Create Site Columns and Content Types using C#.Net

    Table of Contents Introduction Create Site Column Create Content Type Add Field to Content Type See Also Introduction Example C#.Net code that can be used for creating Site Columns, Content Types, and adding fields to Content Type's. Create Site Column public static...
  • Wiki Page: FIM2010: How to Display the User Attribute in the Main UI of the FIM Portal

    Background ( FIM basic UI customization) : How to display the user attribute in the main UI of the portal. Fig1. In main UI of the FIM portal Employee ID is not displaying. Steps 1.Go to Administrator 2. Search Scopes 3. All Users, Results 4.In Attribute type EmployeeID...
  • Wiki Page: An Example of Using Write-Progress in a Long Running SharePoint PowerShell Script

    Table of Contents Introduction Example PowerShell Function Example: Enumerate all of the publishing pages in the Pages library of the input web, and all sub-webs Example: Enumerate all of the publishing pages in the Pages library Example: The three progress bars used (with -Recurse) Example: Two progress...
  • Wiki Page: Understanding IDENTITY in SQL Server

    This article is aimed at covering all the aspects of identity, its various features and concepts along with a couple of interesting scenarios where there is a bit different behavior of Identity. Table of Contents Introduction IDENTITY Property IDENTITY_INSERT option Getting the last inserted Identity...
  • Wiki Page: SQL Server PIVOT

    Table of Contents Problem Definition Common Problem Other Blogs See Also Other Languages Problem Definition This article documents a solution to the problem raised in the following thread and explains the pitfalls people often encounter with the PIVOT function: ; WITH CTE_STC_DETAIL_CODES...
  • Wiki Page: Convert Datetime Received in JSON to a .Net DateTime

    Some times when you receive a date time from a JSON string it is in UNIX Epoch format. The date time will come over as a number which is the number of milliseconds since Jan 1, 1970. To convert it to a .net DateTime create a DateTime for Jan 1, 1970 and add the milliseconds to get the actual time sent...
  • Wiki Page: Visual C#: How to Get the Connection String

    This article is for you if you're ready to write your ADO code, where you have everything ready and are working on your local machine. But then, when you try to use it on a remote database, you just can’t figure it out. You ask yourself: What is my connection string ? A very easy and...
  • Wiki Page: Customizing The Creation And Initialization Of Content In The Modern UI For WPF

    Table of Contents Introduction NuGet ModernWindow Dependency Injection Introduction This post is about how you could customize the creation and initialization of the content of a ModernWindow in the Modern UI for WPF library by creating a custom class that implements the FirstFloor.ModernUI.Windows...
  • Wiki Page: ASP.NET WebAPI - Enable Cors

    Table of Contents Introduction STEP 1 - Create ASP.NET WebAPI 2 Application STEP 2 - Install Nuget STEP 3 - Enable CORS on solution STEP 4 - Make call from client Resources Introduction This article walks you through configuration of CORS on webapi. Browser security prevents a web page from...
  • Wiki Page: WPF: Implementing Global Hot Keys

    Table of Contents Introduction P/Invoke RegisterHotKey Return Value Other Applications Sample Code See Also Introduction If you want your WPF application to be able to detect and handle key presses even when it is not currently activated or focused on the screen you could implement what is known...
  • Wiki Page: WPF: Disabling or Hiding the Minimize, Maximize or Close Button Of a Window

    Table of Contents Introduction ResizeMode P/Invoke Sample code See also Introduction There may be situations when you want to hide or disable the minimize, maximize, or close button of a window without having to modify the style of the window in any other way. In WPF you can indeed set the WindowStyle...
  • Wiki Page: How to bind a Dictionary to a Listbox in apps based in XAML

    Table of Contents Introduction Building the Sample Description Running the sample Source Code Files Source Introduction This sample as the goal to show how to bind a Dictionary to a Lisbox in apps based in XAML, using the MVVM pattern. Building the Sample You only need Visual Studio 2012...
  • Wiki Page: VBA & VBS Portal

    Table of Contents Introduction MS Office SQL Server Active Directory Others VBA-General See Also Other Languages Introduction Visual Basic for Applications (VBA) is a programming language which is used to control Microsoft Excel's functionality or any other program developed in Windows Operational...
  • Wiki Page: Using XML Serialization with C# and SQL Server

    Table of Contents Introduction XML Serialization Serialization Deserialization Scenario 1: Saving serialized XML as an XML Object in SQL Server Defining the table and stored procedure Create a method to pass XML parameters to the stored procedure Create a filter Retrieving all the filters from the database...
  • Wiki Page: Currency Conversion in SSAS 2012 (Multidimensional & Tabular)

    Types of Currency Conversion As defined by the Business Intelligence Wizard in Multidimensional, there are 3 types of currency conversion. One-to-many . In this case we store the transactions (for example in the data warehouse) in a single base currency. Even if they originally took place in...
  • Wiki Page: Shrink SQL Database During Restore

    Table of Contents Case Study: First option: using compressed folder & symbolic link Step 1: Create a compressed folder Step 2: Backup your database Step 3: Create symbolic link to the compressed folder Step 4: Restore your database using the symbolic link. Step 5: Shrink the Database Step 6: Detach...
  • Wiki Page: Wiki: How to Subscribe to the Wiki Ninjas Blog through RSS in Outlook 2013

    Table of Contents RSS Subscription See Also This article will show you how you can monitor the Wiki Ninjas blog within Outlook 2013 using a Really Simple Syndication (RSS) feed. RSS Subscription Open Outlook 2013 . Right-click the RSS Feeds link on the left hand side and select Add a New...
  • Wiki Page: Toolbox searching in Visual Studio 2013

    As VS2013 has more controls than ever it can be harder to find things. Just look at the Web Forms toolbox below which has some add-on controls installed as well as the defaults. I have many categories and each one has loads of controls. Finding the control I need used to mean rummaging through each...
  • Wiki Page: Using the Checked and Unchecked keywords in C# to perform overflow checking

    Table of Contents Overview Constant Values Checked Keyword Unchecked Conclusion References Overview In C#, the Integer type is used a lot to store values within methods. Often we do not think about the limits that the Integer has. By default, the maximum value it can hold is 2147483647. If we...
Page 27 of 41 (1,005 items) «2526272829»
Can't find it? Write it!