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
Runtime Error 429 ActiveX Object Cannot Create Object
Hi All,
Am getting the following error,
"RunTime error 429
ActiveX Object Cannot Create Object"
The same application runs fine in other machines, but it throws error inNT Server.
Your help will be highly appreciated,
Thanks in advance,
Badri
'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
Can't Create Object Error?
I've got an application that I am trying to put on someone else's machine, since they have a server, and the app requires 24/7 internet access (it, too, is a server). So I packaged the project, with all necessary components (mswinsock.ocx, the VB run-times, etc), and when he tries to run the app, a run-time error occurs:
Run-time error '429':
AcitveX component can't create object
Any ideas on this?
If you want the project, email me (dmbyer@aexperion.com) and I'll send it to you.. but please note, it's a few megs in size.
If you have ICQ I can file transfer it to you if you're online and have a fast connect.. 92806592
Error 429... Can't Create Object!
I have a project with DAO and controls of MaskEdit
type (and some text boxes). What is this error?
RUntime error 429
ActriveX; can not create object.
Is is a fatal error.
Help please. Many tanx.
Cannot Create Object Error
Hi,
before I start I will apologise that I have also posted this on ASP discussion. But I am fairly anxious for s resolution and presume some people will read this and now ASP discussion.
I have an issue with s small component I am trying to implement using ASP. I get the error message
Error Type:
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object
/xml/toXML.asp, line 9
I don't think I am doing anything wrong in creating the object.
<?xml version="1.0"?>
<Tony_Test>
<%
dim lrs_test
set lrs_test = Server.CreateObject("ADODB.Recordset")
Set lo_AcX = Server.CreateObject("A362ADO.ActiveX36")
set lrs_test = lo_AcX.getFields
Do While Not lrs_test.EOF
%>
<acx_test>
<number><%=lrs_test("CUSTNO")%></number>
</acx_test>
<%lrs_test.MoveNext
loop
%>
</Tony_Test>
I can create the object no problem in the VB environment by referencing the dll. Also by adding the source project to my test project. However using ASP fails on the server.createobject line, despite the fact that the source must have a handle on the type library since it locates the one and only function in the component ( apart from class initialisation )
I have added the Vb source also for completeness.
The source itself basically adds elements from a collection to a client side dummy recordset and returns this.
Any help appreciated.
Private host As UNIBOL36Host
Private lf_file As UNIBOL36File
Private fields As UNIBOL36Fields
Public Function getFields() As ADODB.Recordset
'//========================================================================
'//========================================================================
'//
'// function:
'// Iterate through fields colection add to recordset and return
'//
'//========================================================================
'//========================================================================
Dim lrs_rec As New ADODB.Recordset
Dim cn As New ADODB.Connection
lrs_rec.CursorLocation = adUseClient
cn.Open "Provider=MSDataShape;Data Provider=NONE;"
' Create a new field in the recordset
strShape = "SHAPE APPEND NEW adInteger AS CUSTNO"
lrs_rec.Open strShape, cn, adOpenStatic, adLockOptimistic, -1
' Add a UnibolField
Dim field As UNIBOL36Field
' While there are records to read
Do While Not lf_file.EOF
For Each field In fields
' populate text box for possible update
If field.Name = "CUSTNO" Then
lrs_rec.AddNew
lrs_rec!custno = field.Value
' txtResult.Text = field.Value
End If
Next
lf_file.ReadNext
Loop
'Return values from the collection as a recordset
Set getFields = lrs_rec
End Function
Private Sub Class_Initialize()
'//=======================================================================
'//=======================================================================
'//
'// Connect to the Host Server, and Open File
'//
'//=======================================================================
'//=======================================================================
Set host = New UNIBOL36Host
host.Name = "mars"
host.UserName = "tony"
host.UserPassword = "lenin12"
host.Connect
' Check connection
If host.Connected Then
' Open File
Set lf_file = host.OpenFile("A.ARCST", "CSTMST", u36_READWRITE, u36_READ_KEYED, True)
' Set the fields collection to point to the file object
Set fields = lf_file.fields
End If
End Sub
Private Sub Class_Terminate()
' Set host = Nothing
End Sub
Error #429 Cannot Create Object
I am trying to run an ACCESS report from VB. I get an error saying the ActiveX Component cannot create the object. It blows up on this line:
Set objAccess = GetObject(strDbName, "Access.Application")
I also tried 'Set objAccess = CreateObject("Access.Application")
Thanks in advance - Chad M
Here is the full subroutine that the error is in:
Dim objAccess As Object 'New Access.Application
Dim lngReturnVal As Long
Dim strAccPath As String
Dim strResult As String * MAX_PATH
On Error GoTo OpenAccessRunTimeErr
If Dir(strDbName) = "" Then
' DB Path is not valid
MsgBox "Could not find database " & strDbName, _
vbCritical, MSG_TITLE
Exit Sub
Else
'The full version of Microsoft Access is not installed
lngReturnVal = FindExecutable(strDbName, "h:", strResult)
' Check return value
If lngReturnVal > 32 Then
' Get full path of Access.exe
strAccPath = Trim(strResult)
MsgBox "Located a copy of Microsoft Access in " & strAccPath, _
vbInformation, MSG_TITLE
Else
MsgBox "Unable to locate a copy of Microsoft Access on this computer.", _
vbInformation, MSG_TITLE
strAccPath = "h:bbpackagesupportMSAccess.exe"
Exit Sub
End If
' Open Access
Shell pathname:=strAccPath & " " & Chr(34) & _
strDbName & Chr(34), windowstyle:=6
Do
'Wait for shelled process to finish
Err = 0
'Set objAccess = CreateObject("Access.Application")
Set objAccess = GetObject(strDbName, "Access.Application")
Loop While Err <> 0
Call GetAccessReports(strDbName)
End If
Can't Create Object Error !
Hello all gurus !
I have a strange problem:
I made an app in VB that instantiates a server activeX
(with createobject(activeX))
this works fine on several computers...
however on one computer the behaviour is different if I start the app by command line or by a double click:
by a double click everything works fine,
starting the app by command line, the vb app can't create the object !!
(i didn't have this on several other computers)...
however (correct me if i'm wrong), i have a doubt about the
registration path (it is in fact c:program filesserver)
is the space in "program files" having an influence ?
many thanks
Anis
Create Object Error
Has anyone ever seen this problem?
When my program loads it creates an activeX object for Excel like this:
Set xlApp = CreateObject("Excel.Application")
98% of the time the program works fine. The other 2% of the time I get an error (ActiveX Object could not be created) when the program attempts to execute the above line. When this happens the program just needs to be restarted.
This typically happens when the computer has just been rebooted and the program is starting for the first time. If this error occurs it will not happen again until after the computer has been powered off. It seems as though the first time Excel is being started since a reboot the application may take a little longer to load than usual and causes my program to fail.
-K
Error 249 : ActiveX Can't Create Object
hello
i had installed my application in a win98 and it works correctly except the reports (i had created them with Crystal Report 7). so i decided to install Crystal Report to search exactly the problem, after the install the application didn't work, and i had the Error 429: ActiveX Can't Create Object
i uninstalled Crystal Report and Re-installed the application but i had the same error.
PS : before the installation of application I installed MDAC_TYP 2.7
the first lines of the program is used to verify the existence of DataBase.what can i try know
thank you for hour suggestions
Error 429 ActiveX Can't Create Object
I am trying to open a word document so that I can paste values to it. I have code written as
Documents.Open FileName:="Base.doc", ConfirmConversion:=True, ReadOnly:=False, AddToRecentFiles:=False, PasswordDocument:="", PasswordTemplate:="", Revert:=False, WritePasswordDocument:="", WritePasswordTemplate:=False, Format:=wdOpenFormatAuto
I have a similar configuration for an Excel worksheet which I am copying from. I have the reference set for Microsoft Word 10.0 , Excel 10.0 and DAO 3.6.
Every time I run it, it stops at the Word document and I get the Error 429 ActiveX can't create object.
I have run the same code as a macro and it works flawlessly.
Can someone tell me why this is happening?
Error 429: Activex Cannot Create Object
i created a setup file for my project that was developed in VB, then installed and run in some other system. it is giving the error 429: Activex Cannot create object. i have office'97 in the development system(Actually, im using MS-Access as a backend). but the target system has office'2000. i installed my application in some other system with office'97.
it is working fine. Could you tell me how to make my application run on any windows platform irrespective of presence of MS-Office.
Error 429 ActiveX Can't Create Object
I'm very new at this and having a problem. My program works fine on my computer by will not run on other systems...I keep getting the Run Time Error 429 "ActiveX Can't Create Object. I am using VB6, Windows XP Pro and trying to run the program on another Windows XP Pro machine. I have used code from open source that I don't understand and is probably causing the Run Time Error 429 but I don't understand how to fix the problem. I've attached the code and hope someone can help.
Thanks in advance.
~ Greg
Error 429 - Can't Create Object Activex
Yeah..I know it is a common error that happens when something isn't registered right.
Here is the deal. I developed an app on my laptop (Windows XP home). It runs fine in the IDE and when I compile the dll and exe projects for it..they run as well (on the laptop). I took my files (.exe, .dll,.lib,.exp) to my Windows 2000 desktop pc and I get the 429 error. I tried registering the .dll file with regsvr32 and it sucessfully register, but I still get the error. What else could be going on?
Thanks!
Msscript.ocx (error 429 Can't Create Object)
Is anyone familiar with this issue:
I have an application that references the msscript.ocx using late binding and when gets the error 429 can't create object.
The user has XP with service pack 1 and using I.E. 6.0 and has the mscript.ocx located in the system32 folder and in the I386 folder. All the other users are working fine. I had the administrator log in to make sure is was not a security issue within the registry but they are still getting the same error.
any suggestions are appreciated.
Thanks.
Error: Actvex Can Not Create Object
Hi,
I created a project since more than one year and all this time it runs properly. But now whenever the following part of module runs: it gives me the error “Activex component can not create this object”
Public appExcel As Excel.Application
Sub Mod1()
Set appExcel = GetObject(, "Excel.Application")
….
End sub
I use the Package & Development Wizard / Dependency Information it told me that there is no dependency information for the following files:
Excel8.OLB Program FilesMS Office 97Office
MSADO20.tlb Windowssystem
MSEXCH35.DLL Windowssystem
And those files are out of date:
MSRDO20.DLL Windowssystem
MSSTDFMT.DLL Windowssystem
THE FOLLOWING IS PART OF Dependency file
[MSADO20.TLB <0009>]
Dest=$(WinSysPath)
Date=30/10/98
Time=02:32
Version=0.0.0.0
[EXCEL8.OLB <0009>]
Dest=$(WinSysPath)
Date=22/04/97
Time=00:00
Version=8.0.0.4003
[MSEXCH35.DLL <0009>]
Dest=$(WinSysPath)
Date=24/04/98
Time=00:00
Version=3.51.623.0
Please how can I solve this problem (by reinstalling Windows OR Excel OR VB6 OR …….???)
Note: I have Windows 98 2nd Edition, Office 97 and 2K, VB6 .
I created this project under Windows 98 1st Edition.
I used: Public appExcel As Object but no way
Thanks in Advance
Sorry for the long question
Mina
Help - Error 429 ActiveX Can't Create Object
I downloaded a few programs from http://www.vbaccelerator.com/ but when I try to run them I get that '429' error. What is that about???
another one comes up with this:
can't find project or library
and goes to this part of the code:
Implements ISubclass
Error 429 - ActiveX Cannot Create Object
Hi All
I am having trouble with an FTP client program written in VB 6. It uses the winsock control to connect to an FTP site. The program itself works fine but I get the 'Error 429' message once installed on a client's machine.
I have installed it on Windows 98 (both versions) and tried installing VB6 runtime files, DCOM98 but to no avail.
It does work on one machine running Windows 98 second edition. I checked the winsock control (ocx) and it does differ from the one that comes with the program. I can only suspect that it has something to do with this.
(There are other fancy controls like a tree view and toolbar etc.)
I do not have any VB 6 service packs installed on my development machine. Would this make any difference?
Can anybody please offer some advice on how to resolve this error?
Thanks in advance.
Ritchie
Error 429: ActiveX Cannot Create The Object
This problem has been bugging me for a while now and would love any kind of imput on it.
Here is the problem:
I am creating a VB application that connects to QuickBooks using the Quickbooks SDK. It takes orders from a SQL server Database. I am using ADO to connect to the DB. Below is the code to do this.
References for project:
Visual Basic For Applications
Visual Basic runtime objects and procedures
Visual Basic objects and procedures
Microsoft ActiveX Data Objects 2.5 Library
gbFC1 1.1 Type Library
Components for project:
Microsoft ADO Data Control 6.0 (SP4) (OLEDB)
Private DB As adodb.Connection
Private RS As New adodb.Recordset
Set DB = New adodb.Connection
DB.Open "Driver={SQL Server};" & _
"server=IP_Address;" & _
"Address=IP_Address,1433;" & _
"Network=DBMSSOCN;" & _
"database=DB_name;" & _
"Uid=SQL_UID;" & _
"Pwd=SQL_Pwd;"
MySQL = "Select * FROM Table_Name where QuickBooks = 0"
RS.Open MySQL, DB, adOpenStatic, adLockOptimistic, dCmdText
I am only using the "Public Sub Main()" funtion. When the user clicks on the App.exe the file will run and display results, no user interacation is being used.
I am using the VB Package and Deployment wizard to create the setup.exe package. When I create it and run the setup.exe file on the machine the application was created on it installs without a problem and the app.exe runs error free. But when I run the setup.exe on another computer, the install goes fine but when I run the app.exe I always get the error "ActiveX component can't create object".
Please HELP!!!!!!!!!!!
Thanks beforehand.
ERROR 429, ActiveX Can't Create Object
Hi.
I have a problem of AutoEmail with Outlook Demonstration Project.
http://vb-world.net/demos/autoemail/
I am getting error which says:
"Runtime Error 429"
"ActiveX component can't create object"
when I try to activate program.
I believe this is because AutoEmail.exe is not registered.
So I have tried to register under RUN.(regsvr32 "CMydirAutoEmail.exe")
However, the program still gives me a following error.
c:mydirAutoEmail.exe was loaded but the dllRegisterServer entry point was not found
c:mydirAutoEmail.exe does not appear to be a .DLL or .OCX file
I would like you to help me how to run this AutoEmail sample.
Thank you very much.
Error: ActiveX Cannot Create Object
I am getting this message when I install my program on Windows 95 machines. It does not seem to be a problem when I install them on '98 machines.. My program uses database connectivity (DAO), so MDAC_TYP.EXE has been included when packaged with the P&DW. When running the install for my program, everytthing completes with no error messages. However, when i go to run my program i get that "ActiveX cannot create object message". I've tried several things. I tried downloading DCOM95 and installing it along with the newest version of MDAC_TYP to no avail..
Any ideas, anyone??
-jman
Error 429, Activex Can Create Object
Hello
I created a vb app and when I run this on my computer where it was created, it works fine. But I put it on any other computer, I get the error 429, activex can not create object.
The point where it seems to stop is on a Filesystem object that I am using. The fs object is declared globally. Any ideas on where to start checking for a problem. I have all references and components selected. This is in VB6.
Error 429, Activex Can Create Object
Hello
I created a vb app and when I run this on my computer where it was created, it works fine. But I put it on any other computer, I get the error 429, activex can not create object.
The point where it seems to stop is on a Filesystem object that I am using. The fs object is declared globally. Any ideas on where to start checking for a problem. I have all references and components selected. This is in VB6.
Run-time Error '429' ....can't Create Object
I've searched devshed on this already. Found some good info and tried several things like making sure .ocx files were registered. Here's a brief description of what's happening...
I've developed a single page input form for patient progress notes that makes my job easier and I hope will make the jobs of others at the office easier. The program works well on my desktop.
I loaded it to a colleague's laptop. The program runs and stores data in the database. She doesn't have MSAccess, but I have a search capability in the prg so I see the stored data the next time I attempt to use it.
The problem is that (on her machine) it will not produce the MSAccess report. When I click the "Print" cmd button the '429' error pops up.
Her laptop has MDAC 2.7 and I've tried registering the ocx files, but still get the error. Please help me solve this problem.
ActiveX Can't Create Object Error
Hi..
I have an ActiveX DLL component, when I create one of the objects from this DLL component from within ASP page using either server.CreateObject OR VBS's CreateObbject function, I get the error ActiveX Can't create the object.
Interestingly this error occurs when I open the ActiveX DLL project in VB and run it in debug mode before I run my ASP page. Actually I want to debug my DLL's code.
The moment I use compiled DLL, I get no error and everything works fine except I am not able to go into DLL code in debugging session.
I have given all access permissions to everyone, also my VB installation is on C dirve which is FAT not NTFS.still I get permisssion problem.
One thing might be useful in this, I have VS .NET Beta installtion as well on my PC, does it create any problem functioning VB6 on the same computer ?
Thanks for any help you ight extend on this
Rakesh
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy the best in Movies at http://www.videos.indiatimes.com
Now bid just 7 Days in Advance and get Huge Discounts on Indian Airlines Flights. So log on to http://indianairlines.indiatimes.com and Bid Now !
ActiveX Can Not Create Object , Error 429, Win 95
I get an error 429 when I upgrade to a newer version of software. For instance Version 3.1 of my sofware works and version 3.2 gives me the error. I have reinstalled vbrun5 and 6 and IE 5 .The controls are basicly the same in both versions, the skins are different and there are added functions.I don't know if that helps , just trying to supply as much info as possible. IBM Thinkpad 24 megs ram, older machine.
Activex Error- Can't Create Object
Hello,
I am using vb.net. I use vb scripting to get internet explorer to print html page. For that I use
CreateObject("InternetExplorer.Application"). Here in my machine it works fine all the time and I sent that to the customer who is running windows 2003 server. When they execute this exe occasionally they get :Activex Component Cannot be Cretaed" at this CreateObject().
I really appreciate your help.
Thanks a lot.
Error 429: Activex Cannot Create Object
i created a setup file for my project that was developed in VB, then installed and run in some other system. it is giving the error 429: Activex Cannot create object. i have office'97 in the development system(Actually, im using MS-Access as a backend). but the target system has office'2000. i installed my application in some other system with office'97.
it is working fine. Could you tell me how to make my application run on any windows platform irrespective of presence of MS-Office.
Error 429 - Active X Component Can't Create Object
Hi there,
I have been porting a VB5 - 16bit program to 32bit, and I'm quite finished. I used my own computer to rewrite and compile the necessary code, and the program runs flawless on the machine just mentioned. I used the VB Application Wizard to create install packages and installed the application on the Computer sold to our customer. Installation went well, but the minute I try to start the application, a dialogbox appears with the error msg above. I tried to register all used ocxs manually, which are
comdlg32.ocx, crystl32.ocx, dbgrid32.ocx, dblist32.ocx, mscomctl.ocx, msxomm32.ocx and msflxgrd.ocx, but _every single_ registration presented an error, specifically "XXX was loaded, but the DLLEntryPoint was not found". The first thing the app does is check for a money counter, hence mscomm32.ocx is the first ocx used, and at the same time checks for a db, hence some DOA Routine is called, too.
I now had the idea that I have to upgrade the existing W2K Installation of the customer PC to SP2, as I use SP2 on the Pc used for programming. May such differences conclude in problems I just described? Or is it completely useless to download the whole SP2 as it won't solve the problem?
Thanks for any advice in advantage,
Nec
PS: Please excuse my bad english.
Error 429 - Active X Component Cant Create Object
Hi,
I have installed a vb/ sql server 2000 application on an XP notebook - but get the following error on any attempt to connect to the database via the data environment.
Error 429 - Active X component can't create object.
I have included the reference for the Microsoft Active X data oject library 2.5 as well as the data environment instance 1 - the setup package ran without error so I assumed they were registered.
File63=@msado25.tlb,$(WinSysPath),$(TLBRegister),$(Shared),8/29/02 11:00:00 AM,81920,2.71.9030.0
File64=@MSDERUN.DLL,$(CommonFiles)designer,$(DLLSelfRegister),$(Share d),3/13/00 11:00:00 PM,136192,6.0.88.4
I cant even get the data environ connection string to msgbox on the xp notebook - the object is not registered..
any suggestions welcome.
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)
Referenced DLL Giving Error: Can't Create Object.
Hi, I'm currently using VB 6.0 and have a DLL that I've referenced and am trying to call a function for. Whenever I try to run the program though, I'm getting "
"ActiveX component can't create object"
on this line:
strEncPass = x.EncryptPass(ENC_MYPASS, ErrMsg)
And here is the entire code:
Code:
Sub TestCCPass()
'On Error GoTo Hell
'declare an instance of the CCPass exposing the Pass module within it
Dim x As New CCPass.Pass
Dim strEncPass As String
Dim blValid As Boolean
Const ENC_MYPASS = "MyPassword" 'if less than 8 characters, encryption will fail
Const TST_MYPASS = "MyPassword" 'change this from ENC_MYPASS to test that it fails
'call the encrypt function to encrypt password...returned into strEncPass if ok
strEncPass = x.EncryptPass(ENC_MYPASS, ErrMsg) 'any errors returned into ErrMsg
If Trim(ErrMsg) <> "" Then 'check if there is an error
MsgBox "Error=" & ErrMsg, vbCritical, App.Title
End
End If
MsgBox "Encrypted Password=" & strEncPass, vbInformation, App.Title
'lets now verify that the encrypted password decrypts back to the original
blValid = x.VerifyPass(TST_MYPASS, strEncPass, ErrMsg)
If blValid = True Then 'yay!
MsgBox "Password is Good", vbExclamation, App.Title
Else 'boo!
MsgBox "Password Bad", vbCritical, App.Title
End If
End
Exit Sub
Hell:
MsgBox "There was an error dammit!"
End
End Sub
Any input would be greatly appreciated. Thank you.
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
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
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 429 Active X Cannot Create Object'-URGENT
Hi all,
I have developed an application in VB6 using the following code to link to MS Access:
Private conDB As New ADODB.Connection
Private rs As ADODB.Recordset
Private str as string
i have used Package and deployment wizard to pack the project and also included MDAC .
On loading onto a client machine, running windows 98 SE, it gives the error:
' Error 429 Active X cannot create object'
What could be the reasons for this error message?
Could anyone please suggest a solution for the same?
thanks.
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!
CDONTS And VB: ActiveX Can't Create Object Error
Hi, I am using CDONTS to send an email via my VB application.
I have referenced the CDO 1.2 library and I can create a new mail object like so;
Code:
Dim oMail As New CDONTS.NewMail
oMail.To = "markj@hotmail.com"
oMail.From = "SQLAlert@here.com"
oMail.Subject = "Notice"
oMail.Body = "Hi there!"
oMail.Send
When I run my code I can create the object but when I call the send method (oMail.send)
I get an 'ActiveX can't create object' error 429
I am assuming that it is using the CDONTS.dll much like ASP does and I have ensured that the CDONTS.dll is registered on my computer.
Any help appreciated
Thanks
Markus_J
Please Help! - Error 429 ActiveX Component Can'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]
Run Time Error 429 ActiveX Cant Create Object
I am developing a VB application that will launch ABBYY FineReader 7.0 . I am using the statement
dim abbyy as FineReader.Application
Set abbyy = CreateObject("FineReader.Application")
The CreateObject() statement is throwing an errrr
Run time error 429 ActiveX cannot create object
Anybody can hepl me ......
dhanya
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: AcitveX Compnenet Can't Create Object
I receive this error when this piece of code is run on my test machine:
Set xlsObject = New Excel.Application
I am using a test machine with Win98 installed. I have a reference to
excel8.olb in the project. This file is installed and registered on the
test machine during installation of the application. I am also using "MS
ActiveX Data Objects 2.1 Library". I cannot upgrade the MDAC version in
order to use "MS ActiveX Data Obects 2.6 Library" because the other
software which has already been developed has not been tested with 2.6.
In order to test to see if this was the problem I installed MDAC 2.6 on
the test machine but it did not correct the error.
Can someone please help me with this error as it has been driving me
nuts for weeks.
Thanks,
Darren.
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
|