Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default FileSystemObject Error

Help!

I have programed a couple of vba functions using the fso
on a stand-alone machine successfully. Migrating to a
network based PC causes the following error

for the code:

Dim fso as Obect
Set FileSystemObj = CreateObject
("Scripting.FileSystemObject")

Error Message:
Run-time error '429': ActiveX component cannot create
object

I have tried to follow the Microsoft Knowledge Base
Article - 244264 on verifying driver versions, and all are
in sync.

Has anyone solved this one successfully?

TIA,
AlexJ
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default FileSystemObject Error

Alex

Try here

http://www.google.com/groups?threadm...%40tkmsftngp02

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"AlexJ" wrote in message
...
Help!

I have programed a couple of vba functions using the fso
on a stand-alone machine successfully. Migrating to a
network based PC causes the following error

for the code:

Dim fso as Obect
Set FileSystemObj = CreateObject
("Scripting.FileSystemObject")

Error Message:
Run-time error '429': ActiveX component cannot create
object

I have tried to follow the Microsoft Knowledge Base
Article - 244264 on verifying driver versions, and all are
in sync.

Has anyone solved this one successfully?

TIA,
AlexJ



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 85
Default FileSystemObject Error

Thanks, Dick.
I'll be able to follow up in the next day or so.
AlexJ
"Dick Kusleika" wrote in message
...
Alex

Try here

http://www.google.com/groups?threadm...%40tkmsftngp02

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"AlexJ" wrote in message
...
Help!

I have programed a couple of vba functions using the fso
on a stand-alone machine successfully. Migrating to a
network based PC causes the following error

for the code:

Dim fso as Obect
Set FileSystemObj = CreateObject
("Scripting.FileSystemObject")

Error Message:
Run-time error '429': ActiveX component cannot create
object

I have tried to follow the Microsoft Knowledge Base
Article - 244264 on verifying driver versions, and all are
in sync.

Has anyone solved this one successfully?

TIA,
AlexJ





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 85
Default FileSystemObject Error

Well .....
It turns out that the machine we were testing on had not installed the
driver for FileSystem Object correctly. (Other machines on the same network
operated just fine).

On the troubled PC the driver (scrrun.dll) was up to date and in the correct
(System32) directory, but the Microsoft Scripting Runtime selection box
under VBE ToolsReferences was not available. Selecting <Browse,<
scrrun.dll makes the driver available in the list.

Before trying the early-binding example Dick has referenced, we tried the
late-binding approach as originally coded, and this now works.

Thanks, Dick, for pointing us down the right path!

Alex J

"Alex J" wrote in message
.. .
Thanks, Dick.
I'll be able to follow up in the next day or so.
AlexJ
"Dick Kusleika" wrote in message
...
Alex

Try here

http://www.google.com/groups?threadm...%40tkmsftngp02

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"AlexJ" wrote in message
...
Help!

I have programed a couple of vba functions using the fso
on a stand-alone machine successfully. Migrating to a
network based PC causes the following error

for the code:

Dim fso as Obect
Set FileSystemObj = CreateObject
("Scripting.FileSystemObject")

Error Message:
Run-time error '429': ActiveX component cannot create
object

I have tried to follow the Microsoft Knowledge Base
Article - 244264 on verifying driver versions, and all are
in sync.

Has anyone solved this one successfully?

TIA,
AlexJ







Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scripting.FileSystemObject Leif Rasmussen Excel Discussion (Misc queries) 1 January 12th 05 11:21 PM
Using FileSystemObject to get File tod Excel Programming 2 January 9th 04 04:30 PM
Scripting.FileSystemObject LAN Mirom Excel Programming 0 January 3rd 04 06:30 AM
Creating FileSystemObject Kirk[_2_] Excel Programming 2 September 9th 03 10:24 PM
Help with FileSystemObject? Ed[_9_] Excel Programming 2 August 5th 03 12:08 AM


All times are GMT +1. The time now is 01:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"