Results 1 to 4 of 4

Thread: Unregister tlb type library on Windows xp

  1. #1
    Join Date
    Feb 2009
    Posts
    66

    Unregister tlb type library on Windows xp

    I use "regtlib.exe -q MyTypeLib.tlb" to register Type Librarys. I read in some blog that typelib is the one that comes with vbAccelerator's High Resolution Multimedia Timer, namely vbalHRTA.tlb, but when i try to register the same .tlb file on my another machine it does not do so, if I try to go to the correct location in a command window I get the message that CMD does not support UNC paths. What this message suggest, does anyone has any idea about this.

  2. #2
    Join Date
    Feb 2008
    Posts
    137

    Re: Unregister tlb type library on Windows xp

    You can refer a type library in the preferences window. Is the .tlb file itself registered? It could also be registered incorrectly. Try also use "regtlib.exe -?". Reference to Type Lib information object component (TLIBINF32.dll). Download the CCRP registration utility, which can register and unregister type library files (VB itself will register them, but provides no way to unregister them, and regsvr32.exe cannot register or unregister .tlb files).

  3. #3
    Join Date
    Oct 2008
    Posts
    132

    Re: Unregister tlb type library on Windows xp

    I had the same problem. Ms documentation clearly states that you can also "unregister" a typelib with this tool, but there are no instructions for how to do so. A Type Library registration utility that allows you to register Type Libraries more reliably than using VB's Project->References dialog.

  4. #4
    Join Date
    Oct 2008
    Posts
    127

    Re: Unregister tlb type library on Windows xp

    Do you mean, you cannot even load and add the reference to that *.tlb in a fresh, clean VB-Sandard.exe project for example? When you are using a Unicode function, however, you need to ensure Visual Basic never makes the ANSI conversion. That means you can't use the As String construct in Unicode function declares. You can change that relative easy, if you have the Typelib-
    Editor at hand, which comes with the "Curland-Book" - or change it within the *.odl or *.idl-file

Similar Threads

  1. Replies: 3
    Last Post: 26-03-2012, 03:25 PM
  2. Replies: 6
    Last Post: 03-07-2011, 10:20 PM
  3. Replies: 4
    Last Post: 13-04-2011, 10:35 AM
  4. Replies: 4
    Last Post: 28-12-2010, 08:38 AM
  5. Replies: 5
    Last Post: 30-03-2010, 05:21 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,690,455.99859 seconds with 16 queries