Run-time error '429': ActiveX component can't create object 
Author Message
 Run-time error '429': ActiveX component can't create object

Hi All,
sorry, I very bad speak english.

in my programme is fragment:

Dim FS, DC, D
Set FS = CreateObject("Scripting.FileSystemObject")
Set DC = FS.Drives
   For Each D In DC
   If D.DriveType = 2 Then s = s + D.VolumeName + vbCrLf
   Next
MsgBox s

if i run programme in another computer (without VB6), computer show error
message: "Run-time error '429': ActiveX component can't create object".
If i delete this fragment from programme, then programme working correct.
HELP ME.
Thanks.

Algis



Wed, 18 Jun 1902 08:00:00 GMT  
 Run-time error '429': ActiveX component can't create object
The computer you are running it on hasn't got 'scrrun.dll' which is needed.
It's part of 'Microsoft Windows Script', usually installed with Visual
Basic/Studio, IE5 & other products, like Win98.

The computer with the problem is probally a Win 95 machine with Netscape for
example or an old version of IE.

Go here:
http://www.microsoft.com/msdownload/VBScript/scripting.asp

W.


Quote:
> Hi All,
> sorry, I very bad speak english.

> in my programme is fragment:

> Dim FS, DC, D
> Set FS = CreateObject("Scripting.FileSystemObject")
> Set DC = FS.Drives
>    For Each D In DC
>    If D.DriveType = 2 Then s = s + D.VolumeName + vbCrLf
>    Next
> MsgBox s

> if i run programme in another computer (without VB6), computer show error
> message: "Run-time error '429': ActiveX component can't create object".
> If i delete this fragment from programme, then programme working correct.
> HELP ME.
> Thanks.

> Algis



Wed, 18 Jun 1902 08:00:00 GMT  
 Run-time error '429': ActiveX component can't create object
You need to add a reference to scrrun.dll file (in Windows system directory)
in your setup package.

For some reason (don't ask me) neither the VB P&D Wizard, nor InstallShield
detect automatically that scripting is used in your program, so you have to
add it yourself.

John


Quote:
>Hi All,
>sorry, I very bad speak english.

>in my programme is fragment:

>Dim FS, DC, D
>Set FS = CreateObject("Scripting.FileSystemObject")
><SNIP>
>if i run programme in another computer (without VB6), computer show error
>message: "Run-time error '429': ActiveX component can't create object".
>If i delete this fragment from programme, then programme working correct.
>HELP ME.
>Thanks.
>Algis



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Run-Time Error '429': ActiveX component can't create object

2. Run time error '429': ActiveX component can't create object

3. Run-time error '429': ActiveX component can't create object

4. Run time error '429': ActiveX component can't create object

5. Run-Time Error '429': ActiveX component can't create object

6. Run-time error 429 ActiveX component can't create object

7. Run time error 429 ActiveX Component can't create object

8. Run time error 429: Activex component can't create object

9. Runtime error '429', ActiveX can't create object

10. Run Time Error 429: Active-X component can't create object

11. Run-time Error 429 (ActiveX can't create object)

12. ActiveX component can't create object or return reference to this object (Error 429)

 

 
Powered by phpBB® Forum Software