Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Active Directory (Add/Edit) using VFP 9
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01242228
Message ID:
01242325
Views:
15
>Thanks, Naomi.
>
>Have you used any of the scripts "internally" in VFP 9 before? There's quite a bit of stuff I could do in VFP (connecting to the SQL data source, reading the file into VFP, then preprocessing it), THEN use the scripts to update AD, etc, then use VFP to create a log, etc.
>
>Just not sure how to include the scripts into VFP. :-)
>
>Thanks again!
>

Yes, I'm using some scripts and I also tried something recently trying to help someone from another forum.

See http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1853195&SiteID=1

Here is what I have on my desktop for emergency cases:
loCIMV2		= GetObject("winmgmts://localhost/root/cimv2")
loProcesses	= loCimv2.ExecQuery("SELECT * FROM Win32_Process WHERE Name LIKE 'vfp%'")
For Each objProcess in loProcesses
	objProcess.Terminate(0)
Next
And there were other cases I used it I don't remember right now.

>>>I've been tasked with populating a client's AD with records in a SQL table.
>>>
>>>I have found a ton of info about using .Net to do this, but I haven't been able to make it work.
>>>
>>>That said, I'm much more comfortable working in VFP and wanted to see if anyone else has done anything with adding/updating AD with VFP?
>>>
>>>Any info is appreciated....
>>>
>>>Thanks,
>>
>>Get http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=B4CB2678-DAFB-4E30-B2DA-B8814FE2DA5A and you'll find the scripts you need.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform