Search found 37 matches

by gpxi
Thu Sep 29, 2011 7:10 am
Forum: PDF-XChange Viewer SDK
Topic: Any news on the V3 release date?
Replies: 11
Views: 3385

Re: Any news on the V3 release date?

Instead of pressing for a release date, what improvements or features can we expect in V3?
by gpxi
Thu Feb 10, 2011 10:11 am
Forum: PDF-XChange Viewer SDK
Topic: Modify the Comment and Markup tool bar default setting
Replies: 1
Views: 1069

Modify the Comment and Markup tool bar default setting

Hello! I'd like to have the ability to show the comment and markup tool bar with a certain default setting. For example, when a user clicks a command button, the comment and markup tool bar shows in the viewer control. The last item is the stamp tool. It will always default to the standard stamp lis...
by gpxi
Tue Oct 19, 2010 12:40 am
Forum: PDF-XChange Drivers API SDK
Topic: ShellExecute and SW_HIDE does not behave as wanted
Replies: 6
Views: 3724

Re: ShellExecute and SW_HIDE does not behave as wanted

version 2.0.56.0, dated 09/17/2010.
by gpxi
Mon Oct 18, 2010 3:18 pm
Forum: PDF-XChange Drivers API SDK
Topic: ShellExecute and SW_HIDE does not behave as wanted
Replies: 6
Views: 3724

Re: ShellExecute and SW_HIDE does not behave as wanted

Just to clarify what I did with my project, I used the automation to open a word document and convert it to rtf string and saved it to a temp file. I then used the viewer to import the rtf file. Like I said, it worked fine with the first document, but the operations after that crashed the program, a...
by gpxi
Mon Oct 18, 2010 3:07 pm
Forum: PDF-XChange Drivers API SDK
Topic: ShellExecute and SW_HIDE does not behave as wanted
Replies: 6
Views: 3724

Re: ShellExecute and SW_HIDE does not behave as wanted

Well, actually I started with the automation method. It worked fine with opening up the first document. But the second one crashes the program with an automation error. That's why I switched to the drirver API approach. Any idea why I got the automation error? Here is the code segment: Dim WordApp A...
by gpxi
Sun Oct 17, 2010 5:53 pm
Forum: PDF-XChange Drivers API SDK
Topic: ShellExecute and SW_HIDE does not behave as wanted
Replies: 6
Views: 3724

ShellExecute and SW_HIDE does not behave as wanted

I am using the driver API (the latest version V4 under VB6) to convert or "printto" a .doc file to pdf. I do not want the user to see Word popping up and showing the printing process. So I used the flag SW_HIDE (0) in the ShellExecute command line. However, MS Word seems to ignore my comma...
by gpxi
Sat Oct 16, 2010 5:26 pm
Forum: PDF-XChange Viewer SDK
Topic: How to save pdf to string or variant to work with database?
Replies: 16
Views: 4441

Re: How to save pdf to string or variant to work with database?

Thank you so much, Corwin! It is all good for now, and I will just need to leave that at the back burner. Who knows, it may come back again.
by gpxi
Fri Oct 15, 2010 5:32 pm
Forum: PDF-XChange Viewer SDK
Topic: How to save pdf to string or variant to work with database?
Replies: 16
Views: 4441

Re: How to save pdf to string or variant to work with database?

Unbelievable! Thank you so much, Corvin! This does show you how little I knew about the adodb.stream object and its operations. Back to my question regarding the streams: I was wondering what are the differences between adodb.stream and VBStrm.IStream. Could you shed some light on that? Could you pr...
by gpxi
Fri Oct 15, 2010 6:09 am
Forum: PDF-XChange Viewer SDK
Topic: How to save pdf to string or variant to work with database?
Replies: 16
Views: 4441

Re: How to save pdf to string or variant to work with database?

