Print Page | Close Window

Assistance with TabControl / Project Upgrade

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Active-X COM Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=14467
Printed Date: 30 September 2024 at 12:47am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Assistance with TabControl / Project Upgrade
Posted By: d1rkg3ntly
Subject: Assistance with TabControl / Project Upgrade
Date Posted: 08 June 2009 at 7:21am
I'm trying to upgrade a VB5 project that uses XtremeSuite Controls v11.2.2 (specifically the tab control) to VB.NET (Visual Studio 2008).

When I try to open the upgraded form in VS2008 I get the following:

Catastrophic failure(Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

Call Stack:

at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at XtremeSuiteControls._DTabControl.get_Font()
at AxXtremeSuiteControls.AxTabControl.get_Font()
at System.Windows.Forms.Control.GetParentFont()
at System.Windows.Forms.Control.get_Font()
at System.Windows.Forms.AxHost.get_Font()
at System.Windows.Forms.Control.GetParentFont()
at System.Windows.Forms.Control.get_Font()
at System.Windows.Forms.ComboBox.get_PreferredHeight()
at System.Windows.Forms.ComboBox.get_CreateParams()
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.ComboBox.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.ControlCollection.Add(Control value)
at System.Windows.Forms.Form.ControlCollection.Add(Control value)
at System.Windows.Forms.Design.ControlDesigner.DesignerControlCollection.Add(Control c)

My assumption is that for whatever reason the XtremeSuite TabControl will not work at all in .NET.

Can anyone provide some guidance as to how we can get our forms to open, even if it's just to remove these controls?

Thanks.

DG



Replies:
Posted By: Oleg
Date Posted: 09 June 2009 at 2:20am
Hello,
 
Yes, TabControl for VB6 users only :( Use standard TabControl from Windows Forms.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net