"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 ...?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Runtime Error 429 &"ActiveX Component Can't Create Object&"
With my chat program, when i clicked "Connect" on one side, error popups saying "Runtime-Error 429 ActiveX Component Can't Create Object"
What should i do???
What should i do?
what caused this error and how do i fix it???
I really need to get my program workin
pls help
thank you!
Runtime Error: 429 &"ActiveX Component Can't Create Object&"
This error is driving me insane.
I ran the fix from msdn, no luck.
My programs run perfect on my computer, and if i send my friend the source, he can run it fine in vb.
Problem is, when i compile them, the only one who can run them, is me!
I thought it had to do with the activex controls microsoft stated in the msdn article.. so deleted every reference to them in my project, no luck.
I started over, Compiling step by step, figuring out whats wrong...
I didn't get passed step 1!
Ok now onto my problem...
I have a Project group, with a standard exe, and a activex dll.
In the dll i have a class file, so i can open up forms, when the exe tells the class to open it, it gives a runtime 429 error, saying "activex compontent can't create object" what does that mean, and how can i fix it?
&"Runtime Error-429 ActiveX Component Can't Create Object&". For COM+ Comp. On Win2003
Hi There!
Could anybody please help regarding the below issue.
We had a COM+ component deployed on Windows 2000/NT machine it was working fine, I mean when it was being invoked from other machines it was creating object and was serving the purpose.
Recently as an upgrade we moved all the COM+ component from Windows 2000/NT to WINDOWS 2003 and now when we are trying to invoke that component its throwing "Runtime Error-429 ActiveX Component can't create Object".
Client side machines are running Windows XP with SP2, COM+ component was created as a server application. I doubt that it may be because of Windows 2003 security issue but not sure or am I missing something while building that component.
Please help or provide your suggestions.
Thanks in advance.
Debugging For: &"ActiveX Component Can't Create Object Error Number: 429&"
After successfully logging into client software I receive the error "ActiveX component can't create object Error Number: 429"
I looked at the registry keys that are being called and all the ones with "activex" in the path or title are called successfully.
Where do I start to debug this error?
Help is greatly appreciated.
Thank you.
&"Run-time Error '429' ActiveX Component Can't Create Object&"
Hello,
I developed my app on a laptop with Windows XP Home. It runs fine. On an earlier version, it ran fine when I installed in on my Windows 2000 desktop. Now, for some reason I get a "Run-time error '429' ActiveX component can't create object" message (see attached image).
I am not using a database. I am using a dll and am registering it using INNO 5 installer. I have manually registered it also, but still get the same Run-time error.
Inno line to register....
Source: "C:Documents and SettingsuserDesktopInstallTools.dll"; DestDir: "{sys}"; Flags: restartreplace sharedfile regserver
The only thing I can remember changing is that I added a picture to my "About" form.
Thoughts?
Run-time Error 429 &"ActiveX Component Can't Create Object&"
Hi all,
I made a connection to Rational Rose dll in visual basic. In my computer everything works but if I use package&deployment wizard to make run the .exe in another computer it appears the runtime error 429, ActiveX component can't create object?
In target machine I have already installed visual basic runtime environment.
Are there any dll I have to add to the target machine besides dll that have been added by package&deployment wizard?
Sorry for my poor english.
CreateObject(&"Outlook.Application&") - Error 429 ActiveX Component Can't Create Object
I'm trying to learn how to program with Outlook Express 6 using Visual Basic 5. The problem is with having these couple lines of code:
Option Explicit
Dim Outlook As Object
Sub Main()
Set Outlook = CreateObject("Outlook.Application")
End Sub
I get a Runtime Error 429: ActiveX Component Can't Create Object. Of course obviously my Outlook Express works fine. I've done some heavy duty research on how to solve this problem looking literally everywhere on the internet. Registering the MSIMN.EXE using DOS was one of the solutions. It didn't work. The registry looks like it might be the solution. Over in this key path (HKEY_CLASSES_ROOTCLSID{0006F03A-0000-0000-C000-000000000046}) where Outlook Express is supposed to be located, I noticed it was empty! It is supposed to have InprocHandler32, InprocServer32, LocalServer32, ProgID, Typelib, and VersionIndependentProgID. Both ProgID and VersionIndependentProgID are supposed to have "Outlook.Application" as a string value (REG_SZ) which is required for scripting when you want ActiveX components to create the object for you. I can try typing the values by hand which probably won't work but is there anything else I can use to automatically fill these registry values in without screwing up Outlook Express 6? Possibly a program that registers it and fills in the registry keys for me?
Also, if you don't have the exact solution, I would at least like to know what value you have under HKEY_CLASSES_ROOTCLSID{0006F03A-0000-0000-C000-000000000046}InprocServer32 since the other computer in my house (which isn't mine) has a value of some dll from McAfee, and McAfee is what I don't have.
&"ActiveX Component Can't Create Object&" Error
People that install my program all get this "ActiveX component can't create object" error. I am pretty sure it's caused by the reference "Microsoft Ooutlook 10.0 object library" (msoutl.olb).
Do I need a liscense or something to distribute this? How can I fix the error?
Thanks
&"ActiveX Component Can't Create Object&" Error
I am trying to access Outlook Express's address book with some code I found on one of the forums here. The CreateObject function in that code however produces a "ActiveX component can't create object" error (error code 429) when executed.
When I try my own code I get the same error. The code:
Code:
Dim Outlook As Object
Set Outlook = CreateObject("outlook.application")
Which files need to be installed and which version of Outlook Express do I need? (I am using Outlook Express 6) Also, I can't find a reference to outlook.application in the registry which as I understand must be some where in the registry for CreateObject to work. Which files if any do I need to register and how?
BTW:
I searched the internet and the forums here before posting.
And:
When I replace "outlook.application" with "excel.application" for example, just to test the CreateObject function I get no errors.
The code I found on these forums can be found in this thread: http://vbforums.com/showthread.php?s=&threadid=292503
Error 429 &"ActiveX Component Can't Create Object&" ???
Hope someone can help - this is doing my head in!
(Dev Env: Win98 VB6.0 SP3)
Ok - I've got an app that works fine on the win98 development machine. When installing on win95 test machine it works ok until suddenly it throws up this Error 429 "ActiveX Component Can't Creat Object"
I'm really new at this and don't know how to debug it... From what I know:
It's the msInet control that's doing it, BUT - it's already successfully executed a couple of commands:
1. "CD /" (to test the ftp connection)
2. "CD /website/test/" (to change to the required directory to transfer to)
The one that fails is a PUT command...??
PLEASE help - I've got a few other bugs in the software which I expected, but this is the one that is really stumping me!
Cheers all,
------------------
Chris Keeble
www.giglist.com
mailto:chris.keeble@giglist.com
Error 429 &"ActiveX Component Can't Create Object&" ???
Hope someone can help - this is doing my head in!
(Dev Env: Win98 VB6.0 SP3)
Ok - I've got an app that works fine on the win98 development machine. When installing on win95 test machine it works ok until suddenly it throws up this Error 429 "ActiveX Component Can't Creat Object"
I'm really new at this and don't know how to debug it... From what I know:
It's the msInet control that's doing it, BUT - it's already successfully executed a couple of commands:
1. "CD /" (to test the ftp connection)
2. "CD /website/test/" (to change to the required directory to transfer to)
The one that fails is a PUT command...??
PLEASE help - I've got a few other bugs in the software which I expected, but this is the one that is really stumping me!
Cheers all,
------------------
Chris Keeble
www.giglist.com
mailto:chris.keeble@giglist.com
&"ActiveX Component Can Not Create Object&" Error
Hi, all...
I have completed my project and used P&D Wizard to create a setup.exe package of the program.
I tried to install the application in other PCs and meet some problems. All the PCs i have tried to installed the application are using Win2000, i also developed the tool in Win2000.
The error message is "ActiveX component can not create the object" in the procedure of registering DLLs during installation of the application.
I only met this problem in some PCs not all of them. However all the PCs are using Win2000.
My program is quiet simple, i added some new components such as CommonDialog box, progressing bar. Since i need to generate a word document, so added a new reference Microsoft Word 9.0 object library. And some simple APIs also used in my program.
Any idea on this ???
Sami.
P.S>
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
This is the [Bootstrap Files] in my SETUP LST File
[Bootstrap Files]
File1=@VB6STKIT.DLL,$(WinSysPathSysFile),,,3/26/99 12:00:00 AM,101888,6.0.84.50
File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 12:00:00 AM,22288,4.71.1460.1
File3=@stdole2.tlb,$(WinSysPathSysFile),$(TLBRegister),,10/10/02 10:10:10 AM,17920,3.50.5014.0
File4=@asycfilt.dll,$(WinSysPathSysFile),,,10/10/02 10:10:10 AM,77824,3.50.5014.0
File5=@olepro32.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,10/10/02 10:10:10 AM,106496,5.0.5014.0
File6=@oleaut32.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,10/10/02 10:10:10 AM,569344,3.50.5016.0
File7=@msvbvm60.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,10/10/02 10:10:10 AM,1388544,6.0.92.37
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
WMI Failure - &"ActiveX Component Can't Create Object&"
i run this code because I need a list of printers from a windows 2000 AS.
But on two of my boxes I recieve "ActiveX component can't create object"
Can this be fixed?
Code:
Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\" & strComputer & "
ootcimv2")
Set colInstalledPrinters = objWMIService.ExecQuery("Select * from Win32_PrinterConfiguration")
Big Problem With &"activeX Component Cant Create Object&" #429
Hi Guys
Im acutaly working on a Mediacenter-Application. It always ran on all my computers, till i did include a new configfile-structure. On my work-pc everything works fine. But on my Notebook the Error 429 "ActiveX Component cant create object" appears. So i switched back to the old configfile structure. The Error seems to occur directly on startup of the software, so i can only guess where the problem is. The only OCX I use is mci32.ocx. For testing purposes is removed the activex components completely but the error still happens. Im going to drive crazy. Its a really BIG program. I work for it nearly a year. I have been working on this error for days, read every thread on this topic, but nothing could help me.
Here some Details...
I think the error must happen in one of these 2 Functions
Declare Function GetPrivateProfileString Lib "Kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Integer, ByVal lpFileName As String) As Integer
Function Getini(ByVal INIFile As String, ByVal Section As String, ByVal Key As String)
Dim RetVal As String, Worked As Integer
RetVal = String$(255, 0)
Worked = GetPrivateProfileString(Section, Key, "", RetVal, Len(RetVal), INIFile)
If Worked = 0 Then
Getini = ""
Else
Getini = Left(RetVal, InStr(RetVal, Chr(0)) - 1)
End If
End Function
OR HERE:
Public Function GetWinDirectory() As String
Temp = Environ("windir")
If Right(Temp, 1) = "" Then Temp = Left(Temp, Len(Temp) - 1)
GetWinDirectory = Temp
End Function
This is the first part of the Form_Load sub. Here has to be the error!
Randomize Online = True
A = Right(Now, 8)
lastkey = Int(Right(A, 2)) + (Int(Mid(A, 4, 2)) * 60) + (Int(Left(A, 2)) * 60 * 60)
Themestatus = 1
Dim mixstat As Long
Mutestat = False
mixstat = OpenMixer(0)
Indizierung = False
tastdruck = False
ButtCH = True
WindowsDir = GetWinDirectory
IniPath = WindowsDir + "SARSMediacenter.ini"
'Lese Haupteinstellungen
progpath = Getini(IniPath, "Main", "Programmverzeichniss")
After the last line, no more code is executed and the error occurs.
Please Help me.
Thx Max
PS: I Am Working with VB5:-)
Use COM Object From Excel VBA - Made In .NET &"ActiveX Component Can't Create Object&"
I am going to outline the steps I go through to produce the problem. Hopefully this will help you understand the problem better.
I have created a simple COM DLL in .NET by using the COM class template and by setting output to a type library (DLL). All the object does is return a string value. At this point I have not checked the option to register for COM interop in Visual Studio.
So I go into Excel (where I want to use the object). Go to VB Editor and Tools -> References and to Add Reference. I browse until I find the in directory of the project. Select the .dll file outputted by the program. Then click open -> I get the message "Can't add reference to the specified file." So here is my first question: Why not?
So then I go to my project in Visual Studio. Highlight the project -> click properties ->go to Build -> and check "Register for COM interop" -> then I rebuild my solution. After this build there is another file in the in directory with the same name as the .dll but has the extension .tlb (Type Library).
So I go back into Excel. Go to VB Editor -> Tools -> References and to Add Reference. I browse until I find the in directory of the project. This time however I select the .tlb file outputted by the program. Then click open -> I don’t get an error message so this is good. So here is my second question: Why does the .tlb work and not the .dll at this point?
Now after this step. I create the object in VBA code. Compile and run the macro and sure enough it returns the string and puts in the right cell. Great! But wait. Now many more people need this object to work with Excel.
So I copy the Excel Workbook and everything in the in directory from my project to another person’s computer. Then I open the Excel workbook -> then to VB Editor -> References to double check the path to the .tlb file -> (then compile and save for peace of mind). But here is the big problem... when I run the macro on another person's computer I get the message "ActiveX component can't create object." And I get this at the line where I say: Set testObj = New Object.
My ideas... could it be that I am an Admin on my PC but not the other? If so, how do I get around this. Or is Visual Studio doing an extra step in the compile/build process that I’m not replicating on the other PC? Does it need to be an global assembly?
Also, .NET is installed on the other PC and I have tried to register the .DLL, but this is unsuccessful as well? I guess that is another question: why?
If someone could help me out here I would be very grateful. I have been trying to figure out a solution for a long time. I just don’t understand why everything works fine on my PC but won't run on another.
Thanks for being patient.
brazilnut
Vb6 Com+ Object Runs Once Then Errors With &"activex Component Can't Create Object&"
I have a vb6 com object that will run once successfully, then error with "activex component can't create object" on the call to the com object (see below, GetAppt.GetHRoomsAppointments). the com object (activex.dll) runs in com+ on a win2003 server. The project is set to run unattended, retain in memory, apartment threaded.
The com reads room numbers from oracle 9.2 client (via ado), then reads from outlook 2003 the rooms' appointments (cdo 1.21, outlook 11.0 object library references), and then writes the appointments back out to oracle (via ado). I have it running under com+ (in component services) using an administrator id (as identity) and activation as Server Application. I call the com object from a vb6 .exe.
If I run the code in vb6 debug mode, it works successfully on multiple runs. But once I compile into a .dll, add it to com+, and call from an .exe, it runs once. If I reboot the server, it will run successfully once. I was thinking I was leaving an object open but can not find it. I am doing close on recordsets, ado connections, and setting them to nothing.
How the code works is for each room, it will read from outlook, open an oracle recordset, add to the recordset, and then close the recordset.
Any ideas? I can send .dll code if need be. the .exe is below.
Is there a way to programmatically clean out the com object in the .exe besides setting it to Nothing?
Option Explicit
Sub Main()
Dim GetAppt As Object
Set GetAppt = New GetHRoomsAppts.clsGetHRoomsAppts
GetAppt.ProvID = "1234"
GetAppt.ProvName = "John Doe"
GetAppt.MailBoxServer = "xxx.abc.com"
GetAppt.eduDataBase = "ora.path.com"
GetAppt.apptFolderDir = "Public Folders/All Public Folders/Dept/SUN/Calendars/"
GetAppt.apptTableDir = "fileLoc.Appts"
GetAppt.GetHRoomsAppointments
Set GetAppt = Nothing
End Sub
&"ActiveX Component Can't Create Object&"
I'm using AutoCAD with the software I'm writing in VB 6.0, and I need to use late binding because I don't know what version of Autocad will be on the user's computer. (When us reference the Autocad type library, you have to specify version). The trouble is I get the error "ActiveX component can't create object" Error #429 when I try to run the software on another computer with the same version of Autocad (2004) using late binding. The strange thing is, it works fine on this computer... I need this software to work problem-free when it is installed on another computer with Autocad.
Thanks, any help is welcome
DTS &"ActiveX Component Can't Create Object&"
Hello,
First time to include DTS Execution Module in a Visual Basic application. It runs well in my pc. However, I'm encountering errors such as "ActiveX component can't create object" in other pcs which has no SQL Server Installed. I've already checked dtspkg.dll, dtspump.dll and custtask.dll in the References yet without any luck, error still occurs.
Help!
Please Help On &"Can't Create ActiveX Component&" Error.
I have a program published on the internet that runs perfectly on my machine. I have included all the dll and ocx files with the Inno setup and have a program that rigisters all these ActiveX components.
However, when it is installed from the net, it still gives the Can't Create ActiveX component error!!
What am I doing wrong??
ANY HELP would be appreciated.
Thanks
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
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?
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!!!
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
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
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
Vbsendmail.dll Access 2003 &"Active X Component Can't Create Object&"
Hello. I have been using vbsendmail.dll (I have the latest version of this file as well) in my Access 2000 VB Module for years and it works great. I have a scheduled task that runs every morning and sends out about 20 different emails using the smtphost. We have upgraded to Access 2003. When the module starts to run the "Active X Component Can't Create Object" pops up. I have gone thru all the help regarding this error. When I try to use Regsrv32 there is an error: DllRegisterServer in C:windowssystemvbsendmail.dll failed. Return Code is 0x80004005. Any help on this would be greatly appreciated. I just like the way this ran with no problem for so long and it would be ashame to have to go to something else but I am open to suggestions as well. Thanks!
ActiveX Component Can't Creat Object, Runtime Error 429
Hi,
I am getting this error when i try to run a report in VB6.0 and i am using sqlserver2000 as Database.
I am getting the error over here
Set cobjReportExt = CreateObject(tObjName)
i think one of the ActiveX control is not registered properly, i dont know which control it is, Appreciate your help
Thanks
ActiveX Component Can't Creat Object, Runtime Error 429
Hi,
I am getting this error when i run this code
tobjName is declared as String
tObjName = "CRREPORTS." & fileName
On Error Resume Next
Set cobjReportExt = CreateObject(tObjName)
Screen.MousePointer = vbHourglass
If Not (cobjReportExt Is Nothing) Then
fileName = cobjReportExt.ReportName(RptType)
I am getting the error here
Set cobjReportExt = CreateObject(tObjName)
Actually i didn't wrote this code somebody else did, any help to resolve this appreciated.
Thanks
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
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 : 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'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
|