George Birbilis' blog
...discussing pretty much everything
.NET String class extensions to replace prefix or suffix
26 Μαρτίου 13 05:47 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Just added the following extension methods to StringExtensions class (of Utils.Extensions namespace) under Utils.Silverlight project at the ClipFlair source code. public static string ReplacePrefix( this string s, string fromPrefix, string toPrefix, StringComparison comparisonType) { return (s.StartsWith(fromPrefix, comparisonType)) ? toPrefix + s.Substring(fromPrefix.Length) : s; } public static string ReplacePrefix( this string s, string[] fromPrefix, string toPrefix, [...]
Fix: remove ‘optimized for Bing and MSN’ from IE titlebar
20 Μαρτίου 13 06:39 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Seems some Microsoft software (probably Bing bar) version is changing Internet Explorer title bar to write “optimized for Bing and MSN”. To remove this: Use Start/Run or Start/Find and type there regedit then press ENTER to launch the Registry Editor. At the tree on the left navigate to HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main At the right handside of [...]
IIS FTP login fails after Windows platform update for Server 2008 R2
27 Φεβρουαρίου 13 05:00 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I had recently enabled FTP access to the ClipFlair Gallery to easy its maintenance during development and after the Windows Server 2008 R2 platform update last night (together with release for Internet Explorer 10), the FTP login stopped working. To fix it, from a command prompt with administrator rights (Start/Find, type Command and right click the [...]
HowTo: format XML output of DataContractSerializer
22 Φεβρουαρίου 13 04:52 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
based on the other samples posted at StackOverflow on how to format XML created by DataContractSerializer, that use XmlWriter, here’s a version (from ClipFlair source code) that works with streams (and Ionic.Zip library in specific). It also shows how the code is when you don’t apply formatting (using conditional compilation). Just comment out the #define [...]
Fix: Silverlight Media Framework Player VolumeElement out of sync
11 Φεβρουαρίου 13 06:54 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I was just adding a storable (persistent) Volume property to the MediaPlayerView class used at ClipFlair’s MediaPlayerWindow (connected to the underlying SMF player’s VolumeLevel property), when I realized that after reloading saved state, the SMF player’s Volume control would show a different value than the value set to it (which I could confirm by flipping [...]
Fix: Visual Studio opens class diagram in XML editor with double click
10 Φεβρουαρίου 13 12:00 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Recently, to save myself sometime after having renamed some interfaces/classes in the ClipFlair project sourcecode, I right-clicked one of the class diagrams (.cd files) in it at Visual Studio’s “Solution Navigator” (this is an enhanced Solution Explorer addon) and using “Open With…” I opened up the diagrams with the XML editor to do a rename-all [...]
2012 in review for @zoomicon blog
31 Δεκεμβρίου 12 09:10 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog. Here’s an excerpt: 4,329 films were submitted to the 2012 Cannes Film Festival. This blog had 48,000 views in 2012. If each view were a film, this blog would power 11 Film Festivals Click here to see the complete report. Tagged: 2012, [...]
Eco-unfriendly Philips shipping empty software CD with just a URL in it
29 Δεκεμβρίου 12 05:02 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I just got an (overpriced) Philips PTA01 USB adapter the other day to make my Philips Smart TV also work wirelessly (apart from via Ethernet cable) and it came with the Philips MediaConnect software on a CD, or at least I thought so till I placed the CD in my computer. I then found out [...]
Gotcha: Image component not loading remote URLs during debugging
18 Δεκεμβρίου 12 01:13 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
At ClipFlair’s Image component I use the following XAML to make it show an image from a URL that its ViewModel holds at a property named “Source”, of type Uri (URI = Uniform or Universal Resource Identifier in W3C parlance, something like a superset of the old classic URLs). <Image Name="imgContent" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" [...]
Fix: Transform Manager ignoring media files added to watch folders
14 Δεκεμβρίου 12 02:22 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I’ve been puzzled for some days now with the IIS Transform Manager installation we have at ClipFlair for automating the conversion of media files (for example using Microsoft Expression Encoder) into IIS Smooth Streams. The watch folder I’ve set up for this task was ignoring some of the media files I was dropping in for no [...]
HowTo: Troubleshoot .MSI installations
09 Δεκεμβρίου 12 11:14 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Copying from Microsoft Web Deploy readme: If you encounter any problems during installation, you can run appropriate command listed below for your version of Windows to create a log file that will contain information about the installation process: msiexec /L install.log /I <path_to_msi> You can analyze this log file after a failed installation to help [...]
Can’t step-through Silverlight file dialogs with Visual Studio debugger
02 Δεκεμβρίου 12 08:58 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
While stepping through “ShowDialog()” method of OpenFileDialog with Visual Studio 2010 debugger, at the Silverlight code pictured below (for loading a ClipFlair window’s stored options), I got a “Dialogs must be user-initiated” exception. Same behaviour will be shown with SaveFileDialog too, every time you try to step through the “ShowDialog()” method. This is because of [...]
PivotViewer for a rich search experience
28 Νοεμβρίου 12 06:55 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
For ClipFlair, I’m looking into implementing advanced search using Silverlight PivotViewer A really nice example of PivotViewer search is at: http://www.appletoncompassion.org/VirtualExhibitViewer This may take long time to load, since its loading 10000 children art DeepZoom image tiles You can use the mousewheel to zoom in there or the zoom slider at top-right (can also [...]
HowTo: Make Project Linker extension’s VSIX install at Visual Studio 2012
27 Νοεμβρίου 12 10:24 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Project Linker is a Visual Studio Extension that “helps to automatically create and maintain links from a source project to a target project to share code that is common to Silverlight and WPF”. In ClipFlair, where I have shared code between a Silverlight and a WPF project (I guess same would be for XNA projects [...]
HowTo: Bind cell to row data in DataGrid DataTemplate for MVVM control
25 Νοεμβρίου 12 11:40 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
When using MVVM design style for a Silverlight or WPF control, it is common to use the control’s DataContext to keep the associated ViewModel instance, so that in the XAML file for the control one can use simple binding statements from the UI to the view model (and back if TwoWay binding mode is specified) [...]
HowTo: Check your web browser and plugins for needed updates
25 Νοεμβρίου 12 10:49 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Qualys BrowserCheck will perform a security analysis of your browser and its plugins to identify any security issues. You can install it at https://browsercheck.qualys.com/ Another useful quick online tool (needs no installation) for checking that you do have the latest in web browser technology is Browse Happy, at http://www.BrowseHappy.com Tagged: Browser, HowTo, HTML5, Plugins, [...]
HowTo: Remove Skype from Windows taskbar, keep as Taskbar tray icon
25 Νοεμβρίου 12 10:42 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
An annoying feature of Skype of recent Skype versions is that by default it shows an icon on the Windows taskbar apart from the one at the taskbar tray while you’re signed in. This also means it shows in the ALT+TAB key sequence when switching between open windows, which you might not always want to [...]
HowTo: Use DotNetZip (Ionic.Zip) library in Silverlight
25 Νοεμβρίου 12 10:10 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
If you want to use the latest DotNetZip library (version 1.9.1.8) with Silverlight, you should get a patched version from http://dotnetzip.codeplex.com/workitem/14049, instead of the official download for Silverlight. It seems the Silverlight build in 1.9.1.8 official download doesn’t work correctly, since it tries to get IBM437 Encoding (as the original ZIP spec required) from Silverlight, [...]
HowTo: Write directly into a ZIP stream using DotNetZip
23 Νοεμβρίου 12 12:51 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
At ClipFlair’s Playground Silverlight app I’m using DotNetZip library (Ionic.Zip namespace) for writing saved component state to a .ZIP file. In fact the Activity container there can create one .ZIP for each state that contains one .ZIP per-component it hosts (it can even host multiple instances of its own Activity componnt type to have nested [...]
HowTo: Clear contents of Silverlight’s RichTextBox control
23 Νοεμβρίου 12 12:12 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Was just debugging an issue with loading of saved state at ClipFlair’s Text component, when I realized that Silverlight’s (and WPF’s) RichTextBox control doesn’t accept an empty string at its Xaml proprerty to clear its contents as one would expect. Instead clearing the contents of the RichTextBox requires a call to Blocks.Clear(). In ClipFlair’s case, [...]
HowTo: Tell AddThis to not append tracking suffix on addressbar
20 Νοεμβρίου 12 12:24 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
ClipFlair’s project description website is based on WordPress (a quite extensible blogging platform based on PHP). The other day we had an issue with the AddThis Plugin for WordPress, which was adding tracking suffices (in the form #.UAxxxxx) to the end of our URLs on the browser address bar. Moreover this wasn’t occuring in Internet [...]
Opensource movies from Blender project
19 Νοεμβρίου 12 07:55 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Opensource movies made with Blender (http://www.blender.org) http://orange.blender.org/download http://www.bigbuckbunny.org/index.php/download/ http://www.sintel.org/download http://mango.blender.org/download/ At the download page for some of them you can also find subtitle files. Also at list of featured Blender movies (http://www.blender.org/features-gallery/movies/) I see the movie Project London which says there it’s an opensource project, but can’t find the movie download (maybe not available yet, [...]
HowTo: Multi-row captions and wrapping at Silverlight Media Framework
19 Νοεμβρίου 12 06:27 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
One of the main goals of the ClipFlair project is to explore the use of Video Captioning (together with Revoicing) for Foreign Language Learning (FLL). There both are important enhancements compared to the simpler two-line subtitling that was put in use in its ancestor project LeViS. Captioning means that multi-row text is needed while text [...]
HowTo: Group offline computers in separate group at TeamViewer
28 Οκτωβρίου 12 10:50 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
TeamViewer is a very handy remote control / remote support and screen sharing application with a free version for personal use only. I’ve been using it for some time now since friends and family tend to contact me for support issues and I’m very pleased with its simple installation and use (a user can even [...]
HowTo: Check MSDN Subscriber downloads for tampering via SHA-1 key
24 Οκτωβρίου 12 09:35 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Supposing you have an MSDN Subscription, you could download say SQL Server 2012 Standard Edition (x86 and x64) – DVD (English) from the following URL: http://msdn.microsoft.com/en-us/subscriptions/downloads/hh442898.aspx#FileId=48810 Suppose you do so and you keep that .ISO file (a CD/DVD image that you can burn to a disk using Windows 7 or Active@ ISO Burner tool, or [...]
Περισσότερες Δημοσιεύσεις
« Προηγούμενη
-
Επόμενη »
Search
Go
Το Ιστολόγιο
Αρχική Σελίδα
Επικοινωνία
Ετικέτες
.NET
ASP.net
Authoring
Automation
Batch
Binding
Browser
Browser
Bugs
C#
Class
ClipFlair
Compatibility
Compression
Computers
Computers and Internet
Controls
Corruption
CSS
Data
Database
Downloads
Education
Errors
Events
Extensions
Fail
Filesystem
Filters
Fix
Free
Games
Google
Gotcha
HowTo
HTML
HTML5
HTTP
IDE
IE
IE9
IIS
Installation
Installers
Java
Javascript
Kinect
Law
Layout
Links
Localization
Maps
Media
MediaElement
Methods
Microsoft
MVC
None
Plugins
Posts
Programming
Python
RegEx
Replace
Resources
Search
Security
Selection
Silverlight
Smart Classroom
SMF
Source
String
Suggestion
Suggestions
Syntax
Text
trafilm
Transforms
Troubleshooting
UI
Updates
URL
Usability
Video
Visual Studio
Visualization
VisualStudio
Web
Windows
Windows 10
Windows 7
Word
WordPress
Workarround
WPF
XAML
ZIP
ZUI
Αταξινόμητα
Πλοήγηση
Αρχική σελίδα
Ιστολόγια
Συζητήσεις
Εκθέσεις Φωτογραφιών
Αρχειοθήκες
Ιστορικό Δημοσιεύσεων
Ιούνιος 2021 (1)
Απρίλιος 2021 (1)
Φεβρουάριος 2021 (2)
Ιανουάριος 2021 (2)
Αύγουστος 2020 (3)
Ιούλιος 2020 (2)
Απρίλιος 2020 (2)
Μάρτιος 2020 (3)
Φεβρουάριος 2020 (2)
Δεκέμβριος 2019 (1)
Νοέμβριος 2019 (1)
Οκτώβριος 2019 (2)
Αύγουστος 2019 (1)
Ιούνιος 2019 (2)
Απρίλιος 2019 (3)
Ιανουάριος 2019 (1)
Νοέμβριος 2018 (4)
Οκτώβριος 2018 (4)
Σεπτέμβριος 2018 (2)
Αύγουστος 2018 (2)
Ιούνιος 2018 (3)
Μάρτιος 2018 (2)
Φεβρουάριος 2018 (1)
Νοέμβριος 2017 (4)
Ιούνιος 2017 (1)
Απρίλιος 2017 (1)
Μάρτιος 2017 (1)
Μάιος 2016 (5)
Ιανουάριος 2016 (1)
Δεκέμβριος 2015 (7)
Νοέμβριος 2015 (12)
Οκτώβριος 2015 (2)
Σεπτέμβριος 2015 (3)
Αύγουστος 2015 (9)
Ιούλιος 2015 (1)
Ιούνιος 2015 (3)
Μάιος 2015 (1)
Απρίλιος 2015 (2)
Μάρτιος 2015 (2)
Φεβρουάριος 2015 (1)
Ιανουάριος 2015 (2)
Δεκέμβριος 2014 (3)
Νοέμβριος 2014 (3)
Οκτώβριος 2014 (1)
Σεπτέμβριος 2014 (2)
Αύγουστος 2014 (6)
Ιούλιος 2014 (1)
Μάιος 2014 (1)
Απρίλιος 2014 (2)
Μάρτιος 2014 (3)
Φεβρουάριος 2014 (2)
Δεκέμβριος 2013 (2)
Νοέμβριος 2013 (2)
Σεπτέμβριος 2013 (2)
Αύγουστος 2013 (3)
Ιούλιος 2013 (5)
Ιούνιος 2013 (2)
Μάιος 2013 (3)
Απρίλιος 2013 (2)
Μάρτιος 2013 (2)
Φεβρουάριος 2013 (4)
Δεκέμβριος 2012 (6)
Νοέμβριος 2012 (11)
Οκτώβριος 2012 (5)
Σεπτέμβριος 2012 (2)
Αύγουστος 2012 (9)
Ιούλιος 2012 (11)
Ιούνιος 2012 (8)
Μάιος 2012 (2)
Απρίλιος 2012 (2)
Φεβρουάριος 2012 (5)
Ιανουάριος 2012 (5)
Δεκέμβριος 2011 (8)
Νοέμβριος 2011 (3)
Οκτώβριος 2011 (4)
Σεπτέμβριος 2011 (8)
Ιούλιος 2011 (3)
Ιούνιος 2011 (2)
Μάιος 2011 (2)
Μάρτιος 2011 (4)
Φεβρουάριος 2011 (8)
Ιανουάριος 2011 (2)
Δεκέμβριος 2010 (1)
Νοέμβριος 2010 (3)
Οκτώβριος 2010 (12)
Σεπτέμβριος 2010 (2)
Αύγουστος 2010 (2)
Ιούλιος 2010 (9)
Ιούνιος 2010 (3)
Μάιος 2010 (11)
Απρίλιος 2010 (15)
Μάρτιος 2010 (13)
Φεβρουάριος 2010 (15)
Ιανουάριος 2010 (4)
Δεκέμβριος 2009 (3)
Νοέμβριος 2009 (15)
Οκτώβριος 2009 (26)
Σεπτέμβριος 2009 (13)
Αύγουστος 2009 (8)
Ιούλιος 2009 (8)
Ιούνιος 2009 (4)
Μάιος 2009 (4)
Απρίλιος 2009 (7)
Μάρτιος 2009 (8)
Φεβρουάριος 2009 (8)
Ιανουάριος 2009 (3)
Δεκέμβριος 2008 (31)
Νοέμβριος 2008 (24)
Οκτώβριος 2008 (1)
Μάιος 2008 (2)
Αύγουστος 2007 (1)
Νοέμβριος 2006 (1)
Σεπτέμβριος 2006 (1)
Συνδρομές
RSS 2.0
Atom 0.3