Change default file type when using Save button on toolbar?

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Change default file type when using Save button on toolbar?

Postby QuadraQ » Wed Dec 16, 2015 6:44 pm

When you click on the Save button in the toolbar of the preview window, is there a way to change the default file type? Right now it defaults to .vpe and we would prefer it defaults to .pdf for example.

We've also encountered an issue when saving over networks. When users click on the Save button in the toolbar, change the file type to PDF, and navigate to a folder over a network - VPE errors out. Is this a known issue?
QuadraQ
 
Posts: 12
Joined: Sat Dec 11, 2004 12:10 am

Re: Change default file type when using Save button on toolb

Postby JudgeTerry » Thu Dec 17, 2015 2:46 pm

This is what I use:

VpeSetDocExportType(VPE_DOC_TYPE_PDF)
VpeSetSaveFileName(hDoc, "*.PDF")

Good luck,
Terry
JudgeTerry
 
Posts: 30
Joined: Thu Jan 22, 2009 10:56 pm

Re: Change default file type when using Save button on toolb

Postby IDEAL Software Support » Fri Dec 18, 2015 11:14 am

What Terry writes is the correct way. Thanks for explaining, Terry.

We've also encountered an issue when saving over networks. When users click on the Save button in the toolbar, change the file type to PDF, and navigate to a folder over a network - VPE errors out. Is this a known issue?


The file save dialog is the standard Windows built-in dialog. VPE is not involved there. This is rather a problem of your machine (configuration / virus scanner, etc.). Or what does "error out" exactly mean? If this happens after clicking onto the "Ok" button of the file save dialog, the error comes from VPE. Please elaborate.
IDEAL Software Support
 
Posts: 1631
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 5 guests