![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | calling WinAPIs from VBScript How do I call WINAPIs from within a VBScript without having to install any 3rd party stuff? Thanks, Manas |
My System Specs![]() |
| | #2 (permalink) |
| | Re: calling WinAPIs from VBScript Basically I just need to toggle (uncheck and then check) "allow inheritable permissions from parent to propagate to this object" on the Security tab of a registry key. "Manas Talukdar" <mtalukdar@xxxxxx> wrote in message news:us4yJEozJHA.4800@xxxxxx Quote: > How do I call WINAPIs from within a VBScript without having to install any > 3rd party stuff? > > Thanks, > Manas |
My System Specs![]() |
| | #3 (permalink) |
| | oops, should have mentioned StdRegProv Class > However, your other posting implies that all you wish to do Quote: > is to change some subkey in the registry. If you know the > subkey, then you can use the RegRead/RegWrite methods of script. > Or, you can use the win32_registry and/or win32_registryaction > classes of WMI (if you have WMI installed). > http://msdn.microsoft.com/en-us/libr...64(VS.85).aspx cheers, jw |
My System Specs![]() |
| | #4 (permalink) |
| | Re: oops, should have mentioned StdRegProv Class Quote: of WMI, it seems to be very slow. But it does provide the functionality missing from WScript.Shell. In case it's of use to anyone, I've got a class that wraps the StdRegProv mess and exposes a clean set of functions: Exists CreateKey(Path) EnumKeys(Path, ArrayOut) EnumVals(Path, AValsOut, ATypesOut) GetValue(Path, Type) SetValue(Path, Val, Type) Delete(Path) www.jsware.net/jsware/scripts.php5#wmirclas |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Calling a VBScript from Access | VB Script | |||
| mfc dll calling clr? | .NET General | |||
| Calling Executable from VBScript | VB Script | |||
| How to do No hang up VBScript (nohup for VBScript) | VB Script | |||
| Vbscript calling DTS package | VB Script | |||