Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get SMTP server name
Message
 
 
To
22/10/2005 16:56:11
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
01061437
Message ID:
01061584
Views:
13
Nonmemory where I obtained the following code...


Clear

Local oShell as Wscript.Shell
oShell = CreateObject("Wscript.Shell")

oExec = oShell.Exec(GetEnv("ComSpec") + " /c nslookup -type=MX yahoo.com")

DO While oExec.Status <> 1
*'Wait for the command to be run completely
EndDo

strResult = ""
strResult = oExec.StdOut.ReadAll
? strResult
David Amador Tapia
WebMaster "La Web de Davphantom"
www.davphantom.net
Cartagena. Colombia
Previous
Reply
Map
View

Click here to load this message in the networking platform