Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exchange running?
Message
From
30/04/1999 18:38:01
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00214059
Message ID:
00214160
Views:
31
>Is there a way to detect programmatically if an Exchange server is running from within Foxpro. We have an NT network running Exchange and Outlook. I need to verify that Exchange is available for use.
>

From an NT system, you can use the Win32 API call NetServerEnum() to find out what servers are visible to the system; you can also use WNetOpenEnum and WNetEnumResource to spin through the network resources.

I'd suggest you try some Web sites for more details; I'm not sure what you need to do where you have to verify that an Exchange server is active, as opposed to a client capable of talking to Exchange being installed locally

http://www.exchangestuff.com
http://www.microsoft.com/exchange/default.asp
http://www.slipstick.com
http://www.swinc.com

>Thanks.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform