Failed to load the VPEngine runtime DLL (vpee3261.dll)

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Failed to load the VPEngine runtime DLL (vpee3261.dll)

Postby Skov_K » Mon May 08, 2017 4:09 pm

Hi

I have tried to use the ActiveX for displaying the VPE.
It works on the machine where the VPE package is installed, but not in on other PC's.
I get a dialog showing "Failed to load the VPEngine runtime DLL (vpee3261.dll)"

I have created lpk file.
I have build the cab file using makecab.exe
The dep, ocx and dll all ends in system32
I have changed IE settings to allow unsigned ActiveX

What am I missing?

VprCtrl.ddf
************************************************
;*** Sample Source Code MakeCAB Directive file example
;
.OPTION EXPLICIT
.Set CabinetNameTemplate="VpeCtrl61.cab"
.Set DiskDirectory1=.
.Set CompressionType=MSZIP
.Set Cabinet=on
.Set Compress=on
.Set CabinetFileCountThreshold=0
.Set FolderFileCountThreshold=0
.Set FolderSizeThreshold=0
.Set MaxCabinetSize=0
.Set MaxDiskFileCount=0
.Set MaxDiskSize=0
C:\Temp\VPE\VpeCtrl61.ocx
C:\Temp\VPE\vpee3261.dll
C:\Temp\VPE\VpeCtrl61.inf
C:\Temp\VPE\VpeCtrl61.dep
;*** <the end>
************************************************

VpeCtrl61.dep
************************************************
; Dependency file for setup wizards.

; Dependencies for VpeCtrl61.ocx

; Default Dependencies

[VpeCtrl61.OCX]
Register=$(DLLSelfRegister)
Dest=$(WinSysPath)
Uses1=vpee3261.dll
Uses2=

[vpee3261.dll]
Dest=$(WinSysPath)
Uses1=
************************************************

VpeCtrl.inf
************************************************
; VpeCtrl61.inf
;
; Setup inf file for VPE ActiveX control
;
; Copyright (C) 1999 IDEAL Software(R). All rights reserved.

[Version]
Signature="$CHICAGO$"
Provider=IDEAL Software
AdvancedInf=2.0

[Add.Code]
VpeCtrl61.ocx=VpeCtrl61.ocx
vpee3261.dll=vpee3261.dll
VpeCtrl61.dep= VpeCtrl61.dep

[VpeCtrl61.ocx]
file=thiscab
clsid={3BC5ECCA-8164-49F7-9B3C-6C1F9FACB6A1}
FileVersion=6,1,1,7041
RegisterServer=yes
DestDir=11

[vpee3261.dll]
file=thiscab
FileVersion=6,1,1,7041
DestDir=11

[VpeCtrl61.dep]
file=thiscab
DestDir=11

[Setup Hooks]
InfFile=VpeCtrl61.inf
************************************************
Skov_K
 
Posts: 4
Joined: Mon May 08, 2017 3:48 pm

Re: Failed to load the VPEngine runtime DLL (vpee3261.dll)

Postby Skov_K » Mon May 08, 2017 8:56 pm

Solved.
I needed the vJavaScript3261.dll
By using the dependency walker I could see that a dll was missing. http://www.dependencywalker.com/
Skov_K
 
Posts: 4
Joined: Mon May 08, 2017 3:48 pm

Re: Failed to load the VPEngine runtime DLL (vpee3261.dll)

Postby IDEAL Software Support » Wed May 10, 2017 10:14 am

Basically we do not recommend using the ActiveX within Internet Explorer. The better route is to create PDF files on the server and upload them to the client into the browser. This way you are independent of the browser (ActiveX only work inside IE) and you are also platform independent, as the client browser can run on any platform, including mobile platforms.
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