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 when I reference the <views1:WorkspacesView Grid.Column="1" /> in the view
    it's viewmodel is istantiated internally? since even in the sample I don't see any workspaceviewmodel
    advapiIT
    @advapiIT
    the problem seems to be on public object Scope { get; set; }
    that-s passed to the ResolveType as a Tag
    advapiIT
    @advapiIT
    seems it to be passed as null
    Activating workspace manager using scope ''
    advapiIT
    @advapiIT
    if u can help me on this Geert, I'm almost done...can't understand why in the workspacesviewmodel you pass a scope
    Geert van Horrik
    @GeertvanHorrik
    Sorry, free time is up, I think I've helped you enough over the year
    advapiIT
    @advapiIT
    O_O
    so have I to pay?
    Geert van Horrik
    @GeertvanHorrik
    no, you don't have to, you can also check the source code, ask on stackoverflow in the hope someone else answers the question
    I have (paid) work to do as well, just as you, and I don't want to spend any more of my precious (limited & free) time on helping out for free, that's all
    But like I said before: if you are working for a company, just go to the manager and ask for a budget. Anyone (e.g. @venomAA) could help you out, as long as you pay them (which is nothing else then fair to be honest)
    venom_aa
    @venomAA
    @advapiIT you should totally download and play with the source code..will take you some time but that is how i got to understand the why and what could orchestra do and what i had to cheat out of it. In the long run that will help you more than getting help. What i did is copy directly orchestra code to my projects and debug it over with my changes and see what happened. Thats how i got to do the login thing and create my custom controls for coms and bluetooth.
    advapiIT
    @advapiIT
    excuse me, does orchestra have some sort of module that dumps system information? as ram, cpu etc?
    Geert van Horrik
    @GeertvanHorrik
    yup, see Orc.SystemInfo
    advapiIT
    @advapiIT
    Thnks
    venom_aa
    @venomAA
    anyone has run into this error with showdialogasync??
    System.InvalidOperationException: This Visual is not connected to a PresentationSource.
    at System.Windows.Media.Visual.PointToScreen(Point point)
    at Microsoft.VisualStudio.DesignTools.WpfTap.WpfVisualTreeService.Adorners.AdornerLayerWindow.UpdatePlacement()
    at Microsoft.VisualStudio.DesignTools.WpfTap.WpfVisualTreeService.Adorners.AdornerLayerWindow.<UpdatePlacementAsync>b__77_0(Object obj)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
    BonaPrimeERP.exe Information: 0 : 14:01:26:813 => [INFO] [Orchestra.DotNetPatchHelper] [1] An unhandled exception occurred, checking if it is a known KB issue: This Visual is not connected to a PresentationSource.
    BonaPrimeERP.exe Information: 0 : 14:01:26:816 => [INFO] [Orchestra.DotNetPatchHelper] [1] Below is a list of the last first chance exceptions that occurred. It might provide more information to the issue.
    BonaPrimeERP.exe Information: 0 : 14:01:26:822 => [INFO] [Orchestra.DotNetPatchHelper] [1] ================================================================================================
    BonaPrimeERP.exe Information: 0 : 14:01:26:824 => [INFO] [Orchestra.DotNetPatchHelper] [1]
    BonaPrimeERP.exe Information: 0 : 14:01:26:827 => [INFO] [Orchestra.DotNetPatchHelper] [1] [ThreadAbortException] System.Threading.ThreadAbortException: Thread was being aborted.
    at MS.Win32.UnsafeNativeMethods.IntGetMessageW(MSG& msg, HandleRef hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax)
    at MS.Win32.UnsafeNativeMethods.GetMessageW(MSG& msg, HandleRef hWnd, Int32 uMsgFilterMin, Int32 uMsgFilterMax)
    at System.Windows.Threading.Dispatcher.GetMessage(MSG& msg, IntPtr hwnd, Int32 minMessage, Int32 maxMessage)
    at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
    at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
    at Catel.Windows.PleaseWaitWindow.WorkerThread(Object arg) in C:\CI_WS\Ws\97969\Source\Catel\src\Catel.MVVM\Catel.MVVM.NET46\Windows\PleaseWaitWindow.xaml.cs:line 426
    BonaPrimeERP.exe Information: 0 : 14:01:26:829 => [INFO] [Orchestra.DotNetPatchHelper] [1]
    BonaPrimeERP.exe Information: 0 : 14:01:26:830 => [INFO] [Orchestra.DotNetPatchHelper] [1] ================================================================================================
    BonaPrimeERP.exe Information: 0 : 14:01:26:832 => [INFO] [Orchestra.DotNetPatchHelper] [1]
    BonaPrimeERP.exe Information: 0 : 14:01:26:835 => [INFO] [Orchestra.DotNetPatchHelper] [1] [ThreadAbortException] System.Threading.ThreadAbortException: Thread was being aborted.
    at Catel.Windows.PleaseWaitWindow.WorkerThread(Object arg) in C:\CI_WS\Ws\97969\Source\Catel\src\Catel.MVVM\Catel.MVVM.NET46\Windows\PleaseWaitWindow.xaml.cs:line 431
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart(Object obj)
    BonaPrimeERP.exe Information: 0 : 14:01:26:837 => [INFO] [Orchestra.DotNetPatchHelper] [1]
    BonaPrimeERP.exe Information: 0 : 14:01:26:839 => [INFO] [Orchestra.DotNetPatchHelper] [1] ================================================================================================
    Geert van Horrik
    @GeertvanHorrik
    did you add the visual you are calling PointToScreen on to the visual tree?
    is this Catel v5?
    venom_aa
    @venomAA
    no..its 4.5
    var _capturaLoteSacrificioViewModel = _typeFactory.CreateInstanceWithParametersAndAutoCompletion<CapturaLoteSacrificioViewModel>(new object[] { GetValue<cLote_Sacrificio>(Selected_LoteProperty) });
                    if ((await _visualizerService.ShowDialogAsync(_capturaLoteSacrificioViewModel)).Value)
    the ShowDialogAsync is the one causing the problem.. if i use the old ShowDialog it works alright
    Geert van Horrik
    @GeertvanHorrik
    Yeah, I believe we fixed this one in 5.0
    venom_aa
    @venomAA
    thanks @GeertvanHorrik
    advapiIT
    @advapiIT
    just a stupid question, when using orchestra and have to show a dialog or messagebox should I use the Catel's IMessageService IUIVisualizer or there're specific orchestra ones?
    Geert van Horrik
    @GeertvanHorrik
    I think Orchestra re-implements these services
    so you can keep using the interfaces
    venom_aa
    @venomAA
    @advapiIT im using the 4.5 version of catel and the 2.7.0 of orchestra. and i have keep using the catel services for the dialogs and messagebox without any problem
    advapiIT
    @advapiIT
    Ok ok, I asked this since I've some button with catel layout and some with orchestra
    advapiIT
    @advapiIT
    was I wrong or someone tried/succeded to replace the datawindow with Telerik's one?
    advapiIT
    @advapiIT
    Excuse me, is theresome magic when we use a catel:DataWindow and resources? I try to explain what happens, I use implicit styles in WPF on my main solution everything works using the catel:DataWindow, same code using Orchestra I don't see some UI item as DataTimePicker, normally I fix this adding the ResourceDictionary to the catel:DataWindow.Resources
    but this time it won't work
    Geert van Horrik
    @GeertvanHorrik
    you should add the resources on the app-level
    so in app.xaml, reference the resource dictionary to Orchestra and everything else
    although I thought Orchestra is already aggressively loading / linking the /themes/generic.xaml from each app
    venom_aa
    @venomAA
    I always add it to the app.xaml.
    <Application x:Class="BonaPrimeERP.App"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
        <Application.Resources>
                <ResourceDictionary>
                    <ResourceDictionary.MergedDictionaries>
                     <ResourceDictionary Source="pack://application:,,,/Orchestra.Core;component/themes/Orchestra.generic.xaml" />
                    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
                    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.AnimatedTabControl.xaml" />
                    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
                    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml" />
                    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Orange.xaml" />
                    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />
                    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/FlatButton.xaml" />
                </ResourceDictionary.MergedDictionaries>
                </ResourceDictionary>
            </Application.Resources>
    </Application>
    advapiIT
    @advapiIT
    it worked
    thanks I 've avoided all the pain I had till now
    advapiIT
    @advapiIT
    excuse me, wht Orc.CrashReporting is not avaiable anymore on gith?
    ok I've seen it's been archivied and no longer mantained
    advapiIT
    @advapiIT
    Excuse me ,how do I perform an action when the application (using Orchestra) is closed? is there a closing event?
    Geert van Horrik
    @GeertvanHorrik
    I think we have something for that, but it might be in our private libs on top of Orc.*
    I don't believe there is an event you can hook into, except for CloseViewModel on MainViewModel
    advapiIT
    @advapiIT
    For the question above I've resolved extending the IApplicationStartupService and putting a Func that's invoked optionally at the exit
    now I was looking for an elegant way to catch the exception and I've found https://github.com/WildGums/Orc.CrashReporting
    but as I've seen it's not supported anymore
    Geert van Horrik
    @GeertvanHorrik
    I think ORchestra has a CrashHandler, but not sure whether it's for internal use only
    advapiIT
    @advapiIT
    excuse me, is there a reason why the there's a double Orchestra.Core here?