Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check for the existence of MS Graph
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00671431
Message ID:
00671527
Views:
11
Hi Peter,

Try something like this:
oyy=createobject('MSGraph.Chart')

if vartype(oyy)#'O'
  wait wind time 1 'Ooops! No Chart Here!'
  return .F.
else
  ....
endif
Good luck!

Hugh

>Hi,
>
>How can I check for the existence of MS Graph on a user's computer?
>
>(I realize that this item should have been posted in the section on OLE automation. But, although I can edit a message as long as no one has replied, there's no way to withdraw a message. Maybe a new item on the long Todo list of Michel?!)
Microsoft hears loudest what the VFP community says about Visual FoxPro by looking at the bottom line!

Support the product. Buy the latest version!

Hugh Winters @ WorldData 408-512-1131
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform