Print Page | Close Window

problem with codejock commandbars .net

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: .NET WinForms
Forum Description: Topics related to Codejock .NET Windows Forms products
URL: http://forum.codejock.com/forum_posts.asp?TID=16763
Printed Date: 26 April 2024 at 5:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: problem with codejock commandbars .net
Posted By: hamid-khakzad
Subject: problem with codejock commandbars .net
Date Posted: 28 May 2010 at 8:04am

hello
I used commandBars and task panel .net in my project
when i set CommandBars Item LayoutType to ImageWithText,I see this error:

 

System.InvalidOperationException was unhandled
  Message="An error occurred creating the form. See Exception.InnerException for details.  The error is: Parameter is not valid."
  Source="Safeer"
  StackTrace:
       at Safeer.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
       at Safeer.My.MyProject.MyForms.get_Mainform()
       at Safeer.My.MyApplication.OnCreateMainForm() in H:\SafeerSms\Safeer\My Project\Application.Designer.vb:line 35
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
       at Safeer.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

but when i remove takpanel from my project it works good




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