Live demo on our websites

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Live demo on our websites

Postby frankena » Mon Nov 10, 2008 2:28 pm

Hi,

why are the live demos on your website not working. The manuals are refering to them but they don't work.

I also have problems running vpe on a windowless system. The manual is talking about CreateObject but I cannot find anything of this in my generated source.

I'm using Visual DataFlex which generates a class of an Active X.

The only thing is that I don't understand the example of Create Object. Could you explain it to me?

Thanks in advance,

Arnold Franken
frankena
 
Posts: 28
Joined: Tue Feb 01, 2005 11:57 am

Postby IDEAL Software Support » Mon Nov 10, 2008 6:12 pm

We will check for the live demos. Regarding CreateObject(), this function is not provided by VPE, but by the host-application. For example Visual Basic provides such a function. If Visual DataFlex provides such a function is beyond our knowledge. You should contact starzen (www.starzen.com) regarding such questions, they are the Visual DataFlex experts.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Postby IDEAL Software Support » Tue Nov 11, 2008 6:20 pm

We fixed the problem with the live demo, it is now working again and can be accessed at http://www.IdealSoftware.com/activex/bin/vpectrl.htm.

The cabinet of the live demo is not signed, therefore you have to explicitly allow the execution of the live demo (two times) by clicking into the yellow security information area at the top of Internet Explorer. It may also be necessary to change the security settings of Internet Explorer and to allow to load unsigned ActiveX controls. Details, why we didn't sign - and how to sign - can be found in "vpectrl.htm", which is shipped with the VPE SDK installation.

Please note that the Internet Explorer is the only browser which supports the embedding of ActiveX Controls within websites. The live demo does only work when using Internet Explorer. For this reason we recommend to create PDF files with VPE on the server, and send the PDF files via HTTP to the clients, instead of using the ActiveX in browsers. With one exception: for intranet applications, the VPE ActiveX is a viable alternative.
Last edited by IDEAL Software Support on Thu Nov 13, 2008 1:10 am, edited 1 time in total.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Postby frankena » Wed Nov 12, 2008 11:16 am

If Visual DataFlex provides such a function is beyond our knowledge.

Visual Dataflex provides such function. When I try this in a windowless environment, after CreateComObject, the check if the object created is true. So there is a connection to VPE.

The next thing I do is Send OpenDoc. When I send this message I get the next error: Needs a window to perform this operation. The object must have been in-place activated first.

When I send a set-command, for example Set Toolbar to False, before sending OpenDoc, this gives no errors.
frankena
 
Posts: 28
Joined: Tue Feb 01, 2005 11:57 am

Postby IDEAL Software Support » Wed Nov 12, 2008 3:32 pm

Indeed the VPE ActiveX requires a parent-window handle. You can create an invisible window to satisfy this requirement.

As an alternative you can use the DLL directly. For the DLL function VpeOpenDoc() you can pass NULL for the Window-Handle parameter.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 15 guests

cron