Search found 172 matches

by RMan
Fri Dec 16, 2016 5:24 pm
Forum: PDF-XChange Editor SDK
Topic: Quick VB6 Sample and String Finder
Replies: 8
Views: 803

Quick VB6 Sample and String Finder

I've been working on upgrading some legacy VB6 code from the old Viewer to the Editor so I created a basic sample that others might find helpful. I also compiled up the VB sample in this for other to use because it has routines to list the various strings for commands, commandbars, menus, tools, and...
by RMan
Fri Dec 16, 2016 1:01 pm
Forum: PDF-XChange Editor SDK
Topic: Switching from Viewer SDK to Editor SDK
Replies: 5
Views: 520

Re: Switching from Viewer SDK to Editor SDK

What programming language are you using? I'll agree that a basic manual would be nice with samples for each programming language because the online SDK help is only good for looking at the various options. I've been struggling through trying to adopt also by looking at the C# sample app and I'll try...
by RMan
Fri Dec 16, 2016 12:07 pm
Forum: PDF-XChange Editor SDK
Topic: Unable to get the SnapToObject Settings to take effect SOLVED
Replies: 3
Views: 367

Re: Unable to get the SnapToObject Settings to take effect SOLVED

Works Perfect!!! Thanks so much Sasha.
by RMan
Thu Dec 15, 2016 8:42 pm
Forum: PDF-XChange Editor SDK
Topic: Unable to get the SnapToObject Settings to take effect SOLVED
Replies: 3
Views: 367

Unable to get the SnapToObject Settings to take effect SOLVED

We've been trying to modify the Snap to Object settings but it appears that the Editor doesn't actually use the new settings. Do we need to fire an event or something after changing the flags? If we do need to fire an event how do we do that since it appears that the Event.ID is read-only? I was tes...
by RMan
Tue Dec 13, 2016 5:32 pm
Forum: PDF-XChange Editor SDK
Topic: ActiveX Control Event is Defined Wrong in VB6
Replies: 6
Views: 567

ActiveX Control Event is Defined Wrong in VB6

If you drop the Editor Control into a VB6 form and double click on it the function that it adds for the OnEvent is Private Sub AxPXV_Control1_OnEvent(ByVal nEventID As Long, ByVal pEvent As PDFXEditCtl.IEvent, ByVal pFrom As 0) Which is not correct so when you save the project and reopen it then it'...
by RMan
Tue Dec 13, 2016 11:43 am
Forum: PDF-XChange Editor SDK
Topic: Checking the permissions of a document
Replies: 9
Views: 918

Re: Checking the permissions of a document

Yes. I'll finish a VB6 Sample project this week for anyone else looking to upgrade any VB6 projects. The only thing I'm still 100% clear on is the PXC_SecurityPermissions flag for the OpenDocFromFile call. If you are looking to open any PDF and then determine what permissions it has do you just pass...
by RMan
Mon Dec 12, 2016 6:01 pm
Forum: PDF-XChange Editor SDK
Topic: Checking the permissions of a document
Replies: 9
Views: 918

Re: Checking the permissions of a document

