Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dectect a Grid on a Form
Message
 
To
07/12/2005 04:36:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01075605
Message ID:
01075608
Views:
14
>Bonjour Adam ,
>
>Je vous tester l'existance d'un control Grid sur un formulaire
>aussi tester l'existance de Ms Excel sur un PC
>
>
>Merci

Test if the Excle is instaled on that PC
lbExcelInstalled = .t.
oExcel = NULL
TRY
  oExcel = CREATEOBJECT("Excel.Application")
CATCH
  lbExcelInstalled = .f.
FINALLY
  oExcel = NULL
ENDTRY

IF lbExcelInstalled
   MessageBox("Excel is installed")
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform