Results 1 to 8 of 8

Thread: VB 6.0 deployment issue, 80040154 error

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2022
    Posts
    4

    VB 6.0 deployment issue, 80040154 error

    Hi,

    I have a program written in VB6.0, compile good and run good in the IDE, it can also create an EXE file.
    However, when I use the Added-Ins feature : Package and Deployment, select vbp file, click on Package, it always has the follow error and fail to continuous.

    Unexpected error number 80040154 has occurred: Class not registered

    So I cannot do a project deployment.

    Any idea how I can fix it?

    I am using Windows 10 Pro.

    thank you very much!


    Martin

  2. #2
    PowerPoster jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    2,392

    Re: VB 6.0 deployment issue, 80040154 error

    Do you get this error when creating the installation package or when you are trying to install it on another computer?

    What version of Windows does the computer you are getting the error on have?

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2022
    Posts
    4

    Re: VB 6.0 deployment issue, 80040154 error

    Hi,
    Yes, it only happen when I created an installation package ( deploy the program ). I had it worked before in another old computer ( which was lost ) but it does not work in this computer.

    I am using Windows 10 Pro. 2019. 64 bits. Intel i7

    Is that because of 64 bits issue?

    Thanks!

  4. #4
    PowerPoster jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    2,392

    Re: VB 6.0 deployment issue, 80040154 error

    Is that because of 64 bits issue?
    Possibly. We would need to know what dependencies your program requires in order to determine where the issue might be.

  5. #5

    Thread Starter
    New Member
    Join Date
    Aug 2022
    Posts
    4

    Re: VB 6.0 deployment issue, 80040154 error

    Hi,
    This program is simple. It don't needs to include any external library, just 10 form files.

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

    Re: VB 6.0 deployment issue, 80040154 error

    Both VB6.EXE and the stand-alone PDCMDLN.EXE must always be run elevated.

    If you are not doing this you can run afoul of registry and file virtualization issues. I don't see how "64 bits" comes into any of this since all of the software involved is 32-bit code.

  7. #7
    PowerPoster jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    2,392

  8. #8

    Thread Starter
    New Member
    Join Date
    Aug 2022
    Posts
    4

    Re: VB 6.0 deployment issue, 80040154 error

    Hi,

    Now I am able to do the deployment but only using an old PC with 32 bit Windows XP. So I think it is the 64 bit issue.

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