Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Activex Component Can't Create Object Error ?


Hello;
I made setup package to install my program to client computer but after instalation on client computer program gives "Activex Component Can't create object" when try to run my app. I know miss some component to put my setup package or maybe there are corrupted component on it but i couldn't find which one.
How can i find missed or faulty component ?
Thanks




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
ActiveX Component Can't Create Object Or Return Reference To This Object (Error 429)
MSDN talks about the "registry" and "setup program". I'm a beginner and CLUELESS! I tried to install Active X references and got the following notice: Name conflicts with existing module, project, or object library. The last line is where I get the run-time error in VB6:

Dim ppApp As PowerPoint.Application
Dim ppPres As PowerPoint.Presentation
Dim ppShape As PowerPoint.Shape
Dim ppCurrentSlide As PowerPoint.Slide
Dim msoTrue As New OLEObject
Dim msoFalse As New OLEObject
Dim oPicture As New OLEObject

Set ppApp = CreateObject("PowerPoint.Application")
ppApp.Visible = True

Set ppPres = ppApp.Presentations.Add(msoTrue)

Hope someone can help me....thanks Warren

ActiveX-Error 429-ActiveX Component Can't Create Object
I am having this message when doing interfacing with MATLAB as the following codes
<vbcodes>
Set MatLab = CreateObject("Matlab.Application")
</vbcodes>

What should I do. I am using Windows XP Professional. Is that version doesn't support ActiveX for interface with Matlab?
Tq

Error 429: Activex Component Cannot Create Object.
My application run fine, but sometimes I have the error 429
(activex component cannot create object) in this line:

Set acApp = CreateObject("Access.Application.9") '******'

I can sometime execute the application 20 times before the error occur.

my code:
Dim acApp As Object
Set acApp = CreateObject("Access.Application.9")
Dim path As String
path = curdir & "WeightScale.mdb"
With acApp
.OpenCurrentDatabase path
.DoCmd.OpenQuery "UpdateNull"
.CloseCurrentDatabase
End With
Set acApp = Nothing
If chexbox.Value = Checked Then
Set acApp = CreateObject("Access.Application.9") '******'
With acApp
.OpenCurrentDatabase CurDir & "db2.mdb"
.DoCmd.OpenQuery "DelOldPO"
.CloseCurrentDatabase
End With
Set acApp = Nothing
End If

Please Help. (VB6.0 with sp 5.0)

ActiveX Component, Cant Create Object Error
Hey, i am having a little problem, i am writing an applcation to automate some wordperfect merge files.

for some reason when i do this:

Set objWP = New WordPerfect.PerfectScript

it has a tendency to freeze.. and give me an "ActiveX Component, cant create object" error

it does not freeze every time, just about 1/2 the time.

when it crashes it bring up the "switch to" / "retry" box first, before giving me this error..

any help would be great.

-Jason

Activex Component Canīt Create Object Error
hi!
I really need help here...
I have one application that uses access reports, and it must
run with msaccess97 or access2000 depending the users msoffice. It runs perfectly with access97 but with access2000
it gives me an 429 error "Activex component canīt create object"

in "Set acc = New Access.Application"

I have DAO 3.6 Object Library and Access 9.0 object library
references checked.

here is the code,
thanks in advance

Dim acc As Access.Application
Dim db As DAO.Database
Dim strDbName As String
CommonDialog1.ShowPrinter
strDbName = "C:Safirasafira.mdb"
Set acc = New Access.Application
Set db = acc.DBEngine.OpenDatabase(strDbName, False, False, ";PWD=Sporting")
acc.OpenCurrentDatabase strDbName
acc.DoCmd.OpenReport "Proposta"
db.Close: Set db = Nothing

Error 429 - ActiveX Component Can't Create Object
I don't have this problem on my machine, but when testing the installation on another machine (well Virtual PC) i get the error:

Error 429 - ActiveX component can't create object

I know what this error means, but I don't know why I am getting it.

I have the following code in my MDIForm Load, which refers to a dll (vbsystraytools.dll) and after checking on Virtual PC, this dll is in the system32 folder and I assume it's registered (not quite sure how to check this).
BTW: lngSysTray is a registry value for the option of minimising to the system tray

Code:
'Declarations
Public WithEvents mobjSysTray As vbSysTrayTools.SysTray

'Form_Load
Set mobjSysTray = New vbSysTrayTools.SysTray
Set mobjSysTray.ImageList = imgMO

With mobjSysTray
.Icon = 1
.Menu.Add "Show", "SHOW"
.Menu.Add "Hide", "HIDE"
.EnableMenu = True
End With

