Results 1 to 10 of 10

Thread: vb6: package and deployment wizard

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2020
    Posts
    16

    vb6: package and deployment wizard

    Hi I am trying to compile the program on my laptop for deployment to my desktop computer using package and deployment wizard. I get the error message "unexpected error number 429 has occurred. Active X component can't create object". The program accesses an access '93 database. Any help would be greatly appreciated

  2. #2
    PowerPoster
    Join Date
    Feb 2017
    Posts
    5,067

    Re: vb6: package and deployment wizard

    It must be a missing reference.

  3. #3
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,205

    Re: vb6: package and deployment wizard

    A 93 database? There is no db by that name. Are you talking about the old 16 bit version 1.1? Or perhaps you mean 2003?

    Never had that error myself, just wondering if you have the package and deployment wizard set to recompile the exe? What OS and are you running it as admin?

  4. #4
    Frenzied Member
    Join Date
    Dec 2008
    Location
    Melbourne Australia
    Posts
    1,487

    Re: vb6: package and deployment wizard

    Quite a few programmers, do not run their program with full compile in the IDE
    Whereas I do that all the time.
    Whenever I change some code or whatever -
    In the IDE
    I use the keyboard combination -
    Hold down the ALT key and simultaneously press these keys fsrf
    That tells the IDE to Save the current File and Run with Full compile

    I do that because I used to hate working all week, and then being told there is an error when I try to make the EXE
    At my age, I cannot remember what I did in the previous 7 days that may have caused that error.
    Never had that problem since.

    It is quite possible that this won't solve the problem you are currently having, but what the heck, try it anyway.
    And it is a good habit for the future

  5. #5
    Frenzied Member
    Join Date
    Dec 2008
    Location
    Melbourne Australia
    Posts
    1,487

    Re: vb6: package and deployment wizard

    PS If you really would like to resolve this quickly -
    Make a copy of your program, and delete all of the sensitive code out of it, or even all of the code.
    Include all of the forms that have controls on them.,
    Take a copy of your DB, and delete all of the records in it (if you want).
    Attach the trimmed project and DB.

  6. #6
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: vb6: package and deployment wizard

    The PDW is failing because it needs something that is missing.

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Aug 2020
    Posts
    16

    Re: vb6: package and deployment wizard

    Quote Originally Posted by DataMiser View Post
    A 93 database? There is no db by that name. Are you talking about the old 16 bit version 1.1? Or perhaps you mean 2003?

    Never had that error myself, just wondering if you have the package and deployment wizard set to recompile the exe? What OS and are you running it as admin?
    Hi. Using Access 2003 database. Laptop computer is running Windows 10. Any help would be greatly appreciated

  8. #8
    Fanatic Member
    Join Date
    Jan 2013
    Posts
    765

    Re: vb6: package and deployment wizard

    I absolutely agree with this.

    In over two decades of using VB "Proper", Option Explicit and Start With Full Compile have caught so many potential bugs for me that I wish there was a way of making this the default way of debugging a program!

    Mind you, Ctrl-F5 isn't that onerous. ;-)

    Regards, Phill W.

  9. #9
    PowerPoster
    Join Date
    Feb 2017
    Posts
    5,067

    Re: vb6: package and deployment wizard

    Quote Originally Posted by Phill.W View Post
    Option Explicit and Start With Full Compile, Ctrl-F5
    Exactly!

  10. #10
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,205

    Re: vb6: package and deployment wizard

    I always use option explicit but I do not set the start with full compile. I will from time to time do the full compile in testing but IMO doing it every time is a bit of a waste of time. Of course on modern pcs your typical vb6 project compiles pretty quickly so not a lot of time lost but still on larger projects there is a noticeable difference and when you multiply that by the number of test runs it starts to add up and when it does throw an error you still have to spend the time to locate it and correct it so not really saving anything.

    I find that if you make sure to test the new procedures you add then you usually catch any error and rarely get an error later when you do a full compile.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width