Jay

Forum Replies Created

Viewing 13 posts - 16 through 28 (of 28 total)
  • Author
    Posts
  • in reply to: Can't add Beckhoff ADS server #4673
    Jay
    Jay
    Moderator

    There might be a workaround for the specific dll version requirement.

    Find VisualComponents.Engine.exe.config from your VC installation folder and add this to inside the assemblyBinding element near the top of the file:

    <dependentAssembly>

    <assemblyIdentity name=”TwinCAT.Ads” publicKeyToken=”180016cd49e5e8c3″ culture=”neutral” />

    <bindingRedirect oldVersion=”4.1.22.0″ newVersion=”4.1.16.0″ />

    </dependentAssembly>

    This will instruct the CLR to search for version 4.1.16.0 of the TwinCAT.Ads.dll instead of the version 4.1.22.0 our software is built against. You may try targeting other versions of the TwinCAT.Ads.dll available on your GAC as well.

    However, if there are functional differences between the dll versions you may get unexpected behavior.

    in reply to: Text Editor Tool #4150
    Jay
    Jay
    Moderator

    Here is a demo project.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Application crash on run #3594
    Jay
    Jay
    Moderator

    This is a .NET runtime error. Suggested solutions from Microsoft community forum ranges from performing an SFC scan to doing a clean install of the OS.  Here is the link to Microsoft forum

    https://answers.microsoft.com/en-us/windows/forum/windows_10-performance/kernelbasedll-version-100105860-and-net-runtime/e1b5a9e8-a377-4de7-9a1a-df0bd205a963

     

    in reply to: How to create extended custom "Context" #3188
    Jay
    Jay
    Moderator
    in reply to: Which IoC is used? #2845
    Jay
    Jay
    Moderator

    The answer is no, Caliburn.Micro is not configured to use Castle.Core.

    in reply to: Reload .NET Addon #2844
    Jay
    Jay
    Moderator

    There is no easy and direct way to do this. The main reason is because of MEF composition container, which contains all the parts available and performs composition i.e the matching of imports to exports when VC starts. In order for your updated export to match with an import in VC, you will need to restart VC.

    in reply to: Another WPF Application to access to VC #2317
    Jay
    Jay
    Moderator
    in reply to: MEF vs WCF #2316
    Jay
    Jay
    Moderator

    Check out this thread.

    Access and listen to events in VC 4.0 from external application using WCF

    in reply to: Adding branding, styles and themes #2231
    Jay
    Jay
    Moderator

    This tutorial on styles is a bit outdated. There is no need to use UserControl.Resources. All you need to do in order to use VC styles is to reference the following namespace in XAML

    xmlns:shared=”clr-namespace:VisualComponents.UX.Shared;assembly=UX.Shared”

    and use it in your control as follows:

    <TextBlock  Grid.Column=”0″ Text=”{Binding Name}” Style=”{DynamicResource VCTextBlockLargerLabelStyle}”  />

    or

    <shared:ExtendedTextBox  Grid.Column=”1″ Text=”{Binding Value}” Style=”{DynamicResource VCExtendedTextBoxStyle}” />

    Please see attached “VCStyle_Demo.xml” file for an example.

    Regarding the resource keys for controls, I must admit that I don’t know all of the them yet but the general naming convention is “VC[Default Control Name]Style” for example “VCButtonStyle”. Attached is a word document that has some resource key I have come across and that works.

    Please note that you might get a message like this when using resource key in XAML: “The resource [resource key name] could not be resolved”. I would suggest you ignore this error cause the resource will be resolved during runtime as long as you have added reference to VisualComponents.UX.Shared to your Visual Studio project.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Motions with approximate positioning #2227
    Jay
    Jay
    Moderator

    There is now AccuracyMethod and AccuracyValue for robot statements in VC 4.0 . See attached video.

    Attachments:
    You must be logged in to view attached files.
    in reply to: .NET Framework 4.6 #1188
    Jay
    Jay
    Moderator

    It supports both. I would probably use anything from .NET Framework 4.0 cause MEF was introduced as a part of .NET 4.0 and Silverlight 4

    in reply to: Metadata #933
    Jay
    Jay
    Moderator

    Hi Chungmin,

    I wouldn’t recommend editing or modifying the eCat database file manually. Changes have been made in eCat and so current gen eCat is not identical to next gen.

    in reply to: Simulation controls #541
    Jay
    Jay
    Moderator

    There is currently only real time mode and you can use the scroll bar to set the simulation speed. I agree that setting the precise speed is not very easy at the moment. There is still room for improvement here.

Viewing 13 posts - 16 through 28 (of 28 total)