VPE Version 4.0 with Alaska Xbase

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

VPE Version 4.0 with Alaska Xbase

Postby kthomas » Tue Oct 30, 2007 12:59 pm

I have been using VPE with Alaska Xbase for the last 5 years with very little problems. However, when I try the version 4.0 I am having some difficulty. The reason why I am interested in purchasing version 4.0 is the HTML export feature.

The 1st problem that I was having was that VPEWrite was locking up the system. Thus, I made a very short program to narrow down the problem.

hDoc := VpeOpenDoc(oDA:GetHWnd(),"Title")
// THe options were removed in try to eliminate those as problems
If hDoc = 0
<Error Message>
Break
EndIf

VpeWrite(hDoc,1000,1000,200,200,"Hello World")
VpeWrite(hDoc,1200,1200,200,200,"Hello World")
VpeLine(hDoc,1500,1500,200,200)
VpePrintDoc(hDoc)
VpeCloseDoc(hDoc)

dllfunction VpeOpenDoc(oParent,cHdg,nOptions) using stdcall from VPEp3240.dll
dllfunction VpeCloseDoc(hDoc) using stdcall from VPEp3240.dll
dllfunction VpePrintDoc(hDoc,lShwPrtDialog) using stdcall from VPEp3240.dll
dllfunction VpeWrite(hDoc,x1, y1, x2, y2, cField) using stdcall from VPEp3240.dll

Instead of resolving the problem, I am getting a different problem.
Now, instead of locking up the computer. the printer will print a blank (with demo banner) page. I have been able to get several of the other VPE fucntions to works (PageBreak, Preview & printer setup). I just cannt get anything to print. I am hoping that once I figure out the printing problem, I may be able to resolve the lock up problem.

I am using Windows XP. I have uninstalled 3.6 on the computer that I am testing the program.

Can you provide me with some guidance on what I should try to do in order to figure out my printing problem.


Thanks

Kevin
kthomas
 
Posts: 3
Joined: Sat Aug 05, 2006 7:59 pm

Postby IDEAL Software Support » Tue Oct 30, 2007 2:18 pm

Please read the file "Release Notes" carefully, which is installed together with VPE v4.0.

Regards
Thorsten Radde
IDEAL Software GmbH
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 1 guest

cron