One more point I found: if I do mystream.SaveToFile "c:\test.pdf", adSaveCreateOverWrite after the mystream.write line, then everything is fine. But that defeats the purpose. If I already have a file on the disk, I could just open it from the viewer. The memory load, etc, becomes irrelevan...
by gpxi
Fri Oct 15, 2010 5:33 am
Forum: PDF-XChange Viewer SDK
Topic: How to save pdf to string or variant to work with database?
Replies: 16
Views: 4441

Re: How to save pdf to string or variant to work with database?

To clarify my previous message, if I run this line: mystream.LoadFromFile "e:\Image.pdf" ' Here should be load from blob there is no error. But if I run: strSQL = "select * from tablename where [FileName]='" + strFileNameTmp + "'" If rsLookup(0).State = 1 Then rsLookup(...
by gpxi
Fri Oct 15, 2010 5:18 am
Forum: PDF-XChange Viewer SDK
Topic: How to save pdf to string or variant to work with database?
Replies: 16
Views: 4441

Re: How to save pdf to string or variant to work with database?

Thanks for the code sample. However, this line

Code: Select all

b = mystream.Read
produces an error, saying "type mismatch".

Could you double check that, please?
by gpxi
Wed Oct 13, 2010 6:48 pm
Forum: PDF-XChange Viewer SDK
Topic: How to save pdf to string or variant to work with database?
Replies: 16
Views: 4441

Re: How to save pdf to string or variant to work with database?

Interesting. I actually had used the same info from the link you provided before I post my last message, for adodb.stream functions. I was wondering what were the differences between adodb.stream and VBStrm.IStream. Could you shed some light on that? I tried to directly open the adodb.stream from th...
by gpxi
Wed Oct 13, 2010 8:03 am
Forum: PDF-XChange Viewer SDK
Topic: How to save pdf to string or variant to work with database?
Replies: 16
Views: 4441

Re: How to save pdf to string or variant to work with database?

The example you suggested with the link
http://www.xtremevbtalk.com/archive/ind ... 00743.html

I tested it. It does not work for Pdf files. It works with image files only.

Please advise. Thanks again!
by gpxi
Tue Oct 12, 2010 8:43 am
Forum: PDF-XChange Viewer SDK
Topic: How to save pdf to string or variant to work with database?
Replies: 16
Views: 4441

Re: How to save pdf to string or variant to work with database?

OK. What is the purpose of SHCreateStreamOnFile? I just wanted to do it without going through the file IO operations.

Thanks for your info.
by gpxi
Sun Oct 10, 2010 7:48 am
Forum: PDF-XChange Viewer SDK
Topic: How to save pdf to string or variant to work with database?
Replies: 16
Views: 4441

How to save pdf to string or variant to work with database?

Hello again! I need to find out a way to save or set the pdf contents from the viewer to a memory variable like a string or variant in VB6. I could not find any example to do the job. My difficulty is with the viewer AX control. I am still a newbie. I know how to interact with my database once I fig...
by gpxi
Tue Oct 05, 2010 6:29 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Multiple-page tiff file to multiple-page pdf conversion
Replies: 6
Views: 2893

Re: Multiple-page tiff file to multiple-page pdf conversion

Thanks for your reply, Ian. I was able to figure it out on my own using the PXC_AddimageExA function, by trial and error, though it took me several hours. The tricky part is to set the last parameter and set an array [nTiffPage()] for holding the references of the tiff images (pages). For a two page...
by gpxi
Tue Oct 05, 2010 5:27 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Bug: opening tiff file?
Replies: 4
Views: 6906

Re: Bug: opening tiff file?

Why does that matter? I already explained that it worked fine with the compiled versions on the same machine, but not when I ran the source code from within VB.

I am going to forget about this one. Life is too short. You can't beat anything to death.

Thanks anyway.
by gpxi
Tue Oct 05, 2010 9:07 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Bug: opening tiff file?
Replies: 4
Views: 6906

Bug: opening tiff file?

