[RESOLVED] VB6 Microsoft Runtime Scripting is missing from Components list
I'm using VB6.
Trying to create a project and use FSO to read/write to a .txt file.
I'm unable to dim a variable as new File System Object when I create a new project. The option for File System Object does not appear...
I searched and found that I need to add Microsoft Runtime Scripting to my project, but that does not show up as an option.
Any Ideas? All help is appreciated.
1 Attachment(s)
Re: VB6 Microsoft Runtime Scripting is missing from Components list
Click on Project ---> References and go down to Microsoft Scripting RunTime
Re: VB6 Microsoft Runtime Scripting is missing from Components list
Where were you looking for it?
If in the list of Components then go to Project References instead.
If it's not listed there then hit the Browse button and manually navigate to
c:\Windows\System32\scrrun.dll
If file isn't there then download it from Microsoft and install it first and then try again.
Re: VB6 Microsoft Runtime Scripting is missing from Components list
Thanks for all the help I'll try this when I get home from work!
Re: VB6 Microsoft Runtime Scripting is missing from Components list
Thanks Mark and Rhino, you all were both right. I forgot that the Components and References look very similar. I feel like such a Noob.
It's been forever since I needed to use FSO. Thanks again.
Re: VB6 Microsoft Runtime Scripting is missing from Components list
It's good to know that you've managed to sort it out. :afrog:
It would also be nice if you mark this thread as resolved by pulling down Thread Tools menu.