how to use a library with VB6 application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ravitunk
    New Member
    • Jun 2007
    • 88

    how to use a library with VB6 application

    hello all...I have a VB6 application...f or this I want to use iText library......ca n anyone plz tell me where to get it from and how to use that library...plz reply soon....I will be thankful for any reply...
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    do u have the library ,you want to use ?

    if you have it ,copy it to SYSTEM32 folder.

    register the component with windows using REGSER32 key.

    access to that from project---reference menu

    create an object of the library and use its other properties and methods.

    Comment

    • ravitunk
      New Member
      • Jun 2007
      • 88

      #3
      I have a Library called "iText" which is a Java Library.....can we use tht Library in VB application to manipulate PDF files...?????.. Please confirm the same....I will be thankful to u....reply sooner than later...

      Originally posted by debasisdas
      do u have the library ,you want to use ?

      if you have it ,copy it to SYSTEM32 folder.

      register the component with windows using REGSER32 key.

      access to that from project---reference menu

      create an object of the library and use its other properties and methods.

      Comment

      • ravitunk
        New Member
        • Jun 2007
        • 88

        #4
        I have downloaded iText.dll (Java Library) and copied it to the System32 folder in C drive.....and the in command prompt I tried to register the dll...the command I used is...
        <Code>
        C:\>regsvr32 "C:\WINDOWS\sys tem32\iText.dll "
        </Code>

        but its hitting out an error saying...

        LoadLibrary(C:\ WINDOWS\system3 2\iText.dll) failed- The specified module could not be found.

        Please let me know where am I going wrong....will appreciate ur reply...

        Comment

        • fastestindian
          New Member
          • Aug 2009
          • 74

          #5
          This error is usually a machine-specific issue and can be related to a corrupted registry key or a DCOM error.

          There is also a .net iText library.
          you can create interop and use the functionality..

          Comment

          Working...