I know Ideal Software don't recommend using ocx, but we still need to do it
![Smile :-)](./images/smilies/icon_smile.gif)
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>
********************************************