ANN: View a fully functional Clock demo using WinFX on the Internet


The XAML for the following demo was authored in the Mobiform XAML Designer Aurora Beta 7.3, which supports the November CTP.

The demo is a clock that keeps real time, based on your internal computer clock.

http://www.mobiform.com/demos/avalonclock/webavalonclock.xbap

Aurora is available as an embeddable component for XAML authoring in your application. Mobiform is also available to help with your WinFX development, contact us for more details. http://www.mobiform.com



Answer this question

ANN: View a fully functional Clock demo using WinFX on the Internet

  • lordbaltz

    Thanks, I can confirm that doing a completely fresh install fixed the problem, although my WPF apps start to exhibit the "Black Window" problem after one run.

    Regards.

  • Nazar Ali

    System.DllNotFoundException: Unable to load DLL 'msctf.dll': A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)

    MSCTF.DLL not MSCFT.DLL

    I am having the same problem!


  • masoftheund

    Hi Brian,

    < xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> 

    The MSCFT.dll belongs to the Microsoft Text Service. I’m wondering what version of WinFX are you running on your computer Both samples were created in the November Release and won’t run anything older than that.



  • Gerard van de Ven

    We're looking into this issue and will get back to you shortly.

    Alexandra

  • sunbar07

    Both apps work fine for me -  it is probably an issue with the Nov 05 CTP.

    BTW, nice demos!

    Valentin

  • eugene.z

    "System.Windows.Serialization.BamlParseException: Error at element 'Setter' in : Invalid value '0,1,0,Auto' for property 'Margin'"

    Some of the Expression Interactive Designer users have reported seeing the same issue. We believe that this is a WPF bug that has been fixed for the Feb. CTP - the issue is that there are some opitmizations that prevents applications from correctly running on some AMD and other chip-sets. There is no known workaround for the January CTP.

    Thanks,
    Unni

    -------

    Unni Ravindranathan,
    Program Manager,
    Microsoft Expression



  • Jeremy Thake

    Have you tried updating your Video driver After we installed the November CTP we noticed a few oddities as well as a heavy drain on the CPU until we updated our Video Drivers.



  • Srikanth Anumalla

    I have the exact same problem and I installed the Jan CTP (no previous versions) on Win XP Pro SP2. Do you have any other thoughts on what may cause this

    Full error dump below:


    Startup URI: http://www.mobiform.com/demos/avalonclock/webavalonclock.xbap
    Application Identity: http://www.mobiform.com/demos/avalonclock/webavalonclock.xbap#WebAvalonClock.application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6723fb9012d48ec0, processorArchitecture=msil/WebAvalonClock.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6723fb9012d48ec0, processorArchitecture=msil, type=win32

    System.DllNotFoundException: Unable to load DLL 'msctf.dll': A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)
       at MS.Win32.UnsafeNativeMethods.TF_CreateThreadMgr(ITfThreadMgr& threadManager)
       at MS.Internal.TextServicesLoader.Load()
       at System.Windows.Threading.Dispatcher.GetMessagePump()
       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 System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)
       at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
       at MS.Internal.AppModel.XappLauncherApp.XappLauncherApp_Startup(Object sender, StartupEventArgs e)
       at System.Windows.Application.OnStartup(StartupEventArgs e)
       at System.Windows.Application.<.ctor>b__0(Object unused)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

    -----------------------

    PresentationHost.exe v6.0.5257.051106 (vbl_wcp_avalon(avdrt).051106-2310) - C:\WINDOWS\system32\PresentationHost.exe
    ntdll.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\ntdll.dll
    kernel32.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\kernel32.dll
    msvcrt.dll v7.0.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\msvcrt.dll
    ADVAPI32.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\ADVAPI32.dll
    RPCRT4.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\RPCRT4.dll
    USER32.dll v5.1.2600.2622 (xpsp_sp2_gdr.050301-1519) - C:\WINDOWS\system32\USER32.dll
    GDI32.dll v5.1.2600.2818 (xpsp_sp2_gdr.051228-1427) - C:\WINDOWS\system32\GDI32.dll
    ole32.dll v5.1.2600.2665 (xpsp_sp2_gdr.050427-1553) - C:\WINDOWS\system32\ole32.dll
    SHELL32.dll v6.00.2900.2763 (xpsp_sp2_gdr.050922-1642) - C:\WINDOWS\system32\SHELL32.dll
    SHLWAPI.dll v6.00.2900.2781 (xpsp_sp2_gdr.051020-1730) - C:\WINDOWS\system32\SHLWAPI.dll
    urlmon.dll v6.00.2900.2790 (xpsp_sp2_gdr.051104-1529) - C:\WINDOWS\system32\urlmon.dll
    VERSION.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\VERSION.dll
    WININET.dll v6.00.2900.2781 (xpsp_sp2_gdr.051020-1730) - C:\WINDOWS\system32\WININET.dll
    CRYPT32.dll v5.131.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\CRYPT32.dll
    MSASN1.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\MSASN1.dll
    OLEAUT32.dll v5.1.2600.2180 - C:\WINDOWS\system32\OLEAUT32.dll
    csauser.dll v4.5.1.639 - C:\WINDOWS\system32\csauser.dll
    comctl32.dll v6.0 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    comctl32.dll v5.82 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\comctl32.dll
    uxtheme.dll v6.00.2900.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\uxtheme.dll
    CLBCATQ.DLL v2001.12.4414.258 - C:\WINDOWS\system32\CLBCATQ.DLL
    COMRes.dll v2001.12.4414.258 - C:\WINDOWS\system32\COMRes.dll
    xpsp2res.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\xpsp2res.dll
    Secur32.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\Secur32.dll
    dfshim.dll v2.0.50727.42 (RTM.050727-4200) - C:\WINDOWS\system32\dfshim.dll
    mscoree.dll v2.0.50727.42 (RTM.050727-4200) - C:\WINDOWS\system32\mscoree.dll
    PresentationHostDLL.dll v6.0.5257.051106 (vbl_wcp_avalon(avdrt).051106-2310) - C:\WINDOWS\Microsoft.NET\Windows\v6.0.5070\PresentationHostDLL.dll
    mscorwks.dll v2.0.50727.42 (RTM.050727-4200) - C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
    MSVCR80.dll v8.00.50727.42 - C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd\MSVCR80.dll
    mscorlib.ni.dll v2.0.50727.42 (RTM.050727-4200) - C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\mscorlib\18e5495f8cebfb478088ec24bfd17d35\mscorlib.ni.dll
    System.ni.dll v2.0.50727.42 (RTM.050727-4200) - C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System\63ae8433635f494581766d7a1a88b4c3\System.ni.dll
    WindowsBase.ni.dll v6.0.5257.051106 - C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\WindowsBase\52aaa77cd600e7448dbfe63e20649aa3\WindowsBase.ni.dll
    PresentationCore.ni.dll v6.0.5257.051106 (vbl_wcp_avalon(avdrt).051106-2310) - C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\PresentationCore\dc167a1c1c9a2c4e9ac390d0a60a28f1\PresentationCore.ni.dll
    PresentationFramework.ni.dll v6.0.5070.0 (vbl_wcp_avalon(avdrt).051106-2310) - C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\PresentationFramewo#\e8ef3e851612be42ba026d39deb4cec1\PresentationFramework.ni.dll
    actxprxy.dll v6.00.2900.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\System32\actxprxy.dll
    msi.dll v3.1.4000.2435 - C:\WINDOWS\system32\msi.dll
    SXS.DLL v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\SXS.DLL
    PresentationUI.ni.dll v6.0.5257.051106 - C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\PresentationUI\121c0d2019895e4c9faf75890bbdbe56\PresentationUI.ni.dll
    wsock32.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\wsock32.dll
    WS2_32.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\WS2_32.dll
    WS2HELP.dll v5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) - C:\WINDOWS\system32\WS2HELP.dll
    diasymreader.dll v8.0.50727.42 (RTM.050727-4200) - C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\diasymreader.dll

     


  • Funchip

    It's working for me too. Congrats.


  • ironhead.chuang

    I have the same problem mentioned earlier(System.Windows.Serialization.BamlParseException: Error at element 'Setter' in markup file 'PresentationUI...).

    I have WinXP SP2, IE 6, Nov CTP (no previous WinFX CTP), .NET 2.0 RTM (no previous 2.0 beta or CTP).


  • LeeFbx

    Me either. Everytime I run an XBAP file, I get an exception with loading MSCTF.DLL although, hte file is there. Here is the actual Exception:

    Startup URI: http://www.mobiform.com/demos/avalonclock/webavalonclock.xbap
    Application Identity: http://www.mobiform.com/demos/avalonclock/webavalonclock.xbap#WebAvalonClock.application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=233e6e45adb61ca7, processorArchitecture=msil/WebAvalonClock.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=233e6e45adb61ca7, processorArchitecture=msil, type=win32

    System.DllNotFoundException: Unable to load DLL 'msctf.dll': A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)
       at MS.Win32.UnsafeNativeMethods.TF_CreateThreadMgr(ITfThreadMgr& threadManager)
       at MS.Internal.TextServicesLoader.Load()
       at System.Windows.Threading.Dispatcher.GetMessagePump()
       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 System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)
       at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
       at MS.Internal.AppModel.XappLauncherApp.XappLauncherApp_Startup(Object sender, StartupEventArgs e)

    ---------------------------------------------------------------------------------------------------------------

    Cheers,

    Brian Abbott


  • Steve Swasey

    Hi Senkwe,< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

    We have been looking into why you have not able to view our online demos. Based on the information contained in the error message it appears as if you may still have some of the September components on you computer. We suggest that you uninstall you copy of the November CTP and run the JavaScript that Tim Sneath recommends in his Blog (http://blogs.msdn.com/tims/archive/2005/09/20/471815.aspx)

    Then re-install the November Runtime Components.

     Let me know how you get on.



  • bpell

    Hello,

    I am seeing a similar error in an application my company is developing:

    System.Windows.Serialization.BamlParseException: Error at element 'Setter' in : Invalid value '0,1,0,Auto' for property 'Margin'

    This exception is consistently thrown on 2 of the 10 computers we've tested it on (one of these computers has only thrown it in 800x600 resolution, never in 1024x768).  The XAML file in question contains no explicit "Margin" setting so this is something happening underneath.  All computers in question have DirectX 9  installed, as recommended in the WinFX FAQ.

    There is another report of this exception here: http://blogs.msdn.com/tomarcher/archive/2005/11/18/494506.aspx#497134

    If this is video card related, are there specific video card equirements for WinFX that we can test for

    -Rolf

     


  • Ness22

    Neither of these demos work for me. (win2k3 server SP1 & IE6 SP1, Nov CTP, .Net 2.0 RTM)

    The pertinent part of the resulting stack trace is

    System.Windows.Serialization.BamlParseException: Error at element 'Setter' in markup file 'PresentationUI;V6.0.5070.0;31bf3856ad364e35;component/installationprogress.xaml' : Invalid value '5,0,0,Auto' for property 'Margin'.. ---> System.ArgumentException: Invalid value '5,0,0,Auto' for property 'Margin'.

  • ANN: View a fully functional Clock demo using WinFX on the Internet