<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by Athono</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Mon, 22 Jun 2026 02:23:16 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>Speaker Remote Not Working</title>
            <link>http://forum.lowyat.net/topic/4619622</link>
            <description>Remote - R1280T&lt;br /&gt;&lt;br /&gt;I need help.  The remote, Remote - R1280T (denoted as &amp;quot;RC10&amp;quot; on the device) does not seem to work.  Is there some sort of set up I need to perform?  I even tried replacing the battery.&lt;br /&gt;&lt;br /&gt;The device is the one displayed on this page:&lt;br /&gt;&lt;br /&gt;&lt;a href='https://www.edifier.com/us/en/accessories/r1280t-remote-controller' target='_blank'&gt;https://www.edifier.com/us/en/accessories/r...mote-controller&lt;/a&gt;&lt;br /&gt;</description>
            <author>Athono</author>
            <category>Hardware</category>
            <pubDate>Mon, 16 Jul 2018 14:33:49 +0800</pubDate>
        </item>
        <item>
            <title>How Do I make Multiple &amp;quot;Entry Points&amp;quot; in a .NET CO</title>
            <link>http://forum.lowyat.net/topic/4561573</link>
            <description>I am new to .NET CORE but I have followed a few tutorials. The tutorials I have followed are basically &amp;quot;Hello World&amp;quot; types of programs where I make a small functional  .Net Core application and I publish it. They are basically a DLL, I assume, and they run in some sort of system/container where they can run on any OS.&lt;br /&gt;&lt;br /&gt;Even though the final product is a DLL, the code itself seems to be structured in a way where it is an actual executable application.&lt;br /&gt;&lt;br /&gt;So how would I translate an actual C# DLL project into a .NET Core project? How would a project that is already designed to produce a DLL work in a .Net Core project?&lt;br /&gt;&lt;br /&gt;Executables only have one entry point: static void Main. &lt;br /&gt;&lt;br /&gt;.NET Libraries expose public methods which are all entry points in that sense. &lt;br /&gt;&lt;br /&gt;An &amp;quot;entry point&amp;quot; in a program is where the operating system invokes an executable program file, the term does not apply to libraries. (and ASP.NET web-application files are really just libraries, the ASP.NET host just looks for certain exposed Page/Handler/Controller types). This applies to ASP.NET.  Does it also apply to .NET Core? Also, when I ran my .NET Core applications, I did it from a special command line. So how would that work if I translated a DLL C# program into a .NET Core program?&lt;br /&gt;&lt;br /&gt;</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Wed, 11 Apr 2018 11:41:13 +0800</pubDate>
        </item>
        <item>
            <title>How do I write a SQL query involving a time stamp?</title>
            <link>http://forum.lowyat.net/topic/3932104</link>
            <description>How do I write a SQL query involving a time stamp?&lt;br /&gt;&lt;br /&gt;QUOTE_ID is a character string CREATE_DTG is a date time type RETENTION_LEAD_TRACK is a table&lt;br /&gt;&lt;br /&gt;This sql statement cmf.CommandText = &amp;quot;SELECT QUOTE_ID FROM RETENTION_LEAD_TRACK where CREATE_DTG &amp;gt; &amp;#39;2016 - 04 - 25 18:18:15.2891&amp;#39;&amp;quot;&lt;br /&gt;&lt;br /&gt;throws this error {&amp;quot;Conversion failed when converting date and/or time from character string.&amp;quot;}</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Tue, 26 Apr 2016 09:51:00 +0800</pubDate>
        </item>
        <item>
            <title>How to assign text to a textbox in c++ ?</title>
            <link>http://forum.lowyat.net/topic/3561335</link>
            <description>I have a silverlight app that uses TextBox XAML controls.&lt;br /&gt;&lt;br /&gt;In the c++ code-behind, IXRTextBoxPtr types are associated with these textboxes using &amp;quot;FindName&amp;quot; like this:&lt;br /&gt;&lt;br /&gt;FindName(L&amp;quot;ColNum3&amp;quot;, &amp;amp;m_pColNum3);&lt;br /&gt;&lt;br /&gt;(where ColNum3 corresponds with the XAML CODE like this: )&lt;br /&gt;&lt;br /&gt;Then, the code assigns the pointer like this:&lt;br /&gt;&lt;br /&gt;std::wstring wsTransfer;  // gets the wstring from imput&lt;br /&gt;const WCHAR * wpszInput;&lt;br /&gt;wpszInput = wsTransfer.c_str();&lt;br /&gt;m_pColNum3-&amp;gt;SetText(wpszInput);&lt;br /&gt;but the display does not show the text data.&lt;br /&gt;&lt;br /&gt;What am I missing? What steps am I missing to have this text modification display on the screen?</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Sat, 25 Apr 2015 03:00:20 +0800</pubDate>
        </item>
        <item>
            <title>How do I solve issues with adding Tabbed Control?</title>
            <link>http://forum.lowyat.net/topic/3511155</link>
            <description>How do I solve issues with adding Tabbed Control with Expression Blend 3 for Silverlight App?&lt;br /&gt;&lt;br /&gt;I am using Microsoft Expression Blend 3 + SketchFlow Version 3.0.1927.0 for a Visual Studio 2008 Windows Embedded CE program.&lt;br /&gt;&lt;br /&gt;I am trying to add a tabbed control and Expression Blend does not seem to be cooperating. I have tried googling for a solution. I found this link:&lt;br /&gt;&lt;br /&gt;&lt;a href='https://msdn.microsoft.com/en-us/library/cc295163.aspx' target='_blank'&gt;https://msdn.microsoft.com/en-us/library/cc295163.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This talks about SimpleTabControl and SimpleTabItem. I did not find these controls in my list of available controls I can add. This page says it is specific to WPF projects. Could this be the problem and this particular page from MSDN.Microsoft.com is not applicable to my Silverlight project?&lt;br /&gt;&lt;br /&gt;This web page says &amp;quot;The tab control is an items control that displays content in tabs&amp;quot;. I have the ability to add an items control:&lt;br /&gt;&lt;br /&gt;&lt;a href='http://i67.photobucket.com/albums/h292/Athono/Embedded/itemscontrolpng_zpsq6zokxvq.png' target='_blank'&gt;http://i67.photobucket.com/albums/h292/Ath...zpsq6zokxvq.png&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The page also says &amp;quot;Typically, the child elements of a tab control are tab items, which are headered content controls, each of which can have a header element and a content element&amp;quot;. I did not find the ability to add a headered content control from the graphic list of available controls.&lt;br /&gt;&lt;br /&gt;A google search also found this web page:&lt;br /&gt;&lt;br /&gt;&lt;a href='http://www.dotnetperls.com/tabcontrol-wpf' target='_blank'&gt;http://www.dotnetperls.com/tabcontrol-wpf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Trying this example producted this error:&lt;br /&gt;&lt;br /&gt;&lt;a href='http://i67.photobucket.com/albums/h292/Athono/Embedded/tabcontroldoesnotexist_zpstq4euslm.png' target='_blank'&gt;http://i67.photobucket.com/albums/h292/Ath...zpstq4euslm.png&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It says &amp;quot;The name &amp;#39;TabControl&amp;#39; does not exist in the namespace &amp;#39;http://schemas.microsoft.com/client/2007&amp;#39; &amp;quot;&lt;br /&gt;&lt;br /&gt;Trying an exact copy of the example code produces an error that says that &amp;quot;Window&amp;quot; does not exist in the namespace &amp;quot;http://schemas.microsoft.com/client/2007&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;a href='http://i67.photobucket.com/albums/h292/Athono/Embedded/windowdoesnotexist_zpsy4dn8rkm.png' target='_blank'&gt;http://i67.photobucket.com/albums/h292/Ath...zpsy4dn8rkm.png&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I need to find an example or plan or solution for using a tab control for the namespace &amp;quot;http://schemas.microsoft.com/client/2007&amp;quot;</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Mon, 02 Mar 2015 16:53:04 +0800</pubDate>
        </item>
        <item>
            <title>How do I edit a project template used in Visual St</title>
            <link>http://forum.lowyat.net/topic/3507813</link>
            <description>How do I edit a project template used in Visual Studio?&lt;br /&gt;&lt;br /&gt;I am using Visual Studio 2008 with C# and C++&lt;br /&gt;&lt;br /&gt;I am doing some development on some code. The project uses an SDK that was put together by a 3rd party company that, when run, adds content to the options that is available when I create a new project or solution. When I use Visual Studio to creae a new project, the dialog box that comes up has an additional option in the column for &amp;quot;Project Type&amp;quot;. In this tree structure ia a product that is from this company. If I pick this option, the right side offers a customized template from this compay.&lt;br /&gt;&lt;br /&gt;The template creates a new project. I want to slightly modify this, if possible. Is it possible? Is it an asci file somewhere that I can edit. How do customzed project templates work in Visual Studio?  How do I edit a project template used in Visual Studio? Is it an ASCII file somewhere?&lt;br /&gt;</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Thu, 26 Feb 2015 22:14:26 +0800</pubDate>
        </item>
        <item>
            <title>Why would loading a XAML file fail in new project?</title>
            <link>http://forum.lowyat.net/topic/2889419</link>
            <description>Why would loading a XAML file fail on a brand new, unaltered Silverlight project?&lt;br /&gt;&lt;br /&gt;This is the first time I have started a silverlight project on the current machine I am on with Visual Studio 2010.  Until now, I have been programing ni ASP.NET.&lt;br /&gt;&lt;br /&gt;When I first tried to start a new Silverlight project, I was told I needed to install a fresh copy of Silverlight.  I had to uninstall Silverlight as well as my versions of the Silverlight SDK.  After uninstalling and reinstalling (now I have Microsoft Silverlight  5.1.20513.0 and Silverlight 4 SDK 4.0.50826.0) I was finally able to create a Silverlight Project.  But the XAML code instantly failed to load in the IDE&lt;br /&gt;&lt;br /&gt;&lt;a href='http://i67.photobucket.com/albums/h292/Athono/ASP_DOT_NET%20and%20CSS/outofthegate02_zps0bd33d95.png' target='_blank'&gt;http://i67.photobucket.com/albums/h292/Ath...zps0bd33d95.png&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href='http://i67.photobucket.com/albums/h292/Athono/ASP_DOT_NET%20and%20CSS/outofthegate01_zpse0f20845.png' target='_blank'&gt;http://i67.photobucket.com/albums/h292/Ath...zpse0f20845.png&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Any suggestions?&lt;br /&gt;</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Thu, 18 Jul 2013 09:08:45 +0800</pubDate>
        </item>
        <item>
            <title>SilverLight and ASP.NET application</title>
            <link>http://forum.lowyat.net/topic/2889338</link>
            <description>I have questions about Silverlight.  It has been a while since I have worked on a Silverlight.  For some reason, the people i am working with have embraced ASP.NET but I think we have encountered a problem where a silverlight control might be the right soluton.&lt;br /&gt;&lt;br /&gt;Here are my questions:&lt;br /&gt;&lt;br /&gt;(1) first of all, since I was told that I need to install the latest Silverlight developer runtime before creating a silverlight project, does this mean that the users will also be prompted to install something.&lt;br /&gt;(2) can I have a silverlight control inside an ASP.NET project such that they pass information back and forth?&lt;br /&gt;&lt;br /&gt;</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Thu, 18 Jul 2013 04:39:07 +0800</pubDate>
        </item>
        <item>
            <title>What is a &amp;quot;Friendless Class&amp;quot; in C#?</title>
            <link>http://forum.lowyat.net/topic/2553636</link>
            <description>What is a &amp;quot;Friendless Class&amp;quot; in C#?  I tried searching for this and I did not get any results.</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Thu, 18 Oct 2012 21:46:13 +0800</pubDate>
        </item>
        <item>
            <title>How do I do a get/post for an array in c#?</title>
            <link>http://forum.lowyat.net/topic/2524088</link>
            <description>How do I do a get/post for an array in c#?&lt;br /&gt;&lt;br /&gt;In C#, you get and set variables like this:&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;public int ID { get; set; }&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;How would one get and set an array in C#?&lt;br /&gt;&lt;br /&gt;This will not work:&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;public uint &amp;#91;5&amp;#93; BIG_Hash {get; set;}&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Wed, 26 Sep 2012 05:38:44 +0800</pubDate>
        </item>
        <item>
            <title>Why is &amp;#39;BusyIndicator&amp;#39; not found?</title>
            <link>http://forum.lowyat.net/topic/2514756</link>
            <description>Why is &amp;#39;BusyIndicator&amp;#39; not found?&lt;br /&gt;&lt;br /&gt;I am using Silverlight 5 toolkit and I am references that version of Silverlight.Windows.Controls.Toolkit in my silverlight demo.&lt;br /&gt;&lt;br /&gt;But I get this error and I do not know what to do&lt;br /&gt;&lt;br /&gt;Error 16 The tag &amp;#39;BusyIndicator&amp;#39; does not exist in XML namespace &amp;#39;clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit&amp;#39;. C:&amp;#092;Users&amp;#092;Bobbi&amp;#092;Documents&amp;#092;Visual Studio 2012&amp;#092;Projects&amp;#092;...&lt;br /&gt;&lt;br /&gt;How do I get the code to compile?&lt;br /&gt;</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Wed, 19 Sep 2012 01:17:15 +0800</pubDate>
        </item>
        <item>
            <title>How To Modify An Element in the Dictionary Class?</title>
            <link>http://forum.lowyat.net/topic/2475319</link>
            <description>How To Modify An Element in the Dictionary Class?&lt;br /&gt;=======================================&lt;br /&gt;&lt;br /&gt;C# has this cool Dictionary class that you can use like a Hash Table.  Is there a way of changing the value of an indexed element without resorting to removing it like this?&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int value = runningcount&amp;#91;city&amp;#93;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; runningcount.Remove&amp;#40;city&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; runningcount.Add&amp;#40;city, ++value&amp;#41;;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Sun, 19 Aug 2012 10:20:30 +0800</pubDate>
        </item>
        <item>
            <title>Tab Split String Now Working.</title>
            <link>http://forum.lowyat.net/topic/2475160</link>
            <description>Tab Split String Now Working.&lt;br /&gt;&lt;br /&gt;Please Help.  I wrote a C# program that reads code one line at a time.  Each line has data seperated by tabs.&lt;br /&gt;&lt;br /&gt;Here is what my C# code is supposed to do.  The line is supposed to be split into a string array by using the &amp;quot;Split&amp;quot; string  methodIt is supposed to be spit  read in text one line at a time and I use the &amp;quot;Split&amp;quot; method to group the line according to the tab character.&lt;br /&gt;&lt;br /&gt;But, as this screen shot shows, it does not work.  Any idea why?&lt;br /&gt;&lt;br /&gt;&lt;img src='http://i67.photobucket.com/albums/h292/Athono/problem.png' border='0' alt='user posted image' /&gt;&lt;br /&gt;</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Sun, 19 Aug 2012 01:29:49 +0800</pubDate>
        </item>
        <item>
            <title>Help me with this Compile Error</title>
            <link>http://forum.lowyat.net/topic/2474258</link>
            <description>Error 1 An object reference is required for the non-static field, method, or property &amp;#39;ConsoleApplication_FileTest.Program.GetAverageSalary(string)&amp;#39; C:&amp;#092;Users&amp;#092;Dawn&amp;#092;documents&amp;#092;visual studio 11&amp;#092;Projects&amp;#092;ConsoleApplication_FileTest&amp;#092;ConsoleApplication_FileTest&amp;#092;Program.cs 98 24 ConsoleApplication_FileTest&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;static void Main&amp;#40;string&amp;#91;&amp;#93; args&amp;#41; &lt;br /&gt;{ &lt;br /&gt; &lt;br /&gt; &amp;nbsp; &amp;nbsp;Dictionary&amp;#60;string, double&amp;#62; averages = new Dictionary&amp;#60;string, double&amp;#62;&amp;#40;&amp;#41;; &lt;br /&gt; &amp;nbsp; &amp;nbsp;string filename = &amp;#34;c&amp;#58;&amp;#092;&amp;#092;test.txt&amp;#34;; &lt;br /&gt; &amp;nbsp; &amp;nbsp;averages = GetAverageSalary&amp;#40;filename&amp;#41; &lt;br /&gt;} &lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt; =====================&lt;br /&gt; &lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dictionary&amp;#60;string, double&amp;#62; GetAverageSalary&amp;#40;string filename&amp;#41; &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{ &lt;br /&gt;... &lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;==================================&lt;br /&gt;I was told that since my method main() is static and that&lt;br /&gt;my  method GetAverageSalary() is not, I MUST have an object instance of type Program.&lt;br /&gt;  How do I do that?&lt;br /&gt;</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Sat, 18 Aug 2012 02:08:11 +0800</pubDate>
        </item>
        <item>
            <title>c++ program: cannot instantiate abstract class</title>
            <link>http://forum.lowyat.net/topic/2459574</link>
            <description>&lt;img src='http://i67.photobucket.com/albums/h292/Athono/cannotinstantiateabstractclass.png' border='0' alt='user posted image' /&gt;&lt;br /&gt;This leads me to this page:&lt;br /&gt;&lt;a href='http://msdn.microsoft.com/query/dev10.query?appId=Dev10IDEF1&amp;l=EN-US&amp;k=k(C2259);k(VS.ERRORLIST)&amp;rd=true' target='_blank'&gt;http://msdn.microsoft.com/query/dev10.quer...ORLIST)&amp;rd=true&lt;/a&gt;&lt;br /&gt;Compile Error C2259 is from a C++ program but the page calls the abstract class an &amp;quot;interface&amp;quot;:&lt;br /&gt;&lt;br /&gt;&lt;!--QuoteBegin--&gt;&lt;div class='quotetop'&gt;QUOTE&lt;/div&gt;&lt;div class='quotemain'&gt;&lt;!--QuoteEBegin--&gt;Whenever you derive from an interface and implement the interface methods in the derived class with access permissions other than public, you may receive C2259. This occurs because the compiler expects the interface methods implemented in the derived class to have public access. When you implement the member functions for an interface with more restrictive access permissions, the compiler does not consider them to be implementations for the interface methods defined in the interface, which in turn makes the derived class an abstract class.&lt;br /&gt;&lt;br /&gt;There are two possible workarounds for the problem: &lt;br /&gt;&lt;br /&gt;Make the access permissions public for the implemented methods.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Use the scope resolution operator for the interface methods implemented in the derived class to qualify the implemented method name with the name of the interface.&lt;br /&gt;&lt;!--QuoteEnd--&gt;&lt;/div&gt;&lt;!--QuoteEEnd--&gt;&lt;br /&gt;&lt;br /&gt;The bad news is that I have already made all of the methods public in the class:&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;class AmbientOccluder&amp;#58; public Light {&lt;br /&gt;	public&amp;#58;&lt;br /&gt;	&lt;br /&gt; &amp;nbsp;AmbientOccluder&amp;#40;void&amp;#41;; &lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Tue, 07 Aug 2012 02:18:18 +0800</pubDate>
        </item>
        <item>
            <title>vector</title>
            <link>http://forum.lowyat.net/topic/2459518</link>
            <description>I have got the following in a header file for a class:&lt;br /&gt;&lt;br /&gt;#include &amp;lt;vector&amp;gt;&lt;br /&gt;#include &amp;lt;math.h&amp;gt;&lt;br /&gt;&lt;br /&gt;In the class description, I have the following protected member:&lt;br /&gt;&lt;br /&gt;vector&amp;lt;Point2D&amp;gt;			samples;&lt;br /&gt;&lt;br /&gt;Point2D is defined as a class&lt;br /&gt;&lt;br /&gt;during compile time I get lots of errors (C2143, C4430 and C2238)  &lt;br /&gt;&lt;br /&gt;Any ideas?&lt;br /&gt;</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Tue, 07 Aug 2012 01:01:40 +0800</pubDate>
        </item>
        <item>
            <title>How Do I load a BitmapImage in WPF?</title>
            <link>http://forum.lowyat.net/topic/2454447</link>
            <description>In a silverlight app, I have a BitmapImage defined as System.Windows.Media.Imaging.BitmapImage and it as a method called &amp;quot;SetSource&amp;quot; where I can set the source like this: &lt;br /&gt;&lt;br /&gt;	BitmapImage bitmap = new BitmapImage(); &lt;br /&gt;	System.IO.Stream stream = _scene.GetStream(); &lt;br /&gt;	if (stream == null) return; &lt;br /&gt;	bitmap.SetSource(stream); &lt;br /&gt;&lt;br /&gt; In a WPF application I have also have a Bitmap image defined as System.Windows.Media.Imaging.BitmapImage but there is no SetSource method. How do I set the source in a WPF app like I do in a Silverlight app?&lt;br /&gt;&lt;br /&gt;Also, it is a stream, not a string. It is not a URI. so &amp;quot;UriSource&amp;quot; method does not work. I tried this:&lt;br /&gt; &lt;br /&gt; 	System.IO.Stream stream = _scene.GetStream(); &lt;br /&gt;        if (stream == null) return; &lt;br /&gt;        BitmapImage bitmap = new BitmapImage(); &lt;br /&gt; &lt;br /&gt;        bitmap.UriSource = new Uri(stream.ToString()); &lt;br /&gt;&lt;br /&gt; And at runtime, it threw an error tha URI cannot be determined. Is the URI an identifier for the intranet? Are you sure that this is not a silverlight thing? I am doing a WPF application&lt;br /&gt;</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Fri, 03 Aug 2012 06:17:07 +0800</pubDate>
        </item>
        <item>
            <title>MVC</title>
            <link>http://forum.lowyat.net/topic/2429922</link>
            <description>What is MVC really?  Is &amp;quot;model-view-controller&amp;quot; basically the way all ASP.NET programs in Visual Studio are made?  Is it the default way WPF applications are arranged?</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Mon, 16 Jul 2012 12:54:17 +0800</pubDate>
        </item>
        <item>
            <title>REST and WCF</title>
            <link>http://forum.lowyat.net/topic/2429903</link>
            <description>As far as I can tell REST is a methodology or an archecture.  Is it a real tangable thing?  I mean, can you look at a back-end code and determine if it is REST or not REST?  How do you communicate with a WCF RESTful service?  Are all WCF services RESTful?&lt;br /&gt;</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Mon, 16 Jul 2012 12:33:14 +0800</pubDate>
        </item>
        <item>
            <title>Cannot Edit or Add Path to Reference File in C#</title>
            <link>http://forum.lowyat.net/topic/2350951</link>
            <description>In the C# Visual Studio 2010 project I am working on, I cannot edit or add a path to a referece file.  I have inherited a project at work.  Whern I open the project and go to the references scetion in the Visual Studio 2010 IDE there are some little yellow warning signs showing that there is something amiss with the reference listed there.&lt;br /&gt;But when I click on the item and look at the missing path, I find that the name &amp;quot;Path&amp;quot; is in grey suggesting that I cannot edit it and, sure enough, I cannot add the path name to the adjoining field.  What causes this?  I have the solution file and the project file checked out in edit mode.&lt;br /&gt;&lt;br /&gt;[addedon]May 18, 2012, 1:28 am[/addedon]THe project file had a hand-coded reference that was wrong.</description>
            <author>Athono</author>
            <category>Codemasters</category>
            <pubDate>Fri, 18 May 2012 00:10:00 +0800</pubDate>
        </item>
    </channel>
</rss>