So in VB6 I have this working. Forgot the set call when I transfered code over Dim doc As PDFXEditCtl.IPXC_Document Dim st1 As PDFXEditCtl.PXC_PermStatus Dim st2 As PDFXEditCtl.PXC_PermStatus Dim bPrintingAllowed As Boolean Set doc = AxPXV_Control1.doc.CoreDoc st1 = doc.RequestPermission(PDFXEditCtl...
by RMan
Mon Dec 12, 2016 3:52 pm
Forum: PDF-XChange Editor SDK
Topic: Checking the permissions of a document
Replies: 9
Views: 918

Re: Checking the permissions of a document

Thanks. Now if I could just get it to work in VB6 also. I'll make up a sample project. Can you explain how the CreateOpenDocParams work with respect to the permissions? I basically want to open it with full permissions that the PDF has and then determine afterwards what can and can' be done with it....
by RMan
Mon Dec 12, 2016 2:06 pm
Forum: PDF-XChange Editor SDK
Topic: Checking the permissions of a document
Replies: 9
Views: 918

Re: Checking the permissions of a document

Here's what worked for me in VB.Net Dim st1 As PDFXEdit.PXC_PermStatus Dim st2 As PDFXEdit.PXC_PermStatus Dim bPrintingAllowed As Boolean st1 = AxPXV_Control1.Doc.CoreDoc.RequestPermission(PDFXEdit.PXC_RequestObj.Perm_ObjDoc, PDFXEdit.PXC_RequestOper.Perm_OperPrintLow, 0) st2 = AxPXV_Control1.Doc.Co...
by RMan
Wed Aug 07, 2013 3:34 pm
Forum: PDF-XChange Drivers API SDK
Topic: Installer not restarting the Explorer.exe shell process.
Replies: 3
Views: 1645

Re: Installer not restarting the Explorer.exe shell process.

I'm testing with the exe installers. It happens with our customer driver installer but it also happens with the PDFSDKPRO5.zip SDK installers as well as the end user PDFX5.zip installer. I didn't have an older version of the end user to retest but I did retest the PDFSDKPRO5.zip from June and could ...
by RMan
Wed Jul 24, 2013 6:17 pm
Forum: PDF-XChange Drivers API SDK
Topic: Problem importing profiles and problems with dialogs appear
Replies: 7
Views: 2152

Re: Problem importing profiles and problems with dialogs app

Thanks. In updating from the old version the first time I did have a rundll32 program crash dialog box appear but in other tries it appears to be working alright and adding the profiles to the HKEY_LOCAL_MACHINE for all users as it should. I'll do some more testing and let you know if anything else ...
by RMan
Mon Jul 22, 2013 4:14 pm
Forum: PDF-XChange Viewer SDK
Topic: Registration Free COM
Replies: 3
Views: 1242

Re: Registration Free COM

Depending on what language you wrote your program in you might want to check the length of your manifest files. I remember some languages like VB6 will not give an error but the manifest file won't work properly unless it's an increment of 4 bytes in size. So 40, 44 work but not 42 bytes. I have als...
by RMan
Fri Jul 19, 2013 6:10 pm
Forum: PDF-XChange Drivers API SDK
Topic: Installer not restarting the Explorer.exe shell process.
Replies: 3
Views: 1645

Installer not restarting the Explorer.exe shell process.

While I'm testing things here's another one. I've noticed this several times when installing the SDK also but it's important to make sure you restart it if the users do not reboot because otherwise their desktop, start menu, and taskbar are all gone and users freak out. I'm testing in Windows 7 64 b...
by RMan
Fri Jul 19, 2013 5:56 pm
Forum: PDF-XChange Drivers API SDK
Topic: Problem importing profiles and problems with dialogs appear
Replies: 7
Views: 2152

Re: Problem importing profiles and problems with dialogs app

We are using our custom PDFX5AcroPlot.exe driver install. I think it might have something to do with the RunAs being elevated from our program because when running it from a .bat file I'm not getting the warning but it also isn't adding the profile with either our install or the standard PDFX5.exe i...
by RMan
Fri Jul 19, 2013 1:37 pm
Forum: PDF-XChange Drivers API SDK
Topic: Problem importing profiles and problems with dialogs appear
Replies: 7
Views: 2152

Re: Problem importing profiles and problems with dialogs app

Here's a couple of the pp5 files we were testing.
by RMan
Fri Jul 19, 2013 12:20 pm
Forum: PDF-XChange Drivers API SDK
Topic: Hang caused by pdfsaver4 calling SendMessageTimeout()
Replies: 20
Views: 5233

Re: Hang caused by pdfsaver4 calling SendMessageTimeout()

Thanks for confirming which build it was fixed in.
by RMan
Fri Jul 19, 2013 12:07 am
Forum: PDF-XChange Drivers API SDK
Topic: Problem importing profiles and problems with dialogs appear
Replies: 7
Views: 2152

Problem importing profiles and problems with dialogs appear

It appears that in the latest V5 build 270 that we cannot import profiles in the silent install. We get a dialog box that says "Problem with profile, error code:267" in our build of the driver. We haven't tested the normal developer build since we've wasted a day on this already. The problem is the ...
by RMan
Thu Jul 18, 2013 9:42 pm
Forum: PDF-XChange Drivers API SDK
Topic: Hang caused by pdfsaver4 calling SendMessageTimeout()
Replies: 20
Views: 5233

Re: Hang caused by pdfsaver4 calling SendMessageTimeout()

It's not academic now because if it was fixed prior to build 270 of version 5 then there is still a problem because we were testing build 269 and seeing the long wait times.

Can you please verify which version it was supposedly fixed in?
by RMan
Wed Jul 17, 2013 6:46 pm
Forum: PDF-XChange Drivers API SDK
Topic: Hang caused by pdfsaver4 calling SendMessageTimeout()
Replies: 20
Views: 5233

Re: Hang caused by pdfsaver4 calling SendMessageTimeout()

Paul, Which build was it supposed to be fixed in. Was it just fixed in the latest build 270 or before that? It's hard to test because even before it didn't always show up. You had to have a non responsive window to cause it. That said in the latest build 270 I have not seen it take longer than a sec...
by RMan
Fri Jul 12, 2013 5:17 pm
Forum: PDF-XChange Drivers API SDK
Topic: Hang caused by pdfsaver4 calling SendMessageTimeout()
Replies: 20
Views: 5233

Re: Hang caused by pdfsaver4 calling SendMessageTimeout()

Paul was this just fixed in the latest release? We were testing build 269 of the V5 driver and it also was doing it.

Also maybe it's time to start a V5 Driver forum for developers?
by RMan
Wed Jul 03, 2013 6:50 pm
Forum: PDF-XChange Drivers API SDK
Topic: Hang caused by pdfsaver4 calling SendMessageTimeout()
Replies: 20
Views: 5233

Re: Hang caused by pdfsaver4 calling SendMessageTimeout()

I've done some more testing. Today is better, only about a 4 to 5 second delay for the ApplyOptions. So I did my own SendMessageTimeout with a 10,000 millisecond wait time and it took over 40 seconds so I'm guessing currently my system has 4 windows not responding and the ApplyOptions is taking 4 to...
by RMan
Tue Jul 02, 2013 11:08 pm
Forum: PDF-XChange Drivers API SDK
Topic: Hang caused by pdfsaver4 calling SendMessageTimeout()
Replies: 20
Views: 5233

Re: Hang caused by pdfsaver4 calling SendMessageTimeout()

We are running into the same problem. It's not uncommon for the ApplyOptions to take 13 seconds or longer consistently. Also in testing I see some programs never seam to pick up on the Resolution Change. Open Office 3.2.1 doesn't see the changes where Office 2010 does on mine. Ivan can you please go...