MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Open MapPoint INSIDE browser windows

This is a discussion on Open MapPoint INSIDE browser windows within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi guys, I have a question for you, as I just started playing with MP. The scenario is this. I ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-12-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Open MapPoint INSIDE browser windows

Hi guys, I have a question for you, as I just started playing with MP.

The scenario is this.
I connect to a web server that show me some tables i.e. customers addresses.

I have MapPoint installed on the client computer so I can easily create a
script on the server that dynamically generates an html page with Clientside vbscript to plot the addresses on a map.

The html page would use something like

<script language="VBScript">
Set oApp = CreateObject("MapPoint.Application")
Set oMap = oApp.ActiveMap
oApp.Visible = True
oApp.UserControl = True
...... my code to draw data ....
</script>

Now this method opens MapPoint in a separate window...
What I would like to have is opening it INSIDE the browser window. In this way I could put in a left frame some html/vbscript code to control/update the map in the other frame....


Any tip?

TIA

Xlup
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 05-16-2005
Junior Member
White Belt
 
Join Date: May 2005
Posts: 3
Another way would be to directly generate the .ptm file on the server and send it to the browser....

Is there a way to do this without installing MapPoint on the server (thing that I cannot do) ?

Thanks again for the Help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 05-16-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi,

Latest approach is not cofform with end user agreement, however there is difference if it is in a closed user group on a LAN. Please read it carefully.

For the former I dont know, but I should use a different approach. Instead of using a browser you can embed mappoint component in your VB program, and instead of using VB script you can communicate with server with own made protocol. If it should be HTTP server you can tunnel your proto into HTTP.

Or let the server (via HTTP proto give you the information you need, and let the client program handle all).

Other approach are possible too. This is what just play in the top of my head Could be something different tomorrow
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 05-17-2005
Junior Member
White Belt
 
Join Date: May 2005
Posts: 3
Quote:
Originally Posted by Wilfried
Hi,
Latest approach is not cofform with end user agreement, however there is difference if it is in a closed user group on a LAN. Please read it carefully.
In my case I think it should be ok for the licence, as the thing is used by a very few users each one with a mappoint licence... however is a difficult system

The thing is simple: we have a web based sales analysis tool that generates some reports (using php).
What I want to do is this: when I have a list of customer addresses on the web report the user can simply click on a button and the result is to have a map with a pushpin for each customer.
The users already have their own Mappoint installation (they normally use it importing data from excel), so I must simply send them the correct source code (build dinamically) to draw the data

The web app. layout is classical, with a fixed left menu (reports titles) and a right one with the data: it would be the best to have mappoint that opens up in this frame, so that the user can work on it or quickly switch to another report....

The code I use now is the one at the top of the page but when called mappoint is launched in its own window.....

If I save a ptm file and put it on the web server, and then I link to it from a page on the right frame, the map is correctly opened inside the right frame...

I think the problem is only a matter of how the mappoint.application is called by the clientside vbscript code... But I'm not too much expert on vbscript
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 05-17-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi,

I think licence is OK from what you say. I'm sorry I dont know nothing about VBScript

But instead of that the server generate a VBScript for a map, you can let the server generate parameters, and let the clients generate the map themselfe. I think this is more simple.

for the VBScript I think others can jump in here...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 05-19-2005
Junior Member
White Belt
 
Join Date: May 2005
Posts: 3
Quote:
Originally Posted by Wilfried
Hi,
But instead of that the server generate a VBScript for a map, you can let the server generate parameters
Hi Wildfried, thank you for the reply. This is exactly what I'm already doing with VBScript... the server dinamically builds the "source" VBScript (with the parameters), sends it to the client browser, and the client executes it...

Is there another way to "generate the parameters"?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 05-19-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
HI,

I was thingking on seme other approach. Instead of that the server generate a script to execute at client side, the server could generate parameters needed, and you control it all on client side. Maybe I'm not clear because of my English, but I think your approach should work also.

I check your original post:

Code:
Set oApp = CreateObject("MapPoint.Application")
Should it not be:

Code:
Set oApp = CreateObject("MapPoint.CoApplication")
??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
browser, inside, mappoint, open, windows


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Unable to open MapPoint 2004 carlos_pr21 MapPoint 2006/2009 Discussion 1 03-28-2006 02:08 PM
Color orthographic images made available inside Map-In-A-Box Anonymous News and Announcements 0 09-24-2004 02:35 PM
gettign teh area inside a polygon or territory Anonymous MapPoint 2006/2009 Discussion 1 10-18-2003 06:21 PM
Exporting places inside a selection to Excel Pat Lee MapPoint 2006/2009 Discussion 2 06-09-2003 10:10 AM
How can I upload my map into browser,and allowing .... Anonymous MapPoint 2006/2009 Discussion 1 11-19-2001 12:51 AM


All times are GMT -5. The time now is 08:26 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54