| Article | 60000872 |
| Type | HowTo |
| Product | Engine |
| Date Added | 4/30/2009 12:00:00 AM |
| Fixed | (4/30/2009 12:00:00 AM) |
| Submitted by | Stavros Meimaroglou |
Summary
Problem adding the vdraw.ocx (wrapper) in Internet Explorer or older versions of Delphi or C++ Builder (prior 2009).
Solution
In the problematic machine check the .NET versions that are installed. You can check this by going to the : C:\WINDOWS\Microsoft.NET\Framework folder.
Check the folder where the IExplorer is installed (should be C:\Program Files\Internet Explorer) for .config file (iexplorer.exe.config should be the filename), back-up it and change it to :
<?xml version ="1.0"?>
<configuration>
<startup>
<supportedRuntime version="v2.0.50727" />
<supportedRuntime version="v1.1.4322" />
<supportedRuntime version="v1.0.3705" />
</startup>
</configuration>
The line : <supportedRuntime version="v2.0.50727" /> SHOULD EXIST and in this ORDER (from latest to earlier, 2.0 -> 1.1 -> 1.0). You can try the above by opening this webpage with IE http://www.vdraw.com/vdrawi/demo/vd.htm
The same applies to Borland Development environment (like Delphi 2006, Builder 2007 etc). In the {Program_Files\Borland_Install_Folder} is the BDS.EXE file which is the executable of the Borland environment. In this folder is also a file named bds.exe.config that should be changed in something like :
<configuration>
<startup>
<supportedRuntime version="v2.0.50727"/>
<supportedRuntime version="v1.1.4322"/>
</startup>
<runtime>
....... file continues
If the line : <supportedRuntime version="v2.0.50727" /> doesn't exist then add it, like above (in bold)
