Consulting

Results 1 to 7 of 7

Thread: DLL add-in registration

  1. #1
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location

    DLL add-in registration

    Hello, I have downloaded a DLL file from mark007's web site (here). The file in question is the Indenter.dll, download for VBA - not the VBScript version.

    I know this may sound silly, but how do you register this? I'd like to use it, as I've been hoping there was one out there, then I found Mark's site! (Whoohoo!)

    Thanks!

  2. #2
    VBAX Regular
    Joined
    Jul 2004
    Location
    San Bernardino, California
    Posts
    69
    Location
    I hate to be the bearer of bad news, but he put a demo for registering dlls just below it.

    Sorry, I know it's a long ways down, but you can do it.

    ROFL . . . Good Luck, let me know if you can't get it.

  3. #3
    VBAX Mentor XL-Dennis's Avatar
    Joined
    May 2004
    Location
    ?stersund, Sweden
    Posts
    499
    Location
    Zack,

    How about:

    regsvr32.exe [path\file.dll]

    From the commandprompt,

    Edit: Hehe - One scroll down...

    Dennis
    Kind regards,
    Dennis

    ExcelKB | .NET & Excel | 2nd edition PED


  4. #4
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    Anthony:

    Gee, thanks Mr. Obvious. I never put 2 and 2 together. (Radio show comedy). Thanks Anthony!!

    Dennis:

    Worked like a charm! Thanks! Out of curiosity, where'd you come up with that one? Is that a common command, and I just don't know bout it? Used in VB, .NET, VBScript? Just trying to learn the ropes!

  5. #5
    VBAX Mentor XL-Dennis's Avatar
    Joined
    May 2004
    Location
    ?stersund, Sweden
    Posts
    499
    Location
    It has been around for ages but nowdays I use a setup-program that do the work for me like Wise.

    Kind regards,
    Dennis
    Kind regards,
    Dennis

    ExcelKB | .NET & Excel | 2nd edition PED


  6. #6
    BoardCoder
    Licensed Coder
    VBAX Expert mark007's Avatar
    Joined
    May 2004
    Location
    Leeds, UK
    Posts
    622
    Location
    All the script does that you didn't notice ( LOL ) is add a couple of registry entries so that:

    regsvr32.exe path

    is called from the right click context menu of a dll.

    BTW, hope you like the indenter, I find it invaluable as I'm not a neat enough coder to do it myself! I used the same code for the indentation on the VBA tags here - I just converted it from VB to PHP. There are a couple of keywords it misses which I think are: Enum and Type but I've never been fussed enough to recompile it. If you notice any others though let me know and I'll add them in.

    "Computers are useless. They can only give you answers." - Pablo Picasso
    Mark Rowlinson FIA | The Code Net

  7. #7
    Site Admin
    Urban Myth
    VBAX Guru
    Joined
    May 2004
    Location
    Oregon, United States
    Posts
    4,940
    Location
    Quote Originally Posted by mark007
    BTW, hope you like the indenter

    Love it!!

Posting Permissions

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