PrimalScript 2017, v7.3.98
32 or 64 bit version of product:
Windows 7 Enterprise, 64bit
I have the following code and my understanding is that as I'm typing strFilePath = objFile, intellisense should present options (methods) available in objFile. Am I correct and there is a problem with my installation or am I just making stuff up?
David
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder(objStartFolder)
Set objFileOutput = objFSO.OpenTextFile(strFileOutput,2)
WScript.Echo "Root folder Being Enumerated: " & objFolder.Path & vbcrlf
WScript.Echo "Files Found: " & vbCrLf
Set colFiles = objFolder.Files
For Each objFile In colFiles
intcount = intcount + 1
WScript.Echo " File: " & objFile.Name & vbCrLf
WScript.Echo " Permissions: " & vbCrLf
strOutput = strOutput & objFile.Name & ","
strFilePath = objFile.ParentPath
strFileName = objFile.Name
binFolder = False
Call get_Security(objfile,strcomputer,binFolder)
Next
vbscript intellisense
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Re: vbscript intellisense
It's likely having a hiccup on the For Each statement, so it doesn't know objFiles even exists.
It's been a while since anyone looked at VBScript, so give me a few days to have a peek.
It's been a while since anyone looked at VBScript, so give me a few days to have a peek.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: vbscript intellisense
Thank you. The joys of working on really old servers. I would prefer to be using PowerShell.
David
David
Re: vbscript intellisense
Alexander, have you been able to make any headway on this issue?Alexander Riedel wrote:It's likely having a hiccup on the For Each statement, so it doesn't know objFiles even exists.
It's been a while since anyone looked at VBScript, so give me a few days to have a peek.
David
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Re: vbscript intellisense
It's scheduled to be addressed. Unfortunately I cannot promise a specific date at the moment.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.