Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Killing a DOS FTP window
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00969520
Message ID:
00969847
Views:
20
> It returns a 0 without any error raised?

Sorry, I misstated. It shows as an object, but I get an error on the next line of code
db_proc = lo_WMIService.ExecQuery("SELECT * FROM Win32_Process WHERE Name='FTP.EXE'")
Which cannot find the value or object "loWMIService".


>(Do you have an Error manager in effect?)

None that I know of.


> The requirements for WMI are, other than OS, but I see you are using XP/2000:

I am testing this on a PC running XP Pro, and it is going to run on a server running on WIN2K Server.


> Internet Explorer 5.0 or better
Check.


> Windows Scripting Host, this one might has been disabled,
No idea. I do ODBC and COM calls to other applications, but I do not know whether Scripting Host is enabled or not.


> I see you are using Windows XP, so WMI should be installed, just to be sure, You can:
> Open "Control Panel" -> "Administrative Tools" -> "Computer Management" From the
> Tree select: "Services and Applications" -> "WMI Control" then Right Click on "WMI
> Control" and open the "Properties sheet"

Check. Both my PC and the server check out with the proper settings.


> The next thing to check it security, so check in the "Security" tab that
> you or the group you are in has rights (I think you only need to allow
> "Enable Account")

Checked. Still no luck.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform