Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - ISEDQuickPdf wth RealBasic
  FAQ FAQ  Forum Search   Register Register  Login Login

ISEDQuickPdf wth RealBasic

 Post Reply Post Reply
Author
Message
xbww View Drop Down
Beginner
Beginner


Joined: 31 Oct 05
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote xbww Quote  Post ReplyReply Direct Link To This Post Topic: ISEDQuickPdf wth RealBasic
    Posted: 16 Mar 06 at 3:21PM

Anybody got an idea of how to use ISEDQuickPdf library with 2005/2006 versions of RealBasic? I've tried to add the ActiveX to the project with the Project/Add command but it does not show up? It has been registered.

Maybe it can be instantiated with code without having to be "added" to the project?   I know that MBS has a pluging that works with it but I am wondering why I can't use it directly.

Back to Top
chicks View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 29 Oct 05
Location: United States
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote chicks Quote  Post ReplyReply Direct Link To This Post Posted: 16 Mar 06 at 3:47PM
I don't know RealBasic, but iSEDQuickPDF doesn't have any sort of visual interface, it's a COM component.

Whatever mechanism RB uses to instantiate a COM object should work...

There's also the DLL version, if RB supports DLL's.

Edited by chicks
Back to Top
xbww View Drop Down
Beginner
Beginner


Joined: 31 Oct 05
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote xbww Quote  Post ReplyReply Direct Link To This Post Posted: 18 Mar 06 at 5:20PM

I figured it out. You have to use declares. Seems to work great. Just put the dll in the same folder as the application you compile.

  Declare Function iSEDUnlockKey Lib "iSEDQuickPDf.dll" ( sRegKey As CString ) As Integer
  Declare Function iSEDDrawText Lib "iSEDQuickPDF.dll" (dXPos As Double,dYPos As Double, sText As CString) As Integer
  Declare Function iSEDSaveToFile Lib "iSEDQuickPDF.dll" (sFileName As CString) As Integer
   
  Dim a as integer
 
  a=iSEDUnlockKey("*****")
  a=iSEDDrawText(100, 500, "Hello World!")
  a=iSEDSaveToFile("c:\test.pdf")



Edited by xbww
Back to Top
chicks View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 29 Oct 05
Location: United States
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote chicks Quote  Post ReplyReply Direct Link To This Post Posted: 18 Mar 06 at 9:16PM
OK, so you are using the DLL version. The download from the iSEDQuickPDF site includes a .inc file for PowerBASIC that has all the declares. You will probably need to change a few of them for RB, but most should be correct.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store