Open Talemantros opened 7 years ago
Hi @Talemantros,
Thank you for posting your issue, can you tell me if the krypton form chrome shows up in the design editor? Also could you translate the exception message from German to English please? (It's been a while since I've learned German)
Hey, thanks for fast reply. In the Designer it looks like this
The Issue means something like: The Object is already using in another Place
I hope this helps you
One more Question: I made a Project with the free Version of Krypton ToolKit When i now want to use the Ribbon and added the ne dll to the Project get i Problems with the Project because the free Dll isn´t working with the new dll? I´m afraif i have to do everything new.
Sorry for the bad English :-(
Hi @Talemantros,
It looks like the application is running on a separate thread alongside your build (http://stackoverflow.com/questions/1851292/invalidoperationexception-object-is-currently-in-use-elsewhere). If you can build the solution successfully, it may be worth trying to run the binary to check if it works. Or start a new winforms test project, drag some krypton controls onto the form and then convert the Form into a KryptonForm, as something may have been mangled up in your configuration.
With the Ribbon, have you registered all DLLs with GAC? As you should be able to drag and drop the ribbon control onto your Form.
Hey Good Morning, i started a lot of new empty Projects and now i´m frustrated. I can use every Control in the new DLL´s, but only the Combination of KryptonForm and Ribbon crash. I can use the Ribbon without Krypton and the Krypton without Ribbon...
I don´t know what to do.. I registered all Dll i think... Would be much easier for me and the other existing Project i would have a Licencekey :-(
At the Day i want to buy it it was not availible and if i had know all this Problems by adding a ribbon i had never use this Toolkit 4.4.0
Greetings Daniel
EDIT: I´m able to build every Project i start....but then it crashes :-( And a new empty Project with one Form cant run in differnet Threats? Have you an Idea for what Configuration i have to look?
Hi @Talemantros
It would be helpful if you could upload your code (if you can) to a GIT repository, so I can work out what's exactly going on, as this is sort of unusual.
Hey, i tested around a lot today.
Every new Project isn´t running if i take controls from the new dll and the references will be set without Code only few Controls and it doesn´t work.
I have installed a clean new Win10 Notebook with Visual Studio with the same Issue.
The i made a new Project and installed Krypton with NuGet and took Controls, also Ribbon) after Nuget and it starts, but the Form Looks a Little bit different between Real and Designer
I will have a look to Upload the empty Test Project....
Thanks
Greetings Daniel
At the Moment i´m not able to Upload with GitHub. I will make the Tutorial tomorrow
Sorry But the Possibilities of Github are great i think...perhabs i can use it later for my Project.
Hi @Talemantros
Great to see that you've got it finally working! Personally, I wouldn't use the KryptonForm on newer systems, as it does look out of place.
Hey, thanks for your help. I´m happy that it works, but i don´t understand the Difference between adding DLL manual or adding DLL with Nuget... can you explain me?
I hope i get no Problems by using the DLL in my old Project with Krypton Controls 4.4.0 which was free.
I didn´t developed the last 3 Years and i have a big Project with Winforms. I want to make it lookable with the Ribbon. It looks better than normal Winforms :-)
For the Future i would to try using WPF, ASP.net, Java or something like this.
Greetings Daniel
Hi @Talemantros
Nuget is a much more simpler and efficient way to add 3rd party libraries to your project. If you move from one PC to another that does not have the required DLLs, you can 'restore' the packages to keep working on your project.
As a matter of fact, I've just uploaded two new packages called KryptonSuite462 and KryptonSuite47 that have been updated to the .NET Framework 4.6.2 and 4.7 retrospectively if you're interested. (The 4.4.0 version uses .NET Framework 2.0)
Have you been able to find away to keep the title bar the same as the designer when running on Windows 10? When running the compiled app on a Windows 10 machine, having the title bar change to Windows 10 style makes the dark skin of the app look bad.
Hey @fitzsic @Talemantros In the Ribbon control properties, set the AllowFormIntegrate property to false, this should make the title bar look the same as in the designer.
Your suggestion of #162 does not change the behavior. Are you creating a blank application and following the creation as I stated? IE AllowFormIntegrate = false
Workaround:
In the Form,
After InitializeComponent();
you have to "Force" kryptonRibbon1.AllowFormIntegrate = false;
Having finally come back to my project after a couple of years, I am still unable to get the ribbon to appear. Setting kryptonRibbon1.AllowFormIntegrate = false; or true makes no difference when setting the windows theme. I develop on Windows 7 with theme set to classic (like windows 2000 - god bless, I wish I could still use Windows 2000). I am using visual studio 2019. I will try syncfusion or telerik to see if they get affected the same way.
Hey @fitzsic @Talemantros In the Ribbon control properties, set the AllowFormIntegrate property to false, this should make the title bar look the same as in the designer.
it's work
Hey, after two Years i will start to develop again und want to use Krypton Ribbon with C# und VS2013. After a time i get the dll working with this Guide https://github.com/ComponentFactory/Krypton/issues/16. Thanks a lot for this, i´m still learning and this Guide was great for me.
Now i added my Testproject an KryptonManager, KryptonCheckbox and KryptonRibbon. Until this time the Project is working.
I added References to Design.dll // Toolkit.dll // Ribbon.dll.
Now i want to use "KryptonForm" At the Moment i change "Form1 : Form" to "Form1 : KryptonForm" and "using ComponentFactory.Krypton.Toolkit;" it i´sn´t posibble to start the Projekt
Can anybody help me what to do?
Thanks
Greetings Daniel