Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7438077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:29:56+00:00 2026-05-29T10:29:56+00:00

I am working on a vb6 project and want to create a manifest so

  • 0

I am working on a vb6 project and want to create a manifest so no registering is required.

I use MMM (Make My Manifest) tool which scans your VB6 project for dll dependencies and generates the manifest.

However, the MMM does not include tlb files, and I have a Client.dll and Client.tlb written in .net that which has been exposed to COM and used in my VB6 program.

I don’t to you use Regasm as it would be nice if no register to the registry is done.

I tried to generate a seperate manifest for the via the mt tool in command line, ‘mt.exe -tlb:Client.tlb -dll:Client.dll -out:Client.manifest’

Then I thought I could merge the 2 manifest via: ‘mt.exe -manifest program.exe.manifest client.manifest -out:program.exe.manifest’

However, when I run the program I’m getting an message box that says ‘ Run-time error -2147220999 (800401f9): Automation error , Error in the Dll’

Am i doing things correctly above, anyone had similar experience, any help appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T10:29:57+00:00Added an answer on May 29, 2026 at 10:29 am

    Here is a short description how UMMM does it:

    1. First, for the .Net dll it generates a manifest to a temp file with this

      mt.exe -nologo -managedassemblyname:"{dotnet_dll}" -nodependency -out:"{dotnet_dll}.manifest"
      
    2. Then embeds this manifest into .Net dll as RT_MANIFEST resource 2 with this

      mt.exe -nologo -manifest "{dotnet_dll}.manifest" -outputresource:"{dotnet_dll}";2
      
    3. Finally references the .Net dll from the VB6 executable by extracting assemblyIdentity tag from .Net dll manifest and adding it to the reg-free manifest inside dependency\dependentAssembly tag like this

      <dependency>
          <dependentAssembly>
              <assemblyIdentity name="PdfSigner" version="1.0.0.0" processorArchitecture="msil" />
          </dependentAssembly>
      </dependency>
      

    This way clrClass tags Hans mentions appear in the the .Net dll embedded manifest and not in the VB6 executable manifest.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a very old project (2000) in VB6 which was modernized and
i`m working on the legacy project in VB6 with huge object all with public
I am working on a VB6 project and I need to extract plain text
I was working on my vb6 project, and I needed my scrollbar max to
We have a legacy VB6 app, which is critical to our business. We're working
I've been working on a project for my company that's completely implemented in VB6.
I have this bit of VB6 sliced out of a project I'm working on:
Which PE viewer application do you prefer to use when working with Win32 libraries?
I'm working on a legacy VB6 application. In a certain use case, the application
I'm working on a small project in VB6, and am trying to fiddle with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.