Results 1 to 6 of 6

Thread: [RESOLVED] VB6 Microsoft Runtime Scripting is missing from Components list

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2007
    Posts
    70

    Resolved [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.

  2. #2
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Re: VB6 Microsoft Runtime Scripting is missing from Components list

    Click on Project ---> References and go down to Microsoft Scripting RunTime
    Attached Images Attached Images  
    Regards,

    Mark

    Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."


  3. #3
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    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.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Aug 2007
    Posts
    70

    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!

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Aug 2007
    Posts
    70

    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.

  6. #6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width