Ocx installation of VPE 7.0 on Windows 10

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Ocx installation of VPE 7.0 on Windows 10

Postby therese » Fri Sep 04, 2015 1:35 pm

Hello,
I know Ideal Software don't recommend using ocx, but we still need to do it :-)

Maybe someone can help me with this issue...

I'm having problems installing the package on a Windows 10 computer. At first IE (I don't use Edge!) keept crashing immediately, then I removed manually installed files. After that I get an error message saying it cannot load the vpe3270.dll. When I look for the files that should be installed, I cannot find it. They haven't been installed. It might be a security issue since the don't appear under the downloaded files directory, as the prior successful installations appeared (6.1 and erlier versions). Though it can be found as an Add-on to IE. I run IE as administrator.

Maybe I can't see the obvious? Anyone have an input on where it goes wrong?

I have created a signed cab-file containing
VpeCtrl70.ocx
VpeCtrl70.dep
VpeCtrl70.inf
vpep3270.dll
VpeView.exe

Using index.html to download it.

The installation can be tested under https: \\ www . Stamford . se \ vpe70x64_inst , please try it and give me feedback.

Kind regards,
Therese

**************************************
; VpeCtrl70.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]
VpeCtrl70.ocx=VpeCtrl70.ocx
vpep3270.dll=vpep3270.dll
VpeView.exe=VpeView.exe
VpeCtrl70.dep=VpeCtrl70.dep

[VpeCtrl70.ocx]
file=thiscab
clsid={E4809925-0E64-4CF6-B7EE-229DE4963BE0}
FileVersion=7,0,3,0
RegisterServer=yes

[vpep3270.dll]
file=thiscab
FileVersion=7,0,3,0
DestDir=11

[VpeView.exe]
file=thiscab
FileVersion=7,0,3,0
DestDir=10

[VpeCtrl70.dep]
file=thiscab
DestDir=11

[Setup Hooks]
InfFile=VpeCtrl70.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"

************************************************

VpeCtrl70.dep


; Dependency file for setup wizards.

; Dependencies for VpeCtrl70.ocx

; Default Dependencies ----------------------------------------------

[VpeCtrl70.OCX]
Register=$(DLLSelfRegister)
Dest=$(WinSysPath)
Uses1=vpep3270.dll
Uses2=


[vpep3270.dll]
Dest=$(WinSysPath)
Uses1=

***************************************

Index.html

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<HEAD>
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>Installation av VirtualPrintEngine</TITLE>

<OBJECT CLASSID="CLSID:5220CB21-C88D-11CF-B347-00AA00A28331">
<PARAM NAME="LPKPath" VALUE="/vpe70x64_inst/vpe_CTRL/VpeCtrl70.lpk">
<EMBED SRC="/vpe70x64_inst/vpe_CTRL/VpeCtrl70.lpk">
</OBJECT>

</HEAD>

<BODY TEXT=black BGCOLOR=silver>

<OBJECT CLASSID="CLSID:E4809925-0E64-4CF6-B7EE-229DE4963BE0"
CODEBASE="/vpe70x64_inst/vpe_CTRL/VpeCtrl70.cab#version=7,0,3,0"
ID=VpeControl
WIDTH=99% HEIGHT=99%>
<PARAM NAME="ExternalWindow" VALUE=false>
<PARAM NAME="EnableURLs" VALUE=true>
<PARAM NAME="Rulers" VALUE=false>
<PARAM NAME="tbMail" VALUE=true>
<PARAM NAME="tbClose" VALUE=false>
<PARAM NAME="tbHelp" VALUE=false>
</OBJECT>

<SCRIPT LANGUAGE=JavaScript>

PRINT_MSG_END = 2;

var vlok = VpeControl.OpenDoc();

/* VpeControl.UnitTransformation = 1000;
VpeControl.EngineRenderMode = 0;
VpeControl.GUILanguage = 6;
VpeControl.VpePrint(1,1,"TESTING");
VpeControl.ScalePercent = 75;
VpeControl.Preview(); */

var vlok = VpeControl.ReadDoc("/vpe70x64_inst/ok.vpe");

// var vlok = VpeControl.ReadDoc("ok.vpe");

// lokala testen på serven för att få upp dokumentet: var vlok = VpeControl.ReadDoc("ok.vpe");
VpeControl.ScalePercent = 75;
VpeControl.Preview();
</SCRIPT>
</BODY>
</HTML>

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

Re: Ocx installation of VPE 7.0 on Windows 10

Postby IDEAL Software Support » Sat Sep 05, 2015 11:47 am

We don't recommend embedding the ActiveX within Internet Explorer. Putting an ActiveX in a web page is a proprietary technique that doesn't work with any other browser. For all other other use-cases, i.e. using it from a programming language, the ActiveX is fine.

At first IE (I don't use Edge!) keept crashing immediately


This sounds strange. IE shouldn't crash under any circumstances (of course). Are you sure the installed IE which you are using is a 64-bit binary, because you are trying to load the 64-bit OCX?

Regarding the missing download: Maybe 64-bit IE requires the files to be signed. I strongly recommend to contact Microsoft Tech Support, if you are in need of a working solution.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Re: Ocx installation of VPE 7.0 on Windows 10

Postby IDEAL Software Support » Sat Sep 05, 2015 11:55 am

Some good news, at least on Win 7 with 64-bit: I browsed to your website https:\\www.Stamford.se\vpe70x64_inst and it works.

After clicking two times onto "accept", when being asked to download and install your package, the VPE ActiveX is shown within IE.

I have several VPE editions pre-installed on my machine, so I can't judge whether this has any impact.

NOTE: When I click onto the Info-button of VPE within IE, it displays 32-bit! So IE on my machine is a 32-bit version. Does your CAB file contain VPE 32-bit also?
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Re: Ocx installation of VPE 7.0 on Windows 10

Postby therese » Mon Sep 07, 2015 1:29 pm

Hm, that might explain my issues. The only ocx in my .cab-files is the one that I got in the installation of vpe 7.0.3. I thought it was a 32-bit ocx, but it's not? Where can I find the 32-bit ocx? That's the one I want to install :-)
Thanks!

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

Re: Ocx installation of VPE 7.0 on Windows 10

Postby IDEAL Software Support » Mon Sep 07, 2015 4:04 pm

You can find out with the info button of the preview, whether it is 32- or 64-bit.

I can only report what it displayed on my machine. But since I have many editions of VPE installed, I don't know what is in your CAB file.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Re: Ocx installation of VPE 7.0 on Windows 10

Postby IDEAL Software Support » Mon Sep 07, 2015 4:06 pm

Why do you name the cab file x64?
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Re: Ocx installation of VPE 7.0 on Windows 10

Postby therese » Mon Sep 07, 2015 6:40 pm

Ok, I'll check that. This cabfile worked on Windows 8 though.
The name was just a way to differ the two servers, maybe not the optimal name 😁
If this is the 64bit ocx, is there a 32bit too for vpe7?
therese
 
Posts: 17
Joined: Fri Sep 12, 2008 10:35 am

Re: Ocx installation of VPE 7.0 on Windows 10

Postby IDEAL Software Support » Tue Sep 08, 2015 9:51 am

VPE is available as 32-bit and as 64-bit version. These are two different SDKs (Software Development Kits).
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Re: Ocx installation of VPE 7.0 on Windows 10

Postby therese » Thu Sep 10, 2015 10:43 am

It is the 32-bit ocx.
The installation problem was probably a security issue. The dll-file now appear on the server at least.

There is one issue left though.

After the installation the ok.vpe should be open within the IE window. It works fine in IE 11 on a Windows 7 machine, but not in IE 11 on a Windows 10 machine.
If I open the file directly on Windows 10 using the path it works, since it uses the installed VpeView.exe then. Any idea what the difference between the Windows 7 and 10 Machines is? Why won't it load the ocx once it is installed? It tries to, but IE crasches... :-(

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

Re: Ocx installation of VPE 7.0 on Windows 10

Postby IDEAL Software Support » Thu Sep 10, 2015 3:20 pm

This does not seem to be related to VPE. I suggest you contact Microsoft technical support.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Re: Ocx installation of VPE 7.0 on Windows 10

Postby therese » Fri Sep 11, 2015 11:10 am

I'm not sure. The control is loaded into the document, but then it fails.

New name of the folder is now Vpe70_win10_inst

Anyone else experienced this?
therese
 
Posts: 17
Joined: Fri Sep 12, 2008 10:35 am

Re: Ocx installation of VPE 7.0 on Windows 10

Postby therese » Thu Sep 17, 2015 12:39 pm

Dear Ideal Software,
Can you please tell me if you made any changes in IE to make the ocx load work for you?

https://www.stamford.se/vpe70_win10_inst/ (changed name...) still crashes for IE11, Win10.
therese
 
Posts: 17
Joined: Fri Sep 12, 2008 10:35 am

Re: Ocx installation of VPE 7.0 on Windows 10

Postby IDEAL Software Support » Fri Sep 18, 2015 8:41 am

As I wrote, I tested with IE11 on Win 7. I didn't change any settings, maybe I had changed them some months ago.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm

Re: Ocx installation of VPE 7.0 on Windows 10

Postby therese » Fri Oct 02, 2015 9:22 am

Ok, thanks! Installation issue solved. I will open a new thread with the crash issue, since I now know where the crash occurs.
therese
 
Posts: 17
Joined: Fri Sep 12, 2008 10:35 am

Re: Ocx installation of VPE 7.0 on Windows 10

Postby therese » Fri Nov 27, 2015 1:34 pm

Thank you, version 7.10 seems to have solved all my installation problems on Windows 10 too
therese
 
Posts: 17
Joined: Fri Sep 12, 2008 10:35 am

Next

Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 11 guests

cron