MapPoint Forums

MapForums

Community of MapPoint and Bing Maps Users and Developers




MapPoint-Ereignisse mit VBA

This is a discussion on MapPoint-Ereignisse mit VBA within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hallo zusammen! Wie kann ich MapPoint-Ereignisse abfangen in VBA, z.B. Schließen des MapPoint-Fenster? Ich bedanke mich für die Hilfe im ...


Go Back   MapPoint Forums > Map Forums > MapPoint Desktop Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-06-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
MapPoint-Ereignisse mit VBA

Hallo zusammen!

Wie kann ich MapPoint-Ereignisse abfangen in VBA, z.B. Schließen des MapPoint-Fenster?


Ich bedanke mich für die Hilfe im Voraus.

Swetlana
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-06-2004
Syd Syd is offline
Member
Yellow Belt
 
Join Date: Aug 2003
Posts: 42
Mit VBA?
In VB bräuchtest du auf alle Fälle ein mappoint object mit withevents

Public WithEvents m_mappointctl As MappointControl

Die Ereignisse sind ja in der Hilfe beschrieben.



Quote:
Beispiel
Dim WithEvents objApp As MapPoint.Application

Private Sub Form_Load()
'Anwendung einrichten
Set objApp = CreateObject("mappoint.application")
objApp.Visible = True
objApp.UserControl = True
End Sub

Private Sub Command1_Click()
'Anwendung beenden, wenn auf Schaltfläche geklickt wird
objApp.Quit
End Sub

Private Sub objApp_Quit()
MsgBox "Quit-Ereignis ausgelöst"
End Sub
Grüsse,
Syd
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
mappointereignisse, mit, vba


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



All times are GMT -5. The time now is 01:23 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2
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 55 56 57 58 59 60 61 62 63 64 65 66 67