This is so weird. I've been testing the PDFXCdemo project under VB6 sample codes. I made some changes in importing an image file. I am using PXC_AddimageExA instead of PXC_AddimageA. My objective is to convert multi-page tiff to multi-page pdf. Now if I compile the program and put it in the bin dire...
by gpxi
Tue Oct 05, 2010 4:59 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Multiple-page tiff file to multiple-page pdf conversion
Replies: 6
Views: 2893

Re: Multiple-page tiff file to multiple-page pdf conversion

I took a closer look at the PXC_AddimageExA function. I have a few questions on the parameters: 1. On the third term, image pointer: it is an array indicating the corresponding image pages within the tiff file. Does the function assign the values all at once in one line? Or I need to loop through th...
by gpxi
Mon Oct 04, 2010 10:21 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Multiple-page tiff file to multiple-page pdf conversion
Replies: 6
Views: 2893

Re: Multiple-page tiff file to multiple-page pdf conversion

OK. Say, I have a two page tiff that I want to bring it in. The code looks like this in VB6: ' add page first dim pdf as long, page as long, p as long, strTifFileName as string res=PXC_AddPage(pdf, 2550, 3300, page) ' add image from tiff strTiffilename="C:\Temp\Test.tif" p=2 ' I know there...
by gpxi
Sun Oct 03, 2010 6:49 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Multiple-page tiff file to multiple-page pdf conversion
Replies: 6
Views: 2893

Multiple-page tiff file to multiple-page pdf conversion

Hello, I am having a difficulty in following the code example (PDFXCDemo) for VB6. I have no problem in converting a single page tiff to a single page pdf. However, I am struggling to convert a multi-page tiff to a multi-page pdf. Specifically I am having problems with the PXC_AddImageA function. Ho...
by gpxi
Sun Oct 03, 2010 5:47 am
Forum: PDF-XChange Viewer SDK
Topic: Bug: Saving document hangs?
Replies: 1
Views: 961

Bug: Saving document hangs?

Hello,

Follow the steps to duplicate this bug:

1. Create a new document from Rtf or image file.
2. Save the document as pdf

The progressbar comes up and hangs on 33% on top and 92% on bottom.

What's worse is that it crashes the system. You have to kill the PDFviewer process.

Please help!
by gpxi
Thu Sep 30, 2010 6:14 pm
Forum: PDF-XChange Viewer SDK
Topic: Displayed file name does not change
Replies: 4
Views: 1645

Re: Displayed file name does not change

I am using version 2.0.0055 of the viewer control, dated 9/10/2010.
by gpxi
Thu Sep 30, 2010 8:58 am
Forum: PDF-XChange Viewer SDK
Topic: Displayed file name does not change
Replies: 4
Views: 1645

Displayed file name does not change

Hello. I created a new document from an image file. The viewer displays it as "New Document*". After saving it to another file name, the displayed file name in the viewer does not change to the saved file name. Instead it is still saying "New Document*". Any idea why is it so? Ho...
by gpxi
Wed Sep 29, 2010 8:43 am
Forum: PDF-XChange Viewer SDK
Topic: How to use Command 'SendMail', ID 57612 ?
Replies: 6
Views: 2246

Re: How to use Command 'SendMail', ID 57612 ?

I do not think it was fixed. I ran into a similar problem if I open a rtf file.

Please take another look at the issue.

Thanks!
by gpxi
Wed Sep 29, 2010 12:09 am
Forum: PDF-XChange Viewer SDK
Topic: Newdocumentfromrtf sample requested
Replies: 6
Views: 2132

Re: Newdocumentfromrtf sample requested

It worked. Thank you so much! Now how can I use a string or variant variable in place of the file name ("e:\Document1.rtf")? The reason is that I already have the document open (from a Word document, and then converted to an RTF string variable). It would make a lot of sense not to save it...
by gpxi
Tue Sep 28, 2010 12:22 am
Forum: PDF-XChange Viewer SDK
Topic: Newdocumentfromrtf sample requested
Replies: 6
Views: 2132

Re: Newdocumentfromrtf sample requested

I've been waiting for several days? Can someone from tech support get on my case if Stefan is too busy?

Again I need a detailed VB6 example to do "newdocumentfromrtf".

Thanks.
by gpxi
Thu Sep 23, 2010 6:12 pm
Forum: PDF-XChange Viewer SDK
Topic: Newdocumentfromrtf sample requested
Replies: 6
Views: 2132

Re: Newdocumentfromrtf sample requested

Thanks for your reply.

I read that in the help file. But it did not work in my VB6. Could you show me how it can be done in VB6? Please be as specific as possible.
by gpxi
Thu Sep 23, 2010 9:02 am
Forum: PDF-XChange Viewer SDK
Topic: Newdocumentfromrtf sample requested
Replies: 6
Views: 2132

Newdocumentfromrtf sample requested

Hello!

I could not find a sample on how to create a new document from an rtf file using newdocumentfromrtf.

Please help!

Thanks!
by gpxi
Sat Sep 11, 2010 7:05 am
Forum: PDF-XChange Viewer SDK
Topic: Split View Suggestion
Replies: 5
Views: 1676

Re: Split View Suggestion

Please make the top (or bottom) view, where the target document is assembled using drag and drop, to be able to rotate horizontally, like flipping a book back and forth (using a flick gesture). That will be awesome! I will be really anxiously waiting for V3 to release.
by gpxi
Wed Sep 08, 2010 6:36 am
Forum: PDF-XChange Viewer SDK
Topic: Program locks up after exporting
Replies: 1
Views: 929

Program locks up after exporting

Looks like I found another bug. I had a pdf open using the VB example called View and I wanted to export through context menu (right click) to an image file, such as tiff. Right after the export is done, the program locks up, just like the bug after printing. Can you guys confirm this? If it is a bu...
by gpxi
Tue Sep 07, 2010 8:10 pm
Forum: PDF-XChange Viewer SDK
Topic: Program locks up after printing
Replies: 9
Views: 3069

Re: Program locks up after printing

Thanks! Your guys rock!
by gpxi
Tue Sep 07, 2010 6:05 am
Forum: PDF-XChange Viewer SDK
Topic: Program locks up after printing
Replies: 9
Views: 3069

Re: Program locks up after printing

I am glad that I found a way out and share it on the forum. Interesting thing I noticed is that the bug only shows up in the initial run of the print function. The subsequent printing does not affect the program. I put a msgbox message prompt in the timer to show whenever the error is "correcte...
by gpxi
Mon Sep 06, 2010 8:06 pm
Forum: PDF-XChange Viewer SDK
Topic: Program locks up after printing
Replies: 9
Views: 3069

Re: Program locks up after printing

Thank you Stefan and Besogerh for your speedy replies. I did find a solution. What you can do is to drop a timer on the form, which checks to see if the form is disabled. If it is, then it enables it. By default the timer is off. Under the CoPDFXCview1_OnEvent, match nType = PXCVA_EventTypes.PXCVA_O...
by gpxi
Mon Sep 06, 2010 12:44 am
Forum: PDF-XChange Viewer SDK
Topic: Illegal Parameter Name
Replies: 2
Views: 1199

Re: Illegal Parameter Name

I think Type as a reserved word in VB. What you did was right. Just change it to nType or iType or anything else.
by gpxi
Mon Sep 06, 2010 12:38 am
Forum: PDF-XChange Viewer SDK
Topic: Program locks up after printing
Replies: 9
Views: 3069

Program locks up after printing

Hi, I ran into a strange problem. You should be able to duplicate it by following what I described below: I was trying a sample program called "View" for VB. I enabled File toolbar after starting the app. Then using the file open button, I opened a multi-page pdf file. I then clicked print...