Web Interface for PDF-XChange SDK...

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

lidds
User
Posts: 514
Joined: Sat May 16, 2009 1:55 pm

Web Interface for PDF-XChange SDK...

Post by lidds »

I was wondering if there is a web based PDF-XChange SDK, e.g. ASP.NET etc?

If not is there any plans to do this?

Thanks in advance

Simon
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Web Interface for PDF-XChange SDK...

Post by Stefan - PDF-XChange »

Hello Simon,

You have posted in the Viewer SDK forums so I presume you are asking for the viewer. The answer is yes there is the Viewer ActiveX SDK, BUT you know that non MS browsers do not support activeX

Regards,
Stefan
lidds
User
Posts: 514
Joined: Sat May 16, 2009 1:55 pm

Re: Web Interface for PDF-XChange SDK...

Post by lidds »

I am in the process of writing a windows form application using the PDF-XChange SDK Activex, however when I created a ASP.Net project in Visual Studio the PDF-XChange control was not avaliable?

Not quite sure what I am doing wrong, but any guidance would really be apreshiated.

Thanks for your help

Simon
ugradedeveloper
User
Posts: 223
Joined: Wed Aug 22, 2007 4:40 pm

Re: Web Interface for PDF-XChange SDK...

Post by ugradedeveloper »

Hi lidds,

In Visual Studio, if you want to use any controls other than the default Microsoft ones, you have to manually add them to your toolbox. At least, that is the way it works with C#, I would assume it is the same for ASP.nET.

In Visual Studio 2005, you go to the Tools menu and select "Choose Toolbox Items", then click the Browse button to find the control you want to add.
User avatar
Chris - PDF-XChange
Site Admin
Posts: 798
Joined: Tue Apr 14, 2009 11:33 pm

Re: Web Interface for PDF-XChange SDK...

Post by Chris - PDF-XChange »

Thanks for the input ugradedeveloper, appreciated :wink:
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.


Chris Attrell
Tracker Sales & Support North America
http://www.tracker-software.com
lidds
User
Posts: 514
Joined: Sat May 16, 2009 1:55 pm

Re: Web Interface for PDF-XChange SDK...

Post by lidds »

Thanks for the help, however I have done that and selected the PDF-XChange control however it does not add to my toolbox. Is PDF-XChange definately avaliable for ASP.Net pages? Is anyone able to supply me with a simple one page ASP.Net project example?

I can't seem to find any example of website interface shipped with this product.

Thanks for your help

Simon
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Web Interface for PDF-XChange SDK...

Post by Corwin - Tracker Sup »

ActiveX is client side technology, so you can create AX components by JavaScript (or VB script) or insert them on page using "object" tag in HTML.
Here is simple example project.
You do not have the required permissions to view the files attached to this post.
lidds
User
Posts: 514
Joined: Sat May 16, 2009 1:55 pm

Re: Web Interface for PDF-XChange SDK...

Post by lidds »

Thanks Corwin,

This was a great help, only thing that I am stuck on now is that I am using the following code in vb.Net:

Code: Select all

            pdfView.DoVerb(Nothing, "ExecuteCommand", 33016, Nothing)
            pdfView.DoVerb(Nothing, "ExecuteCommand", 33225, 0)
            pdfView.DoVerb(Nothing, "ExecuteCommand", 32908, 0)
            pdfView.DoVerb(Nothing, "ExecuteCommand", 33262, 0)
            pdfView.DoVerb(Nothing, "ExecuteCommand", 33265, 0)
            pdfView.DoVerb(Nothing, "ExecuteCommand", 33225, 0)
            pdfView.SetProperty("View.Colors.Face", RGB(204, 207, 212), 0)
            pdfView.SetProperty("View.Colors.Highlight", RGB(255, 221, 108), 0)
How would I convet this into website syntax e.g. javscript?

Thanks for your help

Simon
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Web Interface for PDF-XChange SDK...

Post by Corwin - Tracker Sup »

I don't think that this is good idea to show toolbars using "ExecuteCommand".
Anyway here is a sample with your modified code. This example also shows how to import/export FDF files.
You do not have the required permissions to view the files attached to this post.
lidds
User
Posts: 514
Joined: Sat May 16, 2009 1:55 pm

Re: Web Interface for PDF-XChange SDK...

Post by lidds »

Corwin,

Thank you so much for all your help, think I am there now with your help

Cheers

Simon
User avatar
John - Tracker Supp
Site Admin
Posts: 5223
Joined: Tue Jun 29, 2004 10:34 am

Re: Web Interface for PDF-XChange SDK...

Post by John - Tracker Supp »

Good to see all's resolved Simon - Sasha (Corwin) is one of the best - for sure !
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com