If lngSysTray = 1 Then
mobjSysTray.Visible = True
Else
mobjSysTray.Visible = False
End If

Error 429 ActiveX Component Can't Create Object
I am using the following statement in VB 6.0 to create outlook object.

Set m_olapp = CreateObject("Outlook.Application")
Set m_nspNameSpacee=m_opApp.GetNamespace("MAPI")
Set m_olContacts=m_nspNameSpace.GetDefaultFolder(olFolderContacts).Items

On Vista if I run my application, it works fine as long as outlook itself is not open. If I open outlook and then run my application then I get "ActiveX component can't create object" message. I am using outlook 2007.

Can someone let me know what I am doing wrong?

Thanks in advance

Error : ActiveX Component Can't Create Object In VB 6.0
Hi all,

i have created the vb appliaction which use access as backend now i have the windows 2000 access but my client having the 97 access after creating package of application i send it to him and when he installed it at his end the appliaction show the error ActiveX Component Can't Create Object in VB 6.0 as Message Box at Start of application each time and then it open the appliaction, Can any one tell me Why this error is occure and how can i remove it ??

Thanx in Advance,

Regards,

Nilesh Thakur.

ActiveX Component Can't Create Object Error
Hi,
I used the Package tool to generate a setup package for my project group. I installed it on my developping machine and run it, no problem. I installed it on the target machine and run my program, one module generated this error. Any suggestions? Thank you very much.

ActiveX Component Can't Create Object Error
Hey

I have a program that runs fine when I am running it with the F5 key in VB 6.0 but once I "make the project" into an .EXE file I get this error everytime I try to open/run the program

"Run-time Error '429:
ActiveX component can't create object.


And then I click OK and it terminates the program..
Any Idea how to fix this one?

Anyone??

Oh thats it! I am getting a head ach! I gotta go to bed
Thanks guys!

Please Help! - Error 429 ActiveX Component Can&#039;t Create Object
Hi,

this is doing my head in and any help would be greatly appreciated.

I have a program in VB6.0, NT4.0 which sets some settings in the registry. It works fine on my machine, but comes up with the dreaded 429 error when run from a remote (VB-less) install. The only funky part of the program is the bit that accesses the registry, and that is initiated by the following API call:


Code:
Private Declare Function RegOpenKeyEx Lib "advapi32" Alias "RegOpenKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, _
ByVal ulOptions As Long, ByVal samDesired As Long, ByRef phkResult As Long) As Long



I have all the DLL's I can think of in the directory. And I'm not too sure about what is involved in registering activeX's or whatever, so I haven't done much of that.

There is a similar API call used in the standard VB about dialog box, so if I create a blank project and add an about form, it also does not work on a remote install.

I've read all the stuff I can find (on the web and in MSDN) about this error, but not much of it makes sense to me, or help's me in solving this problem. Anyone got any ideas?

Mark.

[Edited by markdav on 04-09-2000 at 11:21 AM]

Error 429 ActiveX Component Can't Create Object?
Hi if somebody can help me with this problem. I have an application that uses Microsoft ADO Data control 6.0. I've deploy my aplication with the Package & Deployment Wizard that comes with vb. Then i deploy my application in the same machine that I am doing the development and it works fine. After that i hava to do some changes to my project but when i opened I notice that there was a problem loading this control Microsoft ADO Data control 6.0 and i don't know why and when I tried to add the component it says i already have a reference to it. After that ocurrs I run again the old instaler but it gets me this error: runtime error '429' Active x component can't create object

Error 429 ActiveX Component Can't Create Object?
Hello everybody
I'd Known if someone can help me about a problem with my project.
So I made a connection with an Access Database and then i did a query. In my computer everything works but if i make run the .exe in another computer it appears the runtime error ?429, ActiveX component can't create object?
i found a lot of information in internet but i would known if there is a easy way to make the project run in all system
thanks a lot

Error 429 (ActiveX Component Can't Create Object.
Hi Everyone,

I have tried to resolve two errors that have been reported with my application, with no success.  The other error with the same application was error 713 (please refer to another post that I made and tried the suggestions without success). Post thread222-1155350

My application can be downloaded at http://www.besware.com/applications/movielibrary/movielibrary.htm.  Just click the try button to download.

I know this is asking a lot but I would really appreciate a resolution to this problem.  I was not aware of this issue on my developement machine but I finally got a cheap computer and installed XP and I was able to get the same error that everyone else is reporting to me.  The only users who do not report this issue are the ones that have MS Access install on there machines.



Thank you for all your help

www.besware.com
Tom

Error 429, ActiveX Component Can't Create Object...
The following code worked well untill I reformatted my HDD.
Now it returns the message "Error Number: 429" which means
"ActiveX component can't create object or return object (version 97)"
I've search several forums but found no solution to my problem.
I'm running VBA 6.0 in Excel 2000 on Win98SE.

Any ideas how to correct this?

Thanks.

Code:Sub test()
Dim IE As Object, HTML As String
On Error GoTo HandleError
    Set IE = GetObject(, "InternetExplorer.Application")
    While IE.busy: DoEvents: Wend
    HTML = IE.Document.Documentelement.InnerText
' process HTML
    Cells(1, 1) = HTML
    GoTo OverError
HandleError:
    Err.Number = MsgBox("Error Number: " & Err.Number)
    GoTo OverError
OverError:
    On Error Resume Next
End Sub

 

ActiveX Component Cant Create Object Error
I am trying to call a ActiveX Object written in VB6.0 in eVB. But everytime I execute the program eVB I get error "ActiveX Component cant create object. The Object is a simple program with just a few lines of code to add 2 numbers. I am using Pocket PC 2002 Emulator to execute and debug the program

Any help is appreciated!

Thanks
Neels

ActiveX Component Can't Create Object - Error No. 429 And TLV
Hi!
I've designed a db-software which contains a crystal reports viewer control (crviewer9.dll) to view some crystal reports (no maps, no charts).
If this software is installed on a computer where the crystal report 9 sofware isn't available I get the following error:
"ActiveX component can't create object - Error No. 429". On the developer computer where CR9 is installed it works fine.
I've placed the required DLL's craxddrt9.dll craxdrt9.dll and crviewer9.dll in the correct folders and registered them manually with
regsvr32 (software should run on winXP clients). The mdac 2.7 I've installed as well... I've tried to find help in the CR9 helpfile CrystalDevHelp.chm but all information in there doesn't take effect. So now where's the problem? The only way to run the software on other computers is to install CR9...but that's no proper way to fix this problem Please help

Error-429 Activex Component Cant Create Object
hi,


  I developed one application in VB6, access and crystal report . i run this exe from network and it is working fine with all PC Except one only in that one PC iam getting the error that " Error 249 ActiveX Componenet can't Create Object" Iam not understanding why this is happening in that PC only i checjed all the configuration and it is same as other PC. Please Help me Solving this problem ASAP.

Waiting for response .
thx in advance
Regards
Madhuri

Error '429' ActiveX Component Can't Create Object
i want to use MSN Messenger API with LoadLibrary() but when i run my program.it said error '429' ActiveX component can't create object
how can i fix this error?

this is my code
---------------------------------------------------------------------------

Private Declare Function LoadLibrary Lib "kernel32" Alias "LoadLibraryA" (ByVal lpLibFileName As String) As Long

Private Sub Form_Load()

lb = LoadLibrary("C:Program FilesMessengermsmsgs.exe")
lb2 = LoadLibrary("C:Program FilesMessengermsmsgs.exe2")
lb3 = LoadLibrary("C:Program FilesMessengermsmsgs.exe3")


Dim msn As Object
Set msn = CreateObject("MessengerAPI.Messenger")
End Sub

----------------------------------------------------------------------------


thanks in advance

Error: ActiveX Component Can't Create Object
Hello.

I have ActiveX DLL with Public type and method that recieved array of this type and fill it here is the code:
public Type Typ1
ID as Integer
sName as string
End Type


public Function FillType (arrT() as typ1) as Boolean
...
Redim arrT(0 to 3) as typ1
arrT(0).ID = 1
arrT(0).sName = "Name1"
...
arrT(3).ID = 3
arrT(3).sName = "Name3"
FillType = true
End Sub


I call the function like thisim Obj as new MyObj.MyClass
Dim MyArr() as Typ1

ret = Obj.FillType(MyArr)


The function work OK, it fill the array but when it return to the caller I get this error:
"ActiveX component can't create object"

I try to change the declaration to Variant (and array of variant) and it didn't work olso.

I dont know what to do and it urgent for me.

Is any body can help me here ?

Thanks for any help.

Error 429-activex Component Can't Create Object
I have vb database application which uses dao
on some machines when program tries to open database with OpenDatabase command, it crashes with following error
"Error 429-Active X component can't create object"
I got description of this error from MSDN but I am not sure exactly how to apply to my applicaiton.
Can anybody help me to resolve this error?
Thanx in advance
sameer!!!

Runtime Error 429 Activex Component Cannot Create Object
I created an activex dll and referenced it in a standard exe. When I installed this on another machine, I get the following error
"runtime error 429; activex component cannot create object"

Is this happening because the referenced activex dll is not registered on the new machine. Could anyone explain me how to solve this?

Thanks
Lata

Run-Time Error '429'. ActiveX Component Can't Create Object
Hi:

Dim session As New notessession
session.Initialize
TextUserName = session.UserName
Set session = Nothing

The above codes runs fine in my computer installed with VB6. After I package it as a setup.exe and installed to another computer, the program did not run but gave me the error code 429.

Please help and appreciated!

Rgds-Jack

Run-time Error '429' ActiveX Component Can't Create Object
hi

as i was running the code in excel 2000 using marco but i keep having this error

Run-time Error '429' ActiveX component can't create object

then when i click on the debug button it show this error stmt
Set objFSO = CreateObject("Scripting.FileSystemObject")

p/s:it work fine on other pc but it cannot work on mine.. isit tat my pc din install properly???

pls help...

thanks in advance!!!

Run-time Error '429': ActiveX Component Cant Create Object
i get this error and it highlights this like


Code:
Set DDraw = DX.DirectDrawCreate("")

and i get this error in a game that i played every day and it didnt happen before... i think its something with directx

and yea i downloaded directx9b and installed it a sec ago.. and still the same problem.

any ideas how to fix this?

thanx..

Run-time Error '429': ActiveX Component Can't Create Object
i have been working on this bug for a week and now i am at a total loss

i posted a quick ? about it here but didn't get very far with it

i've included a sample of code that mimicks what my program does

can anyone help me??

it runs just fine on a machine with VB on it, but get one without and it wont run, it just comes up with an error.

then if you install vb on that same machine it'll run

even if you then uninstall windows

i know about this binary incapability problem (which is the responce i got before) but i don't think it really apply's here (obviously)

HELP

Runtime Error 429: ActiveX Component Can't Create Object
There is a command button simply containing the code End in my project. However, if I run the project in the VB environment and click the button, the whole VB environment will abruptly end: no hanging, it just closes. If I run a .exe compiled version of the project and do the same thing, 'Run-time error '429': ActiveX component can't create object' comes up and the program ends itself. Any clues?

Run-time Error '429': ActiveX Component Can't Create Object
Hi,

I have a VB 6.0 Application that is packaged and then installed on laptops. The application was created using a Windows 98 machine and has been used on these machines for over a year. We are now getting XP machines and I tried to install the application on the new machine . Everything works fine expect when I press the button that actually opens the Access Database so the user can run reports and queries. When I press the button I receieve the following error:
"Run-time error '429': ActiveX component can't create object".

Any ideas would help!!
Thanks!
Maggie


The code behind the button is:

Sub cmdReport_Click()
Dim appAccess As Access.Application
Dim strFormName As String

strFormName = "frmQuarterCloseButton"
Set appAccess = New Access.Application
appAccess.OpenCurrentDatabase gsDatabaseName
'appAccess.UserControl = True
appAccess.DoCmd.OpenForm strFormName

appAccess.DoCmd.GoToControl "cmdQuarterCloseDisplay"
MsgBox "Go to Access to View Reports and Click OK when finished"
appAccess.CloseCurrentDatabase
appAccess.DoCmd.Quit
End Sub

Run-Time Error 429: ActiveX Component Can't Create Object
Hello,

I hava an ERROR code 429 With This Syntax :

Dim cdlOpen As Object

Set cdlOpen = CreateObject("MSComDlg.CommonDialog")

With cdlOpen
.CancelError = True
.FilterIndex = 1
.DialogTitle = getWord("Open") & " " & getWord("Files") & "..."
.MaxFileSize = &H7FFF
.Flags = &H4 Or &H800 Or &H40000 Or &H200 Or &H80000
.ShowOpen
sFilenames = .FileName
End With
....


The ShowOpen gives an error stating:

Run-time error '429':

ActiveX component can't create object

This code works on my computer but not on others. I have installed the VB6 Runtime package but that did nothing...

Any help would be very appreciated.

Thank u, Roy.

Run-time Error '429': ActiveX Component Can't Create Object.
I have two DLL files located in my application path and
WindowsSystem path.
One of the DLL files performs Encryption, and the
second one is for other purpose. The DLL used for
Encryption is giving problem.
When I make EXE file of my application, and run on the
Win98 environment where Visual Basic 6 is installed,
it works fine. But when I run my application on a
system where VB6 is not installed, it displays an error:
------------------------
Run-time error '429':
ActiveX component can't create object.
------------------------

I even prepared "Setup" for my application by using
"Package and Deployment Wizard", but then also the
same error is displayed. I then installed "VBRUN60SP5",
but the problem persists.

Which file is required by Visual Basic?

Runtime Error '429' ActiveX Component Can't Create Object
Hi,

I have created an application which uses Excel as the front end and saves the data to a MS Access database, within this application are several stand alone reports which when opened up calls in data from the database and shows the data in charts and graphs etc. The users can select different timescales in which they want to view the data.

My problem is that all this was working fine until one day i go to open up one of the reports and the error Runtime Error 429 ActiveX Component can't Create Object. This has happened to all the reports and application, no changes have been made to suggest any obvious problems, also this only occurs on my machine if anyone else opens it up on there machine it works fine. Anyone with any ideas to this problem it would be most appreciative.

Cheers

Jay

VBA Runtime Error 429 ActiveX Component Cant Create Object
Hi there

I am using Excel and VBA.

I am getting this error 429 only on certain machines.

The line of code that it bombs with is this ....

Code:

Set ws = CreateWorkspace("A", "", "", dbUseODBC)



ws is a workspace

I have searched all over the net and cant find an answer that helps me.

I have registered all the dll's I think , I have no idea what dll/ocx's my program is using.
Under tools/ references I have added Microsoft DAO 3.5 object library.

I am running windows2000 and office 97 - it works
other machines that it doesn't work on are ...

XP Pro and Office 97 , and windows2000 office 97.

I have the lateset MDAC installed on all the machines.

PLEASE HELP!!!

Run-time Error 419 ActiveX Component Cant Create Object
Hello,

I am getting this error at the following line:

Set objStatus = CreateObject("Status.clsStatus")

I know what the error means, it usually means that some sort of DLL or OCX is not registered however that cannot be the case here because I have all the DLL's and OCX's registered (unless they are corrupted than I'm not sure which one it would be)

This is not my code so I'm not exactly sure but I think Status.clsStatus is support to create a Crystal Reports object because that's what needs to be done within that function.

The following code is my full function:

P.S I CAN NOT change anything in the code because it works fine on the developers machine just doesnt work on the client matchine, but I thought I would post it for a better understading of whats going on.

Thanks alot in advanced.

Regards,

Erena V.

Run Time Error 429 : Activex Component Can't Create Object
Hi all,

It is very urgent please help I'm getting this error (Run time error 429 : Activex Component can't create object) when try to make adodb connection to any provider. I'm using following code :

dim cnn as adodb.connection

set cnn=new adodb.connection ----> error occur at this point

cnn.open "provider=provider name; data saource = datasource name;"

Please help me urgently

Thanks in advance

Regards

Jind

Run-time Error '429' ActiveX Component Can't Create Object
Hi,

I have an application which runs fine on my development PC which is running Win 2K, but when I try and run the same app on an NT machine, it fails and returns the above error.

I have searched the web for an answer and have done the recommended steps such as registering scrrun.dll.

The line of code where it is failing is the following...

Set m_oUtrac = New Utrac.cUTRACFile

This is calling a dll which I have created. I have also registered this using regsvr32.

Does anyone have any ideas what could be causing this?
Getting desperate!

Thanks for any help,
Robin

Run-time Error '429': ActiveX Component Can't Create Object.
Dear friends,

I have developed a program in vb 3.0 before 3 years, compiled it, copied all required dll files to the compiled program directory, and the compiled program worked fine on all computers.

Recently, I have updated the program to vb 6.0. The program creates an access97 database while running. The program works fine in the development environment, but when i tried to test the program on a stand alone pc where vb & jet database engine is not installed, I am getting following error. Although I have copied the required dll files, but I think some files are still missing and I can't figure out the missing dll file. Following is the actual error and the statement causing error on a machine without a jet database engine.

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

The error occurs in the following statment. tempFileName is the variable name in which the name of the file with full path is stored. The path exists and the statement works fine in the development environment but gives error in compiled program on a new machine.

Set db = CreateDatabase(tempFileName, ";LANGID=0x0809;CP=1252;COUNTRY=0", 4)

I have copied the following dll and other files to my program directory but still I am getting error running compiled program on a new machine. Can any one help me figure out the missing file, which I can place in my program directory to avoid error no. 429. Thank you.


 Volume in drive C has no label
 Volume Serial Number is 3845-11DD
 Directory of C:Program Filesmy program

. <DIR> 09-30-03 2:56p .
.. <DIR> 09-30-03 2:56p ..
DAO350 DLL 570,128 04-27-98 12:00a DAO350.DLL
MSVBVM60 DLL 1,409,024 12-09-98 9:58p MSVBVM60.DLL
OLEAUT32 DLL 598,288 03-10-99 10:24a OLEAUT32.DLL
ACCESS97 MDB 67,584 09-17-03 1:57p access97.mdb
EXPSRV DLL 379,152 11-05-98 9:21a EXPSRV.DLL
MSJET35 DLL 1,045,776 04-24-98 12:00a MSJET35.DLL
MSJINT35 DLL 123,664 04-24-98 12:00a MSJINT35.DLL
MSJTER35 DLL 24,848 04-24-98 12:00a MSJTER35.DLL
MSRD2X35 DLL 252,176 04-24-98 12:00a MSRD2X35.DLL
MSREPL35 DLL 407,312 04-24-98 12:00a MSREPL35.DLL
MSVCRT40 DLL 326,656 01-28-99 1:59p MSVCRT40.DLL
VB5DB DLL 89,360 06-18-98 12:00a VB5DB.DLL
VBAJET32 DLL 30,992 11-05-98 9:21a VBAJET32.DLL
OLEPRO32 DLL 164,112 03-10-99 10:24a OLEPRO32.DLL
ASYCFILT DLL 147,728 03-10-99 9:40a ASYCFILT.DLL
STDOLE2 TLB 17,920 03-10-99 10:24a STDOLE2.TLB
COMCAT DLL 6,144 06-12-98 12:24p COMCAT.DLL
ACCESDIR EXE 262,144 09-29-03 3:59p accesdir.exe
============================================================
Thank you.

Runtime Error 429 - ActiveX Component Cannot Create Object
I started developing my VB6 - MySQL application on one laptop and everything was fine. Then I wanted to continue to develop it on a new laptop but it gives the message "runtime error 429 - ActiveX component cannot create object" when I try to run it from within VB6 or if I try to compile it. However, if I compile it on the old laptop I can run the resulting executable on the new machine. I hope someone has a solution to this because I would reallly like to continue the development on the new machine.

The first laptop is running XP pro and the second one is running a recent version of XP home. Both are running the same VB6 with service pack 6. Perhaps the two different versins of XP are giving the problem ?

Thanks.

Runtime Error '429' : ActiveX Component Can't Create Object
Hi All,

I am currently working on this application, where one of the many references uses a DLL that refers to a third party DLL.
My problem is that I get the runtime error: "Runtime Error '429' : ActiveX Component Can't Create Object".

I know it is not the code, because the same code with the same references on another pc, does not get this error.
It could be that a .ocx or .dll is missing somewhere on my pc, but how do I find out which one and how do I obtain it?
I am using VB6 connecting to an xml file request.
I have tried various downloads (ex. VB6CLI.exe etc..) but stil it won't work.

If anyone can assist.

Runtime Error 429: ActiveX Component Can't Create Object
Hello,

I have made a Visual Basic application that uses Jet engine (DAO 3.51).
I want to put the program and database on CD, and I want the user to run my program from CD
without Setup.

So my program checks the system every time it starts to run, If it finds that a required ocx od dll
is not available on the system it copy the file and register it.

To get the files required for my program, the "Package & Deployment Wizard" make the "Setup1.lst"
file, which have all the required File for my program. So, I copy these files
and tested the program on Windows 98 pure, but the following error occurs:

*******************************************
* Runtime error 429 *
* *
* ActiveX component can't create object *
*******************************************

I think the problem cause is due to DAO files registration:
I will till how I register the DAO files, may be you can help me finding the problem cause:

in the "Setup1.lst", the following line copy the "dao350.dll" to $(MSDAOPATH)
which is "C:Program FilesCommon FilesMicrosoft SharedDAO", and then register it:

File21=@dao350.dll,$(MSDAOPath),$(DLLSelfRegister),$(Shared),4/8/98 9:42:24 AM,570128,3.51.1608.0

but in my program, I copy this file to "C:WindowsSystem" and register it using "regsvr32.exe"
I also copy all files to "C:WindowsSystem" it they don't exist. and then register those that
have to be registerd using "regsvr32 /s"

Other files that I copy for DAO are: "msjint35.dll", "msjter35.dll", "VBAJET32.DLL",
      "msrd2x35.dll", "EXPSRV.DLL", "MSREPL35.DLL" and "MSJET35.DLL"

I want to mention that there are two files in "[Bootstrap Files]" section the I didn't
copy. I don't know what they are used for, they are

File6=@STDOLE2.TLB,$(WinSysPathSysFile),$(TLBRegister),,6/3/99 1:00:00 AM,17920,2.40.4275.1
File7=@ASYCFILT.DLL,$(WinSysPathSysFile),,,3/8/99 1:00:00 AM,147728,2.40.4275.1


I have one more question, what is the difference between $(WinSysPath) and $(WinSysPathSysFile)

Thanks for your time,
Belal Marzouk

Runtime Error 429 (ActiveX Component Can't Create Object)
I created a visual basic 6.0 program that displays & prints Crystal Reports 7 reports. When I run it on my machine it works fine. I created a package and installed it on client machines.

when i run the program on client machine everything works fine except I cannot run reports. When I try to generate the report I get the following error:

Error 429: ActiveX component can't create object

Here is the code where I get the error

Code:Set crAppn = CreateObject("CrystalRunTime.Application")
Set cReport = crAppn.OpenReport("C:
eportDLInternal.rpt")

What I have to do to get it running on the client machines?

ActiveX Component Can't Create Object; Runtime Error '429'
Hello to all,

I have made a program and it's already finished ready to install. But the problem is when i installed to the other desktop and run, error occured a Runtime error '429' ActiveX Component can't create object.

What is this?

As I've understand maybe this is for the components that I've added in my apps.

So I edit my app, by adding the code below
[vbcode]
If Dir("C:windowssystem32" & filename) = "" Then
FileCopy App.Path & "" & filename, "C:windowssystem32" & filename
Shell ("regsvr32 " & App.Path & "" & filename), vbHide
End If
[/vbcode]

Help and ideas are really appriciated.

I'm not good in english...sorry

noister

Run Time Error: ActiveX Component Cant Create Object
Hi,

I have created a addin to outlook. I need to invoke a subroutine from this addin at regular intervals(scheduled task). So I have written an entry_Point() subroutine which performs the function desired.

Since its a scheduled task,i am using batch file to run a .exe project. This exe project has a class with methods that creates instance of Connect of dll<Addin> and calls the entry_Point subroutine.

When the schedule task executes the flow of execution stops at a point in entry_Point subroutine of dll where the following code exists

----here is the declaration required such as olapp and objns etc

**Set olapp = CreateObject("Outlook.Application")
Set objNS = olapp.GetNamespace("MAPI")
Set colContactItems = objNS.GetDefaultFolder(olFolderContacts).Items
---
---
---

error occurs at line marked **

this error occurs only when the batch file executes at its scheduled time.
If i run the exe directly by double clicking the exe file or from dos prompt than the execution takes place smoothly without any error.

Can any one help me. I am not getting how to debug it either as its runtime error.

Error 429 - Activex Component Cannot Create Object - Vbscript Runtime
Hi,

I've been trying desperately for the past 3 days to get this working.
I have created a simple activex dll which just has a single property.I package and deploy using the vb6 package and deployment wizard. Everything works fine when i test it in the ide using another project std exe. However whenever I try to create the object in vbscript i always get the error 429 or 424 - Object required.

The code looks as follows:
################################################
'the Class1 class module
Private vlogger As String

Private Sub Class_Initialize()
MsgBox "we are here"
End Sub


Public Property Get logger() As String
MsgBox "heelo"
logger = vlogger
End Property

Public Property Let logger(ByVal vNewValue As String)
vlogger = vNewValue
End Property

###############################################

'the vbscript code
Dim enerclient

Set enerclient = CreateObject("Project1.Class1")

enerclient.logger = "heelo"

if err.number = 0

'do some other stuff here
else
msgbox err.number & " - " & err.description
end if

The execution always runs to the else protion of the if.
I've tried registering the dll with regsvr32 but i still get the same error.
It is a simple object. I'm sure it should at least be able to create the object so that i may set the properties within it.

Help needed desperately. I've tried everything else from downloading the latest vb6 sp5 to editing the registry but to no avail.

Please help

Thanks in advance

CRPE32.DLL Can Not Load And ActiveX Component Can't Create Object Error.
Hi Everyone,

Here's my problem:

I have created a Visual Basic 6 program for one of my clients. I created a setup.exe using the package and deployment wizard. When I copied and executed the setup.exe file and installed my program on the clients machine everything works ok except for when I try to open up a link which is suppose to call one of the Crystal reports at the following line:

Dim objStatus
Set objStatus = CreateObject("PrintRep.clsPrintRep")

I get the Runtime error 429 ActiveX component can't create object.

So I figured ok maybe it has to do with some dependency of the Crystl32.ocx and I started to check all of its dependencies. I ran into crpe32.dll and noticed that the version on my developing machine was higher then the version on the clients machine. Without thinking twice I deleted the crpe32.dll on the clients machine and copied over the crpe32.dll from the developers machine in hopes of registering it through regsvr32.... And all hell broke loose I can not register the crpe32.dll no matter what and I dont have the Crystal Reports 10 CD to repair it...

I'm all out of options and freaking out a little bit.

Any suggestions, insight or help would be greatly appreaciated.

Thank you.

Regards,

Irena.

Automation Runtime Error 429 Activex Component Can't Create Object
I am trying to generate an Outlook object. On all the machines only one is having the problem. It is a 98 machine. Here is the code. The error is thrown as soon as I try to instantiate the object on the first line. Also, if I remove the "localhost" parameter, it does not work on a select other machines, but not all of them. Anyone know how I can fix this? Is it a dll problem?


Code:

Public Sub generate_email()
Set objOutlook = CreateObject("Outlook.Application", "localhost")
Set mailRequester = objOutlook.CreateItem(olMailItem)
If strMakeDir <> "" Then
Set oFolderAttachments = oFS.GetFolder(strMakeDir & "").Files
End If

mailRequester.To = strEmailRequester
mailRequester.Subject = "Project Request Number " & strPT_Num & " " & "has been assigned to you."

If strFileUploaded = "y" Or strAdditionalInfo = "y" Then
mailRequester.Body = "Project Request Number: " & strPT_Num & vbCrLf & "Customer: " & strCustomer & vbCrLf & "Submitter: " & strSubmitter & vbCrLf & "Request Date: " & strRequestDate & vbCrLf & "Due Date: " & strDueDate & vbCrLf & "Description: " & strDescription & vbCrLf & "Priority: " & strPriorityTicket & vbCrLf & "Problem Type: " & strPType & vbCrLf & "Files have been uploaded for the project request. Please visit the query page the view and download the files associated with this Project Request"

For Each fileObject In oFolderAttachments
Set oFileAttach = oFS.GetFile(fileObject)
mailRequester.Attachments.Add (oFileAttach)
Next
Else
mailRequester.Body = "Project Request Number: " & strPT_Num & vbCrLf & "Customer: " & strCustomer & vbCrLf & "Submitter: " & strSubmitter & vbCrLf & "Request Date: " & strRequestDate & vbCrLf & "Due Date: " & strDueDate & vbCrLf & "Description: " & strDescription & vbCrLf & "Priority: " & strPriorityTicket & vbCrLf & "Problem Type: " & strPType
End If

mailRequester.Send

End Sub

Access Automation Error:ActiveX Component Can't Create Object
High everyone,
I am writing an application that will run daily. This will read from
a file and depending on the outcome will either update or add to our life
database. The daily file to process will contain about 70,000 records. we
are trying to limit the transaction on the database as much as possible.
What I intended doing is I created an access database. I run an access
query to bring all the records affected to local database and then work of
that. after that then I post only those that needs to be posted back to the
database. I have couple queries and make use of the Access DoCmd. I also
use the CreateObject Function and New Operator. My boss does not want to
install Access on the Computer that will run the app. All what I am trying
to say is, Can I Automate Microsoft Office (Access Automation ) without
having Access installed on the Client machine (Computer) that will run the
application? It works great on my computer (the developing computer). I
have tried to installed this application on a computer that does not have
Access Installed and I am getting Run-Time Error 429 "ActiveX Component
Can't Create Object". Please Help

sampson

Error: Activex Component Can't Create Object After Running Setup
I used ADO 2.1 in my project. After running setup in some OS like Windows98. There is error message "Run time error '429' Activex component can't create object". Is it required to install 'mdac_typ.exe'. Can it be install automatically through my setup. I am using 'Wise Installer Version 3'.

Please help me.

'Error In GetMaxIssue: ActiveX Component Can't Create Object' Error???
Hi I have the above error.
The VB code accesses mdb database and works OK when package installed. (package developed by external group)

BUT when this package is uninstalled and I install my new install :-

I have created a new install, that copies program files and installs MDAC 2.5.

Can anyone help me with what Dlls/components are missing to get the above error??????


This is the connection to Database:-
Set rs = New ADODB.Recordset
sSQL = "Select Max(IssueNo) From Issues"
rs.Open sSQL, oADOCon, adOpenStatic

Thanks

Matt

"Runtime Error-429 ActiveX Component Can't Create Object". For COM+ Component On Windows2003
"Runtime Error-429 ActiveX Component can't create Object". for COM+ component on Windows2003 ...?

Copyright Đ 2005-08 www.BigResource.com, All rights reserved