Community of VE/MapPoint Users and Developers
This is a discussion on C#: How to find out if MapPoint is still running? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; In a separate thread create a process object and assign it to mappoint. Then use the process.waitforexit method followed by ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| On Exit
In a separate thread create a process object and assign it to mappoint. Then use the process.waitforexit method followed by a line which tells you that mappoint was closed. Now can you help me reference both versions of mappoint in .net? Cheers, Nick |
| |||
| Code
Off the top of my head: Sub RunningOnAnotherThread() Dim p() As Process = Process.GetProcessesByName("MapPoint") If p.GetUpperBound(0) > 0 Then p(0).WaitForExit() <--execution blocked here until exit MsgBox("MapPoint was closed!!!") End If End Sub |
| |||
| Re: C#: How to find out if MapPoint is still running?
using C#... Register for the event here: Quote:
Quote:
|
![]() |
| Tags |
| find, mappoint, running |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help!! Error running mappoint | gag | MapPoint 2006/2009 Discussion | 1 | 01-27-2004 11:45 PM |
| I currently have Mappoint 2000 running on my PC. (.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 07-11-2002 01:44 PM |
| I am currently running Mappoint 2001 and will buy .... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 09-19-2001 09:49 AM |
| I am currently running the MapPoint 2002 Trial. I.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 09-04-2001 09:45 AM |
| I am currently running the MapPoint Trial. (I alre.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 08-27-2001 09:13 AM |