Results 1 to 5 of 5

Thread: RegAsm

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2005
    Posts
    120

    RegAsm

    I am trying to register VB.net DLL with RegAsm.exe utility so that I can use that DLL in VB6 but I am getting some error and it's not creating any .TLB files can somebody suggest me what I am doing wrong?

    error screenshot
    http://www.geocities.com/mirag2001/regasm.JPG

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: RegAsm

    The error message specifically tells you what the problem is. Sign your assembly or don't use the /codebase switch. You sign an assembly from the curiously-named Signing tab of the project properties.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2005
    Posts
    120

    Re: RegAsm

    after removing /codebase switch i am still getting secound error what to do with that error?

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: RegAsm

    Hmmm... didn't even see the second message. Should have opened my other eyes too. I've had limited experience with regasm myself but when I did use it the following commandline worked for me:
    Code:
    regasm /tlb:MyAssembly.tlb MyAssembly.dll
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jun 2005
    Posts
    120

    Re: RegAsm

    any other solution?

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