Way to control VPE Viewer Toolbar...

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Way to control VPE Viewer Toolbar...

Postby IDEAL Software Support » Tue Nov 23, 2004 4:05 pm

Hi,

Is there a way to control what buttons will be displayed in the toolbar when someone opens VPE Viewer? Are there any command line parameters? We have VPE 3.5 Prof.

Any help would be greatly appreciated.

Manjit Basra
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm

Postby IDEAL Software Support » Tue Nov 23, 2004 4:05 pm

This is not not possible as of the current version v3.60. However, you can write your own viewer basically with 3 lines (2 for the DLL) of code:

VPE Control (ActiveX / VCL):
VPE.SwapFileName = "c:\my document.vpe"
VPE.OpenDoc()
VPE.Preview()


VPE DLL:
long hDoc = VpeOpenDocFile(hWndParent, "c:\my document.vpe", "Window Title", 0);
VpePreviewDoc(hDoc, NULL, VPE_SHOW_NORMAL);

Hope this helps.

Regards
Thorsten Radde
IDEAL Software GmbH
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 46 guests