﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SmartCode Solutions Web Forum » SmartCode ViewerX VNC Viewer ActiveX » General Discussion  » ViewerX and Windows 7</title><generator>InstantForum.NET 2010-3</generator><description>SmartCode Solutions Web Forum</description><link>http://www.s-code.com/forum/</link><webMaster>SmartCode Solutions Web Forum</webMaster><lastBuildDate>Sun, 05 Sep 2010 20:51:40 GMT</lastBuildDate><ttl>20</ttl><item><title>ViewerX and Windows 7</title><link>http://www.s-code.com/forum/FindPost2702.aspx</link><description>I have recently upgraded to Windows 7 (impressive for a non service pack OS from Microsoft) but I am having trouble with the ViewerX control.  &lt;/P&gt;&lt;P&gt;I have registered it with regsvr, I have copied my lic file to the directory where it lives.  I have rebooted, restarted VS2008, unregistered and reregistered, checked the forums, googled for activeX windows 7 issues.  I'm at a loss.&lt;/P&gt;&lt;P&gt;Everytime I run the app and load the form with the ViewerX on it, I get &lt;/P&gt;&lt;P&gt;Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))&lt;/P&gt;&lt;P&gt;System.Runtime.InteropServices.COMException was unhandled&lt;BR&gt;  ErrorCode=-2147221164&lt;BR&gt;  Message="Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))"&lt;BR&gt;  Source="System.Windows.Forms"&lt;BR&gt;  StackTrace:&lt;BR&gt;       at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid&amp;amp; clsid, Object punkOuter, Int32 context, Guid&amp;amp; iid)&lt;BR&gt;       at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)&lt;BR&gt;       at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)&lt;BR&gt;       at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)&lt;BR&gt;       at System.Windows.Forms.AxHost.CreateInstance()&lt;BR&gt;       at System.Windows.Forms.AxHost.GetOcxCreate()&lt;BR&gt;       at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)&lt;BR&gt;       at System.Windows.Forms.AxHost.CreateHandle()&lt;BR&gt;       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)&lt;BR&gt;       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)&lt;BR&gt;       at System.Windows.Forms.AxHost.EndInit()&lt;BR&gt;       at getservd_Command_Center.dialog_VNCViewer.InitializeComponent() in D:\Projects\GetServd.com\gsCommandCenter\v3.1\Dialogs\dlg_VNCViewer.designer.vb:line 172&lt;BR&gt;       at getservd_Command_Center.dialog_VNCViewer..ctor() in D:\Projects\GetServd.com\gsCommandCenter\v3.1\Dialogs\dlg_VNCViewer.vb:line 193&lt;BR&gt;&lt;/P&gt;&lt;P&gt;Any assistance or suggestions you might have would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;M</description><pubDate>Wed, 23 Sep 2009 15:57:40 GMT</pubDate><dc:creator>mrowley</dc:creator></item><item><title>RE: ViewerX and Windows 7</title><link>http://www.s-code.com/forum/FindPost2703.aspx</link><description>I think I know what is happening. This has nothing to do with Windows 7. ViewerX is a 32-bit ActiveX (we are planning to release a 64-bit build by the end of this year) and your .Net application was compiled as either 64 bit or as Any CPU. Due to this when you run the application it's unable to load ViewerX because 64 bit applications cannot use 32 bit ActiveX controls. &lt;/P&gt;&lt;P&gt;In order to get rid of this problem you would have to compile your application as 32-bit (x86).</description><pubDate>Wed, 23 Sep 2009 15:57:40 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item></channel></rss>