Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is Object running
Message
De
10/12/2001 10:38:41
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Is Object running
Divers
Thread ID:
00592094
Message ID:
00592094
Vues:
56
Hello all, I am trying to determine if MapPoint 2002 is still running. In FoxPro I would use the following lines of code.

IF VARTYPE("oMapApp.Visible") <> "L"
MESSAGEBOX("MapPoint is not running!")
ENDIF

In VB.NET I tried :

If TypeOf oMapApp.Visible Is Boolean Then
...
End If

But that code gives me an error when MapPoint is not running. What is the proper syntax in VB or VB.NET. Thanks for the help.

Randy Belcher
Randy Belcher
AFG Industries, Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform