troubleshooting Question

Invisible Enums?

Avatar of d_m_jackson
d_m_jackson asked on
Visual Basic Classic
5 Comments1 Solution1017 ViewsLast Modified:
Hi. I want to use the Scripting FileSystemObject to obtain the path of the system temporary folder i.e. mscrFileSystemObject.GetSpecialFolder(TemporaryFolder). Why does intellisense not offer me the option of choosing from the defined list of enumerated constants for this function?

Using the Object Browser, I am able to see that the members of SpecialFolderConst are defined as follows SystemFolder = 1, Temporary Folder = 2, WindowsFolder = 0. However, I don't get the intellisense prompt for these as I might expect to. I'd much rather use mscrFileSystemObject.GetSpecialFolder(TemporaryFolder) than mscrFileSystemObject.GetSpecialFolder(2).
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros