Installation of ActiveX VPE 6.10

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Installation of ActiveX VPE 6.10

Postby therese » Mon Jun 09, 2014 2:00 pm

Hello,
I get my 6.0 installation to work but not 6.10.
Can anyone see an obvious problem with my inf file? No file is downloaded.


----------
; 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

[DefaultInstall]
AddReg=AddRegSection

[Add.Code]
VpeCtrl61.ocx=VpeCtrl61.ocx
vpep3261.dll=vpep3261.dll
IDEALSoftware.VpeProfessional.dll=IDEALSoftware.VpeProfessional.dll
IDEALSoftware.VpeWebProfessional.dll=IDEALSoftware.VpeWebProfessional.dll
VpeView.exe=VpeView.exe
VpeCtrl61.dep=VpeCtrl61.dep

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


[vpep3261.dll]
file-win32-x86=thiscab
FileVersion=6,1,0,0
DestDir=11

[VpeView.exe]
file-win32-x86=thiscab
FileVersion=6,1,0,0
DestDir=10

[VpeCtrl61.dep]
file-win32-x86=thiscab
DestDir=11

[Setup Hooks]
InfFile=VpeCtrl61.inf

[AddRegSection]
HKCU,"Software\IDEAL Software\VPE View\Settings",,,
HKCR,".vpe",,,"vpedoc"
HKCR,"vpedoc",,,"VPE Document"
HKCR,"vpedoc\DefaultIcon",,,"%10%\VpeView.exe,1"
HKCR,"vpedoc\Shell\open\command",,,"%10%\VpeView.exe %%1"
HKCR,"vpedoc\Shell\print\command",,,"%10%\VpeView.exe /p %%1"
HKCR,"vpedoc\Shell\printto\command",,,"%10%\VpeView.exe /p %%1|%%2"

----------------
therese
 
Posts: 17
Joined: Fri Sep 12, 2008 10:35 am

Re: Installation of ActiveX VPE 6.10

Postby IDEAL Software Support » Tue Jun 10, 2014 5:36 am

It is along time ago that we dealt with CAB files to use the VPE ActiveX in Internet Explorer. We strongly recommend not to use the Active X in the Internet Explorer. It is much better to generate PDF files with VPE on the server and to send the PDF files via HTTP to the client browser. This way you will gain browser and platform independence.

From that I do remember, you need to insert the correct CLSID, which is the class id of the ActiveX. Each new version of VPE must receive a new CLSID, to function properly side by side with older versions. So if you are using an older CLSID, it won't work with a newer version.

I am also not sure why you are referencing IDEALSoftware.VpeProfessional.dll and IDEALSoftware.VpeWebProfessional.dll, both are for .NET. In addition referencing VPE View doesn't make sense to me.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Re: Installation of ActiveX VPE 6.10

Postby therese » Wed Jun 11, 2014 7:35 am

I need to use the ActiveX as it is now. It's a long story...
The clsid should be correct according to the Vpe documentation. So if the documentation isn't wrong it should be the clsid given in the inf-file below.
I'll remove the .net dll's, I wasn't sure of those. The VpeView is needed since we have old programs creating .vpe-reports.

This .inf-file för Vpe 6.0 works:

; VpeCtrl60.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

[DefaultInstall]
AddReg=AddRegSection

[Add.Code]
VpeCtrl60.ocx=VpeCtrl60.ocx
vpep3260.dll=vpep3260.dll
Dav3_32.dll=Dav3_32.dll
leon3_32.dll=leon3_32.dll
vchart3235.dll=vchart3235.dll
BarVisD.dll=BarVisD.dll
vpdf32.dll=vpdf32.dll
vzlib32.dll=vzlib32.dll
VpeView.exe=VpeView.exe
VpeCtrl60.dep=VpeCtrl60.dep


[VpeCtrl60.ocx]
file-win32-x86=thiscab
clsid={2C257FB0-C365-4459-8D25-4AA6BF21746C}
FileVersion=6,0,0,0
RegisterServer=yes

[vpep3260.dll]
file-win32-x86=thiscab
FileVersion=6,0,0,0
DestDir=11

[Dav3_32.dll]
file-win32-x86=thiscab
FileVersion=3,3,106,0
DestDir=11

[leon3_32.dll]
file-win32-x86=thiscab
FileVersion=3,3,106,0
DestDir=11

[vchart3235.dll]
file-win32-x86=thiscab
FileVersion=3,50,0,0
DestDir=11

[BarVisD.dll]
file-win32-x86=thiscab
FileVersion=2,3,1,10
DestDir=11

[vpdf32.dll]
file-win32-x86=thiscab
FileVersion=3,50,0,0
DestDir=11

[vzlib32.dll]
file-win32-x86=thiscab
FileVersion=1,1,4,0
DestDir=11

[VpeView.exe]
file-win32-x86=thiscab
FileVersion=6,0,0,0
DestDir=10

[VpeCtrl60.dep]
file-win32-x86=thiscab
DestDir=11

[Setup Hooks]
InfFile=VpeCtrl60.inf

[AddRegSection]
HKCU,"Software\IDEAL Software\VPE View\Settings",,,
HKCR,".vpe",,,"vpedoc"
HKCR,"vpedoc",,,"VPE Document"
HKCR,"vpedoc\DefaultIcon",,,"%10%\VpeView.exe,1"
HKCR,"vpedoc\Shell\open\command",,,"%10%\VpeView.exe %%1"
HKCR,"vpedoc\Shell\print\command",,,"%10%\VpeView.exe /p %%1"
HKCR,"vpedoc\Shell\printto\command",,,"%10%\VpeView.exe /p %%1|%%2"
therese
 
Posts: 17
Joined: Fri Sep 12, 2008 10:35 am

Re: Installation of ActiveX VPE 6.10

Postby IDEAL Software Support » Wed Jun 11, 2014 9:37 am

I verified the CLSID you have used for v6.10 and it is correct. Did you also create an LPK file? If yes, the only other thing which comes to my mind are security settings in IE.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Re: Installation of ActiveX VPE 6.10

Postby therese » Wed Jun 11, 2014 9:42 am

Yes! Now it works!
I had already removed the .net dll's från the cab file, but hade forgotten to remove them in the ini file. :oops:
Thanks for taking the time to reply!
therese
 
Posts: 17
Joined: Fri Sep 12, 2008 10:35 am

Re: Installation of ActiveX VPE 6.10

Postby therese » Wed Jun 11, 2014 10:51 am

Unfortunately this only works in IE desktop, not the IE app in Windows 8. Any suggestions?
therese
 
Posts: 17
Joined: Fri Sep 12, 2008 10:35 am

Re: Installation of ActiveX VPE 6.10

Postby IDEAL Software Support » Wed Jun 11, 2014 11:38 am

Unfortunately we have no further hints from our side. It is about 10 years ago that we dealt with ActiveX technology in IE, as we think this is the wrong path. If it works on the desktop, it seems to be a small detail that is missing (did you create an LPK file)? I recommend to try Google or to contact MS technical support.
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 17 guests

cron