run-time error 429

我有個VB程式,在XP上執行沒問題,現在換到新電腦,作業系統是WIN7,執行時會跑出"Run-time error '429', ActiveX component can't create object"

我使用的檔案元件是

fso = CreateObject("Scripting.FileSystemObject")

這應該怎麼解決呢? 感恩!

2 Answers

Rating
  • 8 years ago
    Favorite Answer

    權限不足,請按右鍵 "以管理員權限執行"

    即可

    Source(s): ME
  • 意憚
    Lv 7
    8 years ago

    先檢查你的系統目錄裡面有沒有 Scrrun.dll

    沒有的話就copy一份吧

Still have questions? Get your answers by asking now.