Tips of the Day on .NET

Find some tips & tricks that are related to .NET technologies from this blog.

Browse by Tags

Tagged Content List
  • Blog Post: How to check any existing ActiveDocument?

    For office developers, you might want to check is there any existing active document is opened before you open a document template. What you can do is, check is there any open by using ( Globals .ThisAddIn.Documents.Count > 0). Then close the activeDocument using ActiveDocument.Close(ref object...
  • Blog Post: Missing "Office = Microsoft.Office.Core" reference?

    Missing this reference " Office = Microsoft.Office.Core "? Here is how you can add the particular reference: Step 1: Right-click your project Step 2: Select " Add reference.. " Step 3: Click on the " COM " tab Step 4: Scroll down to select " Microsoft Office 12.0 Object Library ".
  • Blog Post: How to reserve the URLs to host the WCF service

    Run into this error when running your WCF service? This is because you have not reserve the url to host your WCF service. Try this solution: 1. Open a Command Prompt as Administrator 2. Execute this command : netsh http add urlacl url=htpp://+:8080/ user=User where User is your user name
  • Blog Post: Visual Studio 2008 is RTM!!

    Yesterday at TechEd Europe we announced that Visual Studio 2008 and the .NET Framework 3.5 will be released by the end of November. There are some video recordings on the Channel 9: Lap around Visual Studio 2008 & .NET Framework 3.5 What's new in C# 3.0? What's new in Visual Basic 9.0? ...
  • Blog Post: Read / Write XML in Memory Stream

    Use the XmlWriter to write XML to Memory Stream: MemoryStream stream = new MemoryStream (); XmlWriter writer = XmlWriter .Create(stream); http://msdn2.microsoft.com/en-us/library/ms162617.aspx or you can use the XmlDocument to save xml document to specific stream: MemoryStream stream = new MemoryStream...
  • Blog Post: Current .NET technology?

    What is current .NET technology ? If you are using .NET 1.0 or 2.0, are you considering yourself using current .NET technology? The definition for current .NET technology: Use .Net Framework 3.X or Silverllight or ASP.NET where .Net Framework 3.X = .NET 2.0 plus any one of the following technologies...
  • Blog Post: Display .tiff image??

    You can display the tiff image using Through ImageDraw's DrawImage method. http://www.velocityreviews.com/forums/t108565-display-tiff-image.html http://www.neodynamic.com/ND/FaqsTipsTricks.aspx?tabid=66&prodid=4&sid=4 http://www.thescripts.com/forum/thread531027.html Tiff image is bitonal...
  • Blog Post: Migrate Application from .Net 1.1 to .Net 2.0

    There are numerous API changes on .net framework 2.0 compare to .net framework 1.1. http://msdn2.microsoft.com/en-us/netframework/Aa570326.aspx Therefore, the application that target on .net framework 1.1 might not work properly on .net framework 2.0. You have fix some of the issues that occur in...
  • Blog Post: Installing .net framework 2.0 will ovewrite the version 1.1?

    When you install the .NET Framework, two different types of configuration files are installed, machine configuration files and security policy configuration files. In a side-by-side installation environment, you can install multiple versions of the .NET Framework on the same computer. Each installed...
  • Blog Post: Mark your way to becoming a .NET Expert TODAY!!

    Interested in learning the latest programming language that drives the industry today? Develop the latest games, the coolest applications and much more with Microsoft's .NET platform! It doesn't matter if you've been tooling around with Java, PHP, COBOL, PASCAL, RPG or Macromedia all this while. If you...
  • Blog Post: Tips & Tricks on Visual Studio 2008 - I

    Tip 1: Multi Target Framework In Visual Studio 2008, you have the option to choose which target framework for your application, either version 2.0 [Shipped with Visual Studio 2005], 3.0 [Shipped with Vista] or 3.5 [shipped with Visual studio 2008]. You can change your target framework at Project >...
  • Blog Post: Windows Mobile 6.0 project templates on Orcas

    I was using Visual Studio 2005, and installed with Windows Mobile 6.0 SDK. After I uninstalled the Visual Studio 2005 and installed the Visual Studio codename "Orcas", I can't find the Windows Mobile 6.0 project templates. I tried to repair the SDK but still doesn't work. So, what i uninstalled the WM...
  • Blog Post: Download DinnerNow.NET Sample Application

    DinnerNow.NET is a cool sample application demonstrates how you can develop a connected application using several new Microsoft technologies including: .NET Framework 3.0 technologies – WF, WCF, WPF, and CardSpace Core technologies native to Windows Vista and Windows Server “Longhorn” such as IIS7, Windows...
  • Blog Post: Application Compatibility Toolkit

    Have you ever tested your application compatible with Windows Vista? Download the Application Compatibility Toolkit (ACT) here to assist you to check the compatibility of your application on a new new version of the Microsoft Windows operating system. ACT also enables you to determine how an update to...
  • Blog Post: IIS failed to load ODBS driver

    Problem: If you received below error message when trying to deploy your application to Windows Server 2003. ERROR [IM005] [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_DBC failed ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior...
  • Blog Post: How to determine the assembly compiled in which version of .net

    To determine the assembly is compiled in which version of .net, you can use use Assembly.ImageRuntimeVersion. You may learn the Assembly.ImageRuntimeVersion Property from here: http://msdn2.microsoft.com/en-us/library/system.reflection.assembly.imageruntimeversion(vs.80).aspx There is a blog discusses...
  • Blog Post: How to differentiate the assembly is debug or release build

    From this article http://msdn2.microsoft.com/en-us/library/wx0123s5(VS.80).aspx , it says that Debug mode: the program is compiled with full symbolic debug information and no optimization. Optimization complicates debugging, because the relationship between source code and generated instructions...
  • Blog Post: Fine Tune your SQL Server 2000 Performance

    **This applies to SQL Server 2000** When comes to performance tuning for SQL Server 2000, there are few things that you can look into: 1. SQL Performance Tools: SQL Profiler and the indexer Tuning Wizard SQL Profiler can be used to log to workload of the database and the log file from the...
  • Blog Post: can I install .net 3.0 extensions on Visual Studio 2003?

    The extensions for .net framework 3.0 (templates to create .net 3.0 applications, like WPF, WCF, WF) only work with Visual Studio 2005. You may look at this site http://www.microsoft.com/downloads/details.aspx?FamilyId=F54F5537-CC86-4BF5-AE44-F5A1E805680D&displaylang=en under the system requirements...
  • Blog Post: .NET Framework Support LifeCycle

    The support for the .NET Framework Service Pack 1 (SP1) has already ended. Therefore, SP1 is not covered under the current support policy. However, Microsoft will continue to support the .NET Framework Service Pack 2 (SP2) until either support for the .NET Framework ends or for 12 months after the .NET...
  • Blog Post: Windows Mobile 6.0 SDK Installation Problem

    During the Windows Mobile 6.0 SDK installation, if you encounter error "Could not access network location Common7\IDE\ProjectTemplates" like below: Here are some ways to fix it: 1. Ensure that you installed .net Compact Framework 2.0 SP1 (Uninstall the previous version, .net compact framework 2.0 before...
  • Blog Post: TeamPlain Web Access for Team System

    TeamPlain Web Access is available here as free download to all Team Foundation Server customers. Now you can access to team foundation server without using Visual Studio 2005 or Team Explorer by using the lightweight and simpler web interface offered in Team Plain Web Access . The TeamPlain Web Access...
  • Blog Post: Get Started with VSTS

    Want to get started with Visual Studio Team System (VSTS)? Go to this site to download the VSTS Basics Training material. This download is a virtual image, which broke into 7 zipped files and 1 exe self-extract file. The image is installed completely with VIsual Studio Team System (Visual Studio Team...
  • Blog Post: Microsoft Report Viewer 2005 SP1 Redistributable Package

    Some of the bugs on reportviewer have been fixed and distributed with Visual studio 2005 SP1. To verify whether your visual studio has been installed with SP1, you may check the version. It should be Version 8.0.50727, as below screenshot. You may view the fixed bugs from this link: http://support...
  • Blog Post: Securing Forms Authentication

    In ASP.net, forms authentication uses an authentication ticket to authenticate the users. This ticket is created when a user logs on to a site. Normally the ticket is stored inside a cookie. However, you still can pass the ticket in a query string for the cookiless browsers. This authentication ticket...
Page 1 of 3 (56 items) 123