Thom Robbins .NET Weblog

A blog of the technical and only sometimes uneventful side of programming in .NET and life within Microsoft

Browse by Tags

Tagged Content List
  • Blog Post: A Quick Look at XML Literals

    XML literals are new to Visual Studio 2008 and Visual Basic. Simply put they enable the incorporation of XML directly into application code. Essentially this allows a quick way to create XML objects. At their core XML literals represent a LINQ to XML object and follow syntax similar to XML 1.0. At run...
  • Blog Post: Selecting a Block of text

    Regardless of the new framework features – copy and paste is still one of my favorites. One of my favorite tricks is selecting a block of text. By default normal text selection is line by line. For example it’s not possible to select just the items to the right of the equals sign. However, Visual...
  • Blog Post: Setting the startup form for a Windows Application

    Question: I am new to building Windows forms’ applications and am writing my first application. It’s a basic application that has three different forms. As you can imagine I am building, deigning and architecting the project as I go along. One of these changes is that I want to make a different form...
  • Blog Post: A quick look at the lambda expression

    The lambda expression is new to Visual Basic and Visual Studio 2008 and part of the new Linq support. A lambda expression is an anonymous function that can contain expressions and statements. Basically it’s a function without a name that calculates and returns a single value. It is combined with the...
  • Blog Post: Adding an InfoPath Editor Control to a Windows Form

    One of the new features of InfoPath 2007 is the ability to integrate the InfoPath editor into Windows Forms. Within Visual Studio this is done using the Microsoft.InfoPath.FormControl.dll assembly. In this example using Visual Studio 2008, we will create a simple Windows Form application that contains...
  • Blog Post: InfoPath: Accessing template file data

    The XMLForm class of the InfoPath managed code objects model provides properties, methods and events to access the XML data in the underlying XML document and form information that includes the form definition file (.xsf). For example, using the following code we can create a message box that displays...
  • Blog Post: Creating an icon in the system tray

    A standard part of many Windows forms applications is the system tray icon. Most commonly it is used to provide an application or event status. Tray icons are added to an application using the NotifyIcon control. It includes properties that simplify displaying a System Tray icon and the notification...
  • Blog Post: How To: Live Search 101

    I have recently started playing with some of the Live Services available at http://dev.live.com . There are some pretty interesting Web Services they have been putting together. I started playing with the Live Search Service you can find at http://search.dev.com . The following is a simple example to...
  • Blog Post: Microsoft Visual Basic 2005 Power Packs 2.0

    Line and Shape controls, PrintForm component, and Printer Compatibility Library Microsoft Visual Basic 2005 Power Packs 2.0 includes a new set of Line and Shape controls and updated versions of the two previously released Visual Basic 2005 Power Packs, the PrintForm Component and the Printer Compatibility...
  • Blog Post: Developing Mobile Applications with the Compact Framework 2.0

    Download the PDF here Overvie w Cellular phones and PDA’s have changed the way we work. For many people the built in network connectivity, email synchronization and instant on capabilities make these devices an attractive alternative to bulkier laptops. These types of features combined with enterprise...
  • Blog Post: Mobile Web Development with ASP.NET 2.0

    Download the PDF Mobile Web Development with ASP.NET 2.0 Overview Over the years Web application development has evolved from static HTML to more dynamic ASP.NET pages. However, this model has focused almost exclusively on delivering content to the Internet connected PC running a desktop browser...
  • Blog Post: Introduction to Building Mobile Business Objects

    Download Samples Download PDF Overview The drive to connect people, process and devices is a never ending cycle of development. Enterprises are demanding applications that deliver seamless communication with their partners and customers without sacrificing security, transactions, reliability...
  • Blog Post: Building Mobile Business Objects

    Building Mobile Business Objects Download Samples Download PDF Overview The drive to connect people, process and devices is a never ending cycle of development. Enterprises are demanding applications that deliver seamless communication with their partners and customers without sacrificing...
  • Blog Post: Introduction to Building XML Web Services with ASMX

    Download PDF Version Download Samples The Web Service standards define how to build application functionality that is made available to remote machines using generally available Internet protocols. The Web part defines how application functionality is accessed. The services relate to the idea...
  • Blog Post: An Introduction to Building XML Web Services with ASMX

    An Introduction to Building XML Web Services with ASMX By Thom Robbins ( trobbins@microsoft.com ) Download PDF Version Download Samples Overview The Web Service standards define how to build application functionality that is made available to remote machines using generally available...
  • Blog Post: Introducing the <DataContract>

    As we have seen in previous articles . Creating a Windows Communication Foundation (WCF) service begins with annotating the class with a <ServiceContract> attribute and an <OperationContract> for each exposed operation. The design of WCF uses these attributes to expose the service endpoints...
  • Blog Post: Playing with namespaces

    The Root Namespace property sets the base namespace for all files in the project. If you want to set the the root namespace of a Windows Form project it is done through the following steps. 1. Select My Project 2. Within the application tab it can be set By default all namespaces in...
  • Blog Post: Enabling Visual Styles

    Windows XP introduces a new look and feel to the Windows user interface. This new interface provided controls that have rounded corners and that change colors when you pause your mouse over them. By default Windows based applications created with Visual Basic automatically support visual styles known...
  • Blog Post: Looking at Assembly Information

    Assembly information is an important part of building an application. This is what gets generated to the executable during compilation. How can you see where this data gets published? Within in a Windows application select the project properties From the application tab select Assembly information...
  • Blog Post: Environment.SpecialFolder

    A very useful environment enumeration is SpecialFolder. This provides an enumeration to special folders like My Pictures or the Startup menu. These folders are set by default by the system, or explicitly by the user. For example, ever try to get at a list of files contained in somebody’s MyPicture directory...
  • Blog Post: Integrating WCF with your existing ASMX Services

    I am betting that you have at least one if not more ASMX services available today within your applications. So how do you get going with Windows Communication Foundation (WCF) and maintain that existing code? In this article we will look at an example of how this can be done. We will start with an existing...
  • Blog Post: Looking for Workflow VB Samples

    Paul has a nice list of the WF samples available for VB developers here .
  • Blog Post: How To: Hosting a WCF Service in IIS

    How To: Hosting a WCF Service in IIS In this article we looked at the basics of Windows Communication Foundation (WCF) and how it can be used to host a service within a Windows Form. In reality, many applications today already take advantage of IIS to host HTTP based services like ASMX Web Services...
  • Blog Post: How To: Building a WCF Service and consumer

    How To: Building a WCF Service and consumer Do you see service everywhere? Alright I admit that may not be an original. However, with Windows Communication Foundation and the .NET Framework 3.0 you can.WCF is the unified programming model for building service oriented applications. It is designed...
Page 1 of 1 (24 items)