Search found 664 matches

by Corwin - Tracker Sup
Tue Mar 01, 2011 12:36 pm
Forum: PDF-XChange Viewer SDK
Topic: getting value of form field and its name
Replies: 8
Views: 2782

Re: getting value of form field and its name

Hello Joe,

And again - all works fine for me (name and value gets fine). Can you please send us sample file where you get such problems?
Also note that annots array is zero based, so if you want to get all annots, you should change your "for" statement:

Code: Select all

for (int j=0; j<icount; j++)
by Corwin - Tracker Sup
Mon Feb 28, 2011 3:40 pm
Forum: PDF-XChange Viewer SDK
Topic: getting value of form field and its name
Replies: 8
Views: 2782

Re: getting value of form field and its name

Hi joe, As I have test it, this line JavaString.Format(L"var fname = this.getNthFieldName(%d);var f = this.getField(fname);f.name;", j); works fine. Please make sure that you are using latest build of Viewer. Also you may test JS in standalone Viewer just to check how it works. JavaString....
by Corwin - Tracker Sup
Mon Feb 28, 2011 1:41 pm
Forum: PDF-XChange Viewer SDK
Topic: How to use PDF Viewer in ASP.NET application
Replies: 41
Views: 16844

Re: How to use PDF Viewer in ASP.NET application

muralidhar wrote:can i access the viewer in asp.net webpage serverside code?
As I know, there is no appropriate way to do this.
muralidhar wrote:or can you please tell me how can i get the file's stream from javascript and using that in my serverside code.
I'm afraid, that we do not have any sample code for this.

Best regards
by Corwin - Tracker Sup
Thu Feb 24, 2011 11:58 am
Forum: PDF-XChange Viewer SDK
Topic: How to use PDF Viewer in ASP.NET application
Replies: 41
Views: 16844

Re: How to use PDF Viewer in ASP.NET application

Hello muralidhar, For silent printing, you can set next printer options: PDFPrinter.Option["Save.File"] = "C:\\sample.pdf"; PDFPrinter.Option["Save.SaveType"] = "Save"; PDFPrinter.Option["Save.ShowSaveDialog"] = "No"; PDFPrinter.Option[&quo...
by Corwin - Tracker Sup
Tue Feb 22, 2011 12:40 pm
Forum: PDF-XChange Viewer SDK
Topic: How to use PDF Viewer in ASP.NET application
Replies: 41
Views: 16844

Re: How to use PDF Viewer in ASP.NET application

Hello muralidhar,

Here is small sample of how to use drivers API in C#
PDFdriverAPIExample.zip
(22.85 KiB) Downloaded 291 times
HTH
by Corwin - Tracker Sup
Tue Feb 22, 2011 12:31 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Touch questions (Asus T91MT)
Replies: 9
Views: 5678

Re: Touch questions (Asus T91MT)

Hello chowirun,

Many thanks for your detailed description. We will investigate it as soon as possible.

Best regards
by Corwin - Tracker Sup
Mon Feb 21, 2011 3:53 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Touch questions (Asus T91MT)
Replies: 9
Views: 5678

Re: Touch questions (Asus T91MT)

Hi chowirun, The reason that inertia scrolling is not working under Fullscreen mode is that in this mode there is no scrollbars, so Windows is not sending pan gesture messages. We will change this behavior in next version (V3). Also I was not able to reproduce your problem with hand tool. Maybe you ...
by Corwin - Tracker Sup
Thu Feb 17, 2011 3:22 pm
Forum: PDF-XChange Viewer SDK
Topic: Win7/2008 Server - PDFXCview premature death
Replies: 28
Views: 12383

Re: Win7/2008 Server - PDFXCview premature death

Hi DSSavant, As I have test it on my Win Server 2008 - all works fine. Also please note that if PDFVeiwer server rejects a Windows logoff message then this will stop the logoff for all other apps. You can read about this on MSDN http://msdn.microsoft.com/en-us/library/aa376890%28VS.85%29.aspx I have...
by Corwin - Tracker Sup
Thu Feb 17, 2011 2:23 pm
Forum: PDF-XChange Viewer SDK
Topic: How to use PDF Viewer in ASP.NET application
Replies: 41
Views: 16844

Re: How to use PDF Viewer in ASP.NET application

Hello muralidhar,

Here is a sample of how you can get document file name in JS:

Code: Select all

var activeDocId = document.all.PDFView.Property("Documents.Active", 0);
var s = document.all.PDFView.Property("Documents[#" + activeDocId + "].FileName", 0);
alert(s);
HTH.
by Corwin - Tracker Sup
Wed Feb 16, 2011 4:54 pm
Forum: PDF-XChange Viewer SDK
Topic: Disable context menus
Replies: 1
Views: 975

Re: Disable context menus

Hi,

You indeed may disable "Manage Search Providers" command. It doesn't have name, but you can find it by title. ID for this command is 36513.

HTH.
by Corwin - Tracker Sup
Wed Feb 16, 2011 1:18 pm
Forum: PDF-XChange Viewer SDK
Topic: Page Move
Replies: 5
Views: 1975

Re: Page Move

Please read about PXCp_InsertPagesTo and PXCp_RemovePage functions in PDF-Tools SDK documentation.
by Corwin - Tracker Sup
Tue Feb 15, 2011 4:53 pm
Forum: PDF-XChange Viewer SDK
Topic: Page Move
Replies: 5
Views: 1975

Re: Page Move

Hello,

In current version of Viewer SDK you may move pages only by using JS.

HTH.
by Corwin - Tracker Sup
Tue Feb 15, 2011 1:45 pm
Forum: PDF-XChange Viewer SDK
Topic: Real ReadOnly Mode
Replies: 6
Views: 2180

Re: Real ReadOnly Mode

I'm glad, that you have found workaround. In current version there is no way to open PDF doc without locking it. However we will reconsider such functionality in next version.
by Corwin - Tracker Sup
Tue Feb 15, 2011 12:42 pm
Forum: PDF-XChange Viewer SDK
Topic: Real ReadOnly Mode
Replies: 6
Views: 2180

Re: Real ReadOnly Mode

Hello Tino,

You may also try to use "General.DenyAllModifyOperations" property.

HTH.
by Corwin - Tracker Sup
Mon Feb 14, 2011 1:42 pm
Forum: PDF-XChange Viewer SDK
Topic: How to reset viewer?
Replies: 2
Views: 1139

Re: How to reset viewer?

Hi cew,

You can always load your custom settings from file - this will reset user changes in UI.

HTH.
by Corwin - Tracker Sup
Mon Feb 14, 2011 1:31 pm
Forum: PDF-XChange Viewer SDK
Topic: Open document using IStream from C# Source storage is wrong
Replies: 5
Views: 1832

Re: Open document using IStream from C# Source storage is wrong

Hi Chris,

To view PDF, Viewer should have full document, however IStream.Read function may take as much time for loading bytes as it needs.
by Corwin - Tracker Sup
Fri Feb 11, 2011 2:03 pm
Forum: PDF-XChange Viewer SDK
Topic: How to save Selected PDF in serverside event?
Replies: 20
Views: 5638

Re: How to save Selected PDF in serverside event?

Hello Muralidhar,

Viewer SDK doesn't provide any methods for uploading PDF to server, so this should be done with your own code or if you also use our PDF-Tools SDK as well there are methods there 'post' externally etc in the 'netlib' library options.
by Corwin - Tracker Sup
Thu Feb 10, 2011 2:08 pm
Forum: PDF-XChange Viewer SDK
Topic: How to save Selected PDF in serverside event?
Replies: 20
Views: 5638

Re: How to save Selected PDF in serverside event?

Hi Muralidhar,

I'm afraid, that I do not fully understood how exactly you want to use Viewer ActiveX. Should it be opened in web page on client side, or only on server side?
by Corwin - Tracker Sup
Thu Feb 10, 2011 1:54 pm
Forum: PDF-XChange Viewer SDK
Topic: Open document using IStream from C# Source storage is wrong
Replies: 5
Views: 1832

Re: Open document using IStream from C# Source storage is wrong

Hi Chris,

One of possible reason is that OpenEdge IStream is different from standard stream objects provided by Microsoft COM specifications. As you can see - all our samples works fine with open/save to IStream.
by Corwin - Tracker Sup
Thu Feb 10, 2011 1:37 pm
Forum: PDF-XChange Viewer SDK
Topic: View Attachment
Replies: 1
Views: 956

Re: View Attachment

Hi Jim,

Please make sure, that you are using latest version of Viewer SDK. As I have tested - all works fine. By the way - you can show the "Attachments" pane directly, without the "Options" toolbar.
by Corwin - Tracker Sup
Fri Feb 04, 2011 3:06 pm
Forum: PDF-XChange Viewer SDK
Topic: Blank Pages being printed out on lexmark printer
Replies: 9
Views: 4415

Re: Blank Pages being printed out on lexmark printer

Hello John,

We will investigate such difference between C# and VB.NET samples. Thank you for your info.
by Corwin - Tracker Sup
Fri Feb 04, 2011 3:04 pm
Forum: PDF-XChange Viewer SDK
Topic: Lock command / toolbar / pane
Replies: 9
Views: 2494

Re: Lock command / toolbar / pane

Hi, how do I lock commands / toolbar / panes? You may set "View.Locked" property to true (using SetProperty function), or use LockedView property of Viewer Ax component. I don't allow the users of my application to annotate any PDFs. For this you may use "General.DenyAllModifyOperatio...
by Corwin - Tracker Sup
Fri Feb 04, 2011 12:28 pm
Forum: PDF-XChange Viewer SDK
Topic: Custom commands in toolbar?
Replies: 1
Views: 932

Re: Custom commands in toolbar?

Hello,

I'm afraid that this is not possible in current version of Viewer.
by Corwin - Tracker Sup
Fri Feb 04, 2011 12:27 pm
Forum: PDF-XChange Viewer SDK
Topic: Custom directory for stamps
Replies: 3
Views: 1341

Re: Custom directory for stamps

Hi cew,

You may be interested in reading this topic:
https://forum.pdf-xchange.com/ ... =36&t=7638
by Corwin - Tracker Sup
Fri Feb 04, 2011 12:17 pm
Forum: PDF-XChange Viewer SDK
Topic: Opening PDFxcview from Access 2007
Replies: 7
Views: 1952

Re: Opening PDFxcview from Access 2007

Hello dpavao,

As I can see - component on your form is named "CoPDFXCview3". But in your code you try to call "CoPDFXCview2" which doesn't exists.

HTH.
by Corwin - Tracker Sup
Fri Feb 04, 2011 12:09 pm
Forum: PDF-XChange Viewer SDK
Topic: Remove or Disable Entire Help Menu?
Replies: 3
Views: 1286

Re: Remove or Disable Entire Help Menu?

To do this you should open "Customize Toolbars" dialog (from toolbar popup menu), and then just drag "Help" menu outside of toolbars section.

HTH.
by Corwin - Tracker Sup
Thu Feb 03, 2011 7:54 pm
Forum: PDF-XChange Viewer SDK
Topic: Remove or Disable Entire Help Menu?
Replies: 3
Views: 1286

Re: Remove or Disable Entire Help Menu?

Hi jeffp,

You can do this by removing Help menu in Viewer UI, export this settings, and then import them to your Viewer Ax control.

HTH.
by Corwin - Tracker Sup
Thu Feb 03, 2011 7:50 pm
Forum: PDF-XChange Viewer SDK
Topic: Customize toolbar icons
Replies: 3
Views: 1302

Re: Customize toolbar icons

Hi Chris,

One of possible solutions - you can also configure Viewer settings using one of full examples (e.g. Delphi sample - PDFXChangeViewerActiveX.exe). This will help you to make "clear" configuration file, without end user toolbars.
by Corwin - Tracker Sup
Thu Feb 03, 2011 4:45 pm
Forum: PDF-XChange Viewer SDK
Topic: Wrong identificator of language
Replies: 7
Views: 2081

Re: Wrong identificator of language

You should not place "Languages" directory in your app output directory. It should be placed with PDF-XChange main executable file (PDFXCview.exe).
by Corwin - Tracker Sup
Thu Feb 03, 2011 3:38 pm
Forum: PDF-XChange Viewer SDK
Topic: Bookmarks, Pages, ... pane questions
Replies: 3
Views: 1119

Re: Bookmarks, Pages, ... pane questions

Hello, A) How do I prevent the Bookmarks, Pages, and "other panes" from floating in the viewer? Since I'm incorporating your viewer control into my product, I do not want to allow the user to undock / float / detach / etc. the panes. Try to set "View.Locked" property to true. B) ...
by Corwin - Tracker Sup
Thu Feb 03, 2011 3:23 pm
Forum: PDF-XChange Viewer SDK
Topic: Wrong identificator of language
Replies: 7
Views: 2081

Re: Wrong identificator of language

Hi cew,

Actually you need to copy "Languages" folder to directory with registered PDFXCview.exe application.

HTH.
by Corwin - Tracker Sup
Thu Feb 03, 2011 3:13 pm
Forum: PDF-XChange Viewer SDK
Topic: Opening PDFxcview from Access 2007
Replies: 7
Views: 1952

Re: Opening PDFxcview from Access 2007

Hi dpavao,

I have tried to use Viewer Active X in MS Access 2007 according to this article:
http://support.microsoft.com/kb/209919
and all works fine. My sample data base is attached to this message.
by Corwin - Tracker Sup
Thu Jan 27, 2011 4:05 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lock problem during the "exporting" of a PDF file list
Replies: 12
Views: 5078

Re: Lock problem during the "exporting" of a PDF file list

Well, you may set PDF-XChange Viewer as default viewer for PDF files and use ShellExecute method, or you may use Viewer command line arguments, which has this arguments: "...\PDFXCview.exe" /printto[:[default=yes|no][&showui=yes|no][&pages=<pagesrange>]] <printername> <filename1> [...
by Corwin - Tracker Sup
Thu Jan 27, 2011 3:54 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Extract All Marked-up Pages
Replies: 13
Views: 4150

Re: Extract All Marked-up Pages

I cannot get any crash with latest version of Viewer. However if you can help us to reproduce this problem it will be fixed.
by Corwin - Tracker Sup
Thu Jan 27, 2011 3:29 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lock problem during the "exporting" of a PDF file list
Replies: 12
Views: 5078

Re: Lock problem during the "exporting" of a PDF file list

meaning? ...using same DriverApi example... If you will try to print MS Word document using ShellExecute with "printto" command, you will see that Word will close itself right after printing and this is normal behavior for most programs. Anyway we cannot change this fact, that Acrobat sti...
by Corwin - Tracker Sup
Thu Jan 27, 2011 1:18 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Extract All Marked-up Pages
Replies: 13
Views: 4150

Re: Extract All Marked-up Pages

As I have check it, all works fine even if Viewer is opened in IE. Maybe you can give us a link to document where you get this crash?
by Corwin - Tracker Sup
Thu Jan 27, 2011 12:43 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lock problem during the "exporting" of a PDF file list
Replies: 12
Views: 5078

Re: Lock problem during the "exporting" of a PDF file list

Hi Stefano, As I can see, you are trying to print PDF file using Acrobat Reader. But the problem is that after executing "printto" command Adobe Acrobat Reader remains opened and there is nothing we can do with it. You may try to close it automatically by sending WM_CLOSE command. Also you...
by Corwin - Tracker Sup
Wed Jan 26, 2011 5:28 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Extract All Marked-up Pages
Replies: 13
Views: 4150

Re: Extract All Marked-up Pages

Hi xz1bbj, For now I may suggest you to run simple java script: function RemovePagesWithoutAnnots() { var numpages = this.numPages; var nPageIndex = 0; while(nPageIndex < numpages) { var annots = this.getAnnots(nPageIndex); if (annots == null) { var nStartPage = nPageIndex; nPageIndex++; while(nPage...
by Corwin - Tracker Sup
Wed Jan 26, 2011 5:22 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lock problem during the "exporting" of a PDF file list
Replies: 12
Views: 5078

Re: Lock problem during the "exporting" of a PDF file list

Hi Stefano,

Actually when you set "Save.RunApp" to false any of PDF viewers should not be opened. Can you send us your sample project so we can check it here?
by Corwin - Tracker Sup
Tue Jan 18, 2011 2:24 pm
Forum: PDF-XChange Viewer SDK
Topic: registration-free deployment
Replies: 13
Views: 5432

Re: registration-free deployment

Hi Alan,

I have just checked Viewer Ax with manifest file on newly installed Windows Server 2008 R2 and all works fine.
by Corwin - Tracker Sup
Wed Jan 12, 2011 1:52 pm
Forum: PDF-XChange Viewer SDK
Topic: registration-free deployment
Replies: 13
Views: 5432

Re: registration-free deployment

Hello Alan,

Maybe you use TXPManifest component or enable default Delphi manifest? In that case this topic may help you:
https://forums.embarcadero.com/message. ... eID=308150
by Corwin - Tracker Sup
Tue Jan 11, 2011 12:36 pm
Forum: PDF-XChange Viewer SDK
Topic: registration-free deployment
Replies: 13
Views: 5432

Re: registration-free deployment

Are your tests being done on a machine with no previous knowledge of XChangeVeiwer? Yes, and all works as supposed. May I ask you, to send us your app (with all manifests files), so we can see what's wrong? Please zip any files and pls do not expose any serial numbers etc if project files are suppl...
by Corwin - Tracker Sup
Mon Jan 10, 2011 2:17 pm
Forum: PDF-XChange Viewer SDK
Topic: pdf xcange viewer in asp.net
Replies: 14
Views: 3710

Re: pdf xcange viewer in asp.net

Hi,

You can specify your own folder for download, by setting "Documents.DownloadFolder" property.
1. i need to hide the close button in the thumbunails
Try to set "View.Locked" property to true.

HTH.
by Corwin - Tracker Sup
Mon Jan 10, 2011 1:55 pm
Forum: PDF-XChange Viewer SDK
Topic: registration-free deployment
Replies: 13
Views: 5432

Re: registration-free deployment

Hi Alan,

I have tested sample MDI app as you described, and have found no problems with it. Maybe you can give more detailed step-by-step instruction, of how to reproduce your problem?
by Corwin - Tracker Sup
Mon Jan 10, 2011 1:23 pm
Forum: PDF-XChange Viewer SDK
Topic: OLE 82130001 Error
Replies: 3
Views: 1471

Re: OLE 82130001 Error

Hi Alan,

Most of Viewer Ax functions return HRESULT, however in Delphi IDE this HRESULT is treated as an EOleException.
by Corwin - Tracker Sup
Tue Jan 04, 2011 12:59 pm
Forum: PDF-XChange Viewer SDK
Topic: pdf xcange viewer in asp.net
Replies: 14
Views: 3710

Re: pdf xcange viewer in asp.net

Hi sivakl2001, You may use next properties: document.all.PDFView.SetProperty("General.DenyAllContextMenus", "true", 0); - This willl deny all context menus in Viewer document.all.PDFView.SetProperty("General.DenyAllExportOperations", "true", 0); - This will di...
by Corwin - Tracker Sup
Wed Dec 29, 2010 12:50 pm
Forum: PDF-XChange Viewer SDK
Topic: pdf xcange viewer in asp.net
Replies: 14
Views: 3710

Re: pdf xcange viewer in asp.net

Hello, For now we do not provide any cab file for ActiveX. how to give location of the pdf file to open throught javascript document.all.PDFView.OpenDocument("your path here", 0, 0, 0); how to fix to width first time loaded You can change this by modifying "width" property in &qu...
by Corwin - Tracker Sup
Mon Dec 27, 2010 4:16 pm
Forum: PDF-XChange Viewer SDK
Topic: pdf xcange viewer in asp.net
Replies: 14
Views: 3710

Re: pdf xcange viewer in asp.net

Hi,

For Viewer ActiveX, you may find an example at:
"Viewer SDK directory\Examples\WebExamples\ASPNETbasic\"
by Corwin - Tracker Sup
Thu Dec 23, 2010 3:08 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Pen Tool Switches to "Move" During Natural Writing Motion
Replies: 48
Views: 18400

Re: Pen Tool Switches to "Move" During Natural Writing Motion

Hi all,

Good news - in next build of Viewer this problem will be fixed.