Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    advapiIT
    @advapiIT
    Excuse me , in the case I've referenced the Orchestra.Shell.Ribbon.Fluent for orchestra and not copied all the files from the solution, it's possible to set up the CompanyLogoForSplashScreenUri as well?
    Geert van Horrik
    @GeertvanHorrik
    Sure, if your company supports us on Open Collective, I am happy to help out there
    Tender Ticante
    @TenderTicante
    Hi Geert, I've tried to use PleseWaitService, the first time I saw it was with Catel, but now doesn't work, so I searched and I found it works with Orchestra, but it doen't wotk, can you give an example or a documentation page to help me?
    Thanks for all your effort with Catel project <3
    Geert van Horrik
    @GeertvanHorrik
    It works, but it has been replaced with a different one. For example, now it uses the progress bar at the bottom of the Orchestra shell (the fluent ribbon demo shows this nicely)
    Tender Ticante
    @TenderTicante
    sorry for bother, I saw that example but I'm looking for a lock wait screen that appears when the information is loading in background there's an example code that I tried but I doesn't work.
        public void LoadedAsync()
        {
            try
            {
                var serviceLocator = ServiceLocator.Default;
                serviceLocator.RegisterType<IPleaseWaitService,Catel.Services.PleaseWaitService>();
                _pleaseWaitService.Show(() => Thread.Sleep(9000), MensajesEspera.Espere);
                InicializaVistaModelo();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    Geert van Horrik
    @GeertvanHorrik
    We removed that splash screen since the implementation was too complicated. You could however move that old code into your own project as implementation of the please wait service
    kevinlall
    @kevinlall
    hi there, i am trying to do a POC using c# .net 4.6.2 using the Orchestra.Shell.Ribbon.Fluent and it's dependencies the app crash just after the splash screen
    Geert van Horrik
    @GeertvanHorrik
    what's the callstack?
    did you check the example app?
    kevinlall
    @kevinlall
    yeah
    i took the code from there
    Geert van Horrik
    @GeertvanHorrik
    but does the example itself run?
    kevinlall
    @kevinlall
    only i did not do is use <Project Sdk="MSBuild.Sdk.Extras">
    i just created a normal WPF project
    Geert van Horrik
    @GeertvanHorrik
    ok, that shouldn't matter much, as long as you use the right dependencies. But what is the callstack / first chance exception?
    kevinlall
    @kevinlall
    [DEBUG] [Orchestra.Services.ShellService] [1] Showing splash screen
    'WpfApp1.exe' (CLR v4.0.30319: WpfApp1.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    System.Windows.Data Error: 23 : Cannot convert '<null>' from type '<null>' to type 'System.Windows.Media.ImageSource' for 'en-US' culture with default conversions; consider using Converter property of Binding. NotSupportedException:'System.NotSupportedException: ImageSourceConverter cannot convert from (null).
    at System.ComponentModel.TypeConverter.GetConvertFromException(Object value)
    at System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
    at MS.Internal.Data.DefaultValueConverter.ConvertHelper(Object o, Type destinationType, DependencyObject targetElement, CultureInfo culture, Boolean isForward)'
    Geert van Horrik
    @GeertvanHorrik
    that can be ignored (product logo for splash)
    kevinlall
    @kevinlall
    how do i do that
    pls
    Geert van Horrik
    @GeertvanHorrik
    just hit f5, it's a first-chance exception
    kevinlall
    @kevinlall
    image.png
    Geert van Horrik
    @GeertvanHorrik
    ok, please upload the repro, but it should just work
    or paste the log here
    kevinlall
    @kevinlall
    Geert van Horrik
    @GeertvanHorrik
    Exception thrown: 'Catel.IoC.TypeNotRegisteredException' in Catel.Core.dll
    kevinlall
    @kevinlall
    how can i see that
    Geert van Horrik
    @GeertvanHorrik
    output window
    so you are using ModuleInitializer, but not fody
    if you don't want to use fody, you should move
                var serviceLocator = ServiceLocator.Default;
    
                serviceLocator.RegisterType<IRibbonService, RibbonService>();
                serviceLocator.RegisterType<IApplicationInitializationService, ApplicationInitializationService>();
    to app.Onstartup
    kevinlall
    @kevinlall
    doing that now
    Geert van Horrik
    @GeertvanHorrik
    next: there is no view model for the ribbonview
    You should have a few pointers to start at, but this is really basic stuff. Please, check out the example, it works. We do provide paid support if you need help setting up your projects
    kevinlall
    @kevinlall
    thanks for the pointer
    kevinlall
    @kevinlall
    got it working
    Geert van Horrik
    @GeertvanHorrik
    excellent!
    kevinlall
    @kevinlall
    image.png
    but oh wow it's a lot of boilerplate things that needs to be in place
    Geert van Horrik
    @GeertvanHorrik
    correct, it takes care of a lot of things for you, but you need to define a few parts of the apps (e.g. main view, ribbon view, status bar view) and a service exposing this.
    kevinlall
    @kevinlall
    i don't know how you saw that exception Exception thrown: 'Catel.IoC.TypeNotRegisteredException' in Catel.Core.dll but it's pretty hard to figure out if something goes wrong
    Geert van Horrik
    @GeertvanHorrik
    it was right there in the logs
    kevinlall
    @kevinlall
    maybe it my VS
    not configured properly
    image.png
    however i love the recentlyused xml
    Geert van Horrik
    @GeertvanHorrik
    there are tons of great features in there, most of which you don't even notice ;-)
    kevinlall
    @kevinlall
    i noticed you guys have a prism feature
    that is using version 6
    Geert van Horrik
    @GeertvanHorrik
    we don't actively develop it