MSFN Forum: VBScript in VB6 429 ActiveX Error... - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

VBScript in VB6 429 ActiveX Error... Rate Topic: -----

#1 User is offline   ShrimpBoy 

  • Master Shrimp!
  • Group: Members
  • Posts: 43
  • Joined: 15-February 05

Posted 03 October 2005 - 01:01 PM

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


#2 User is offline   ShrimpBoy 

  • Master Shrimp!
  • Group: Members
  • Posts: 43
  • Joined: 15-February 05

Posted 03 October 2005 - 02:38 PM

Hi!

Problem solved!

The problem was that the Dll files weren't registered correctly!

Thanks to me!

ShrimpyOne

#3 User is offline   mats 

  • Member
  • PipPip
  • Group: Members
  • Posts: 206
  • Joined: 10-May 05

Posted 04 October 2005 - 03:32 AM

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy