[futurebasic] Re: [FB] Nav services

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2001 : Group Archive : Group : All Groups

From: Heather Donahue <heatherd@...>
Date: Tue, 9 Oct 2001 16:31:35 -0700
At 3:22 PM -0700 on 10/9/01, Craig Hoyt wrote:


>Hi All,
>How do I test to see if a computer has Nav Services available. I need to
>set gFBUseNavServices to true if available and false in not. This is used
>in the open and save dialogs.

There is a global variable in the Standard Basic runtime, 
gFBHasNavServices, that tests for it.  If you are relying on the 
standard runtime and using the FILES$ command, the runtime will test 
for it.  Basically, if you set gFBUseNavServices to _zTrue and 
NavigationLib isn't available, the runtime will use the old dialogs.

If you are doing this on your own, such as using the Toolbox runtime, 
search for the function FBTestForLibrary in the header files.  It 
shows how to test for a library.

-- 
Heather Donahue
--
"Where does revenge end, and justice begin?"
	-- Captain Sheridan