Browse by Tags
All Tags »
WPF (
RSS)
Please update your bookmarks, because the new url of this blog is http://khason.net/ (you have not update RSS feeds, it will be done automatically). Why I did it? Why I decided to go to “stand-alone”… Well. there are some reasons. Generally, I do not want to explain all those here, but trust me, there are some. The main reason is, that there is no responsible person in charge for this blog platform in Microsoft Israel. This why, if your blog is popular and you have a respect to your blog visitors...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/read-and-use-fm-radio-or-any-other-usb-hid-device-from-c/ ] Last time we spoke about reading and decoding RDS information from FM receivers . Also we already know how to stream sound from DirectSound compatible devices . However, before we can do it, we should be able to “speak” with such devices. So, today we’ll spoke about detection and reading information from Radio USB adapters (actually...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/capturing-and-streaming-sound-by-using-directsound-with-c/ ] I already wrote a little about managed way to use DirectX DirectSound . Today we’ll speak about how to get sound from your microphone or any other DirectSound capturing device (such as FM receiver ) and stream it out to your PC speakers and any other DirectSound Output device. So, let’s start creating our first echo service...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/quick-silverlight-and-wpf-tip-how-to-write-program-without-xaml/ ] From the moment, 10K MIX09 contest was launched , I got more, then 20 people, asking the same question: Is it possible to have Silverlight program up and running without XAML at all? The answer is “ YES, IT IS ”. Here is how: All you need for run WPF or Silverlight application is Class inherited from System.Windows.Application...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/reading-and-decoding-rds-radio-data-system-in-c/ ] RDS or Radio Data System is very common in US and many European countries. It is communication protocol used to send small amount of digital information using regular FM radio broadcast. This protocol is used to "tell" your receiver about alternative frequencies, time, program notifications, program types, traffic information...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/how-to-pinvoke-varargs-variable-arguments-in-c-or-hidden-junk-in-clr/ ] Recently I wrote a cheat sheet for pinvoking in .NET . Shortly after I got a question in comments about how to deal with variable arguments, when it's more, then one parameter. Also what to do if those arguments are heterogeneous? Let's say, that we have following method in C: int VarSum(int nargs, ...){ va_list...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/consultants-for-charity/ ] As you, probably, know, I left consulting field . However, it does not mean, that I quit helping developers community with client application development. Also, every day I'm getting between 50 and 300 emails with questions (I'm trying to answer all of those) and sometimes proposals for consulting. Currently I'm refusing all those, because I do not...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/auto-scroll-listbox-in-wpf/ ] In WinForms era it was very simple to autoscroll listbox content in order to select last or newly added item. It become a bit complicated in WPF. However, complicated does not mean impossible. As for me, Microsoft should add this feature to base ListBox implementation as another attempt to be attractive environment for LOB application. See, for example this...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/programming-for-windows-7/ ] Well, Windows 7 is going to be released by the end of next year. This is great news, because it seemed, that Microsoft finally understand how to get the best of Windows Vista and make it to work not only on monster machines . It even works on new brandy my wife's pinky machine. And if it works there and my wife is happy with it, this OS going to be very...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/pinvoke-cheat-sheet/ ] I’m working a lot with p/invoke, and know how it’s hard to produce correct signature for unmanaged method. So, today I decided to publish basic cheat sheet for methods, parameters and attributes you should use in order to invoke unmanaged methods from managed code without a lot of problems. We start with data type translations. Here the table to understand it. Data...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/set-binding-based-on-trigger/ ] Let’s say, that you want to set binding. However, you want to set it by using some trigger. Wait! Why I need it? Let’s say, that I have some very special object, that actually has no hard-coded properties. All it’s properties are created during the runtime, based on some trigger. In this case, I still want to use binding, however, if the property does not...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/issues-you-reported-were-fixed/ ] Hi, folks. And thank you for reporting issues with WpfPerf Performance Profiling tool . Now it was fixed , so, download and use new and fixed version . Keep reporting, as you can see, you have the power to change! Imaginary by Malcolm Dare
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/silverlight-bidi-controls-library-rc0-and-movement-from-beta-2-to-rc0/ ] Finally, I got free minute to convert Silverlight BiDi controls from Silverlight beta 2 to RC0 (you can download SL rc0 tools for VS2008 here ) and as usual some breaking changes (the full list is here ) Calendar and DatePicker moved from System.Windows.Controls.Extended into System.Windows.Controls – Extended namespace...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/free-microsoft-expression-series-video-training-catalogs/ ] MSDN download center just published video catalogs, where you can find sample chapters of Total Training’s video series for Microsoft Expression studio. Worth to download and see. Here the breakdown by products Expression Blend 2 [ Windows / Mac ] Expression Encoder 2 [ Windows / Mac ] Expression Design 2 [ Windows / Mac ] Expression...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/for-all-those-who-have-problems-with-running-wpf-performance-profiling-tool-%e2%80%93-microsoft-cares/ ] Three days ago, I announced the new release of WPF Performance Profiling Tool . A couple hours after this was announced, I got a number of comments from you, readers. It was about issues with running this tool. I checked the issue and forwarded it to development team from Microsoft...
More Posts
Next page »