Declare Sub Main
Sub Main
Dim nChannel as integer
Dim str as string
nChannel = DDEInitiate("mapinfo","system")
str = DDERequest$(nChannel,"topics")
DDETerminateAll
Print str
End Sub
HTH
/Jakob
Jakob Lanstorp
Senior Consultant
Geographical Information & IT
COWI A/S
Odensevej 95
5260 Odense S
Telefon 6311 4900
Telefax 6311 4949
Mobil 5050 8087
E-mail [EMAIL PROTECTED]
http://www.cowi.dk
http://www.cowi.com
________________________________
From: Jephe Nache [mailto:[EMAIL PROTECTED]
Sent: Wed 8/31/2005 17:52
To: [email protected]
Subject: MI-L List of running mapbasic applications
Is there a way to see which mapbasic applications are running?
I want to avoid running certain .mbx files if they are already open...I
can't seem to find an easy way to do this.
I was thinking of something like looping through all buttonpads and get
the name of every button, but this functionality doesn't seem to exist.
Any ideas?
Hef
---------------------------------
Start your day with Yahoo! - make it your home page