Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 6th, 2006, 01:20 PM
Authorized User
 
Join Date: Aug 2006
Location: , , .
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default Run time error 429- ActiveX component can't create

I keep getting this error "Run time error 429 - ActiveX component can't create" on my program when i try to run it. Right at this line of code:
Set objApp = GetObject(, "Word.Application")

It ran just the other day perfect, now I cannot get past this "Run time error 429 - ActiveX component can't create"
help please. here is a few lines of the code.

Private Sub cmdOpenDocument_Click()

    Set objApp = GetObject(, "Word.Application")

    'OPEN PROCEDURE AND SET DOCUMENT OBJECT
    Documents.Open (Me.txtPath)
    Set objDoc = objApp.ActiveDocument

    'SET PARAGRAPHS COLLECTION OBJECT
    Set objPars = objDoc.Paragraphs

    intLineNum = 1
    intLev01 = 0
    intLev02 = 0
    intLev03 = 0
    intLev04 = 0

    'ENABLE CLOSE DOCUMENT BUTTON
    Me.cmdGetNextLine.Enabled = True
    Me.cmdGetHeader.Enabled = True
    Me.cmdCloseDocument.Enabled = True
    Me.cmdGetNextLine.SetFocus
    Me.cmdOpenDocument.Enabled = False
    Me.cmdSaveDocData.Enabled = True

    'INITIALIZE THE RANK COUNTERS
    Me.txtChRank = 1
    Me.txtSigRank = 1

End Sub

Reply With Quote
  #2 (permalink)  
Old September 6th, 2006, 04:05 PM
Authorized User
 
Join Date: Aug 2006
Location: , , .
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found why i was getting the error.

Reply With Quote
  #3 (permalink)  
Old September 8th, 2006, 12:22 PM
Friend of Wrox
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

How about sharing when you find the solution?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run time error 429 - ActiveX component can't creat carswelljr Pro Visual Basic 2005 2 September 8th, 2006 11:32 AM
Run-Time Error 429 SerranoG Access VBA 2 December 20th, 2004 07:28 PM
Run Time Error 429 wwwdirzala Pro VB Databases 1 July 18th, 2004 11:58 PM
Run-time error '429' Dmitriy Pro VB 6 1 August 27th, 2003 01:46 PM



All times are GMT -4. The time now is 04:58 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.