beautypg.com

Customizing mapxtreme samples, Building a desktop application, Running a sample application – Pitney Bowes MapXtreme User Manual

Page 450

background image

Appendix A: How to Create and Deploy a MapXtreme Application

Customizing MapXtreme Samples

MapXtreme v7.1

457

Developer Guide

Customizing MapXtreme Samples

This appendix contains two tutorials:

Building a Desktop Application

Building a Web Application

These tutorials guide you through customizing MapXtreme desktop applications and Web
Applications and preparing them for deployment.

Building a Desktop Application

We are going to base our desktop application on one of the thematic sample applications provided
with MapXtreme. The desktop sample applications are already working mapping applications. With
some simple modifications, you can customize a sample application for your own needs. You can
use the modifications outlined in this tutorial as a model for customizing any desktop MapXtreme
project. All the desktop sample applications provided with MapXtreme were created from the map
application template provided in the product. See

Creating Applications in Visual Studio

for more

information.

Running a Sample Application

Let’s start by running the ThemeLegend application to see what it looks like.

1. In Visual Studio, choose File>Open > Project/Solution, and open the project for the sample

application called ThemeLegend. The default path to this project is:
C:\Program Files\MapInfo\MapXtreme\7.x.x\Samples\VisualStudio\Desktop\
Features\ThemeLegend\vb\ThemeLegendVB.vbproj
(where x is the release number of the version of MapXtreme you are using).

2. Choose Debug > Start Debugging, or press F5 to run the application.