Jump to content

VBScript in VB6 429 ActiveX Error...


ShrimpBoy

Recommended Posts

Hi!

I've created a WinPE CD...

I added BUILDOPTIONALCOMPONENTS with all swiches available to support vbs files and everything else...

I've created an application in vb6 that do this...

Dim WshShell As Object

Dim ObjExec As Object

Set WshShell = CreateObject("WScript.Shell")

Set ObjExec = WshShell.Exec("something.exe")

I have an error:

Run-time error '429':

ActiveX component can't create object

I've checked in my registry, everything that is supposed to be written by OC.bat is there...

What is missing???

Thanks!

ShrimpyOne

Link to comment
Share on other sites


Buildoptionalcomponents will add the support for HTA, ADO and scripting host.

It will not add support for native vb6 programs. For that you need the vb6runtime files. If you place the runtime files and your app in the same folder you want have to register the dll:s on server2003sp1 and xpsp2 based pe

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...