George Birbilis' blog
...discussing pretty much everything
Παρουσίαση με Ετικέτες
Όλες οι Ετικέτε...
»
ClipFlair
»
Posts
(RSS)
.NET
AmnesiaOfWho
Architecture
Array
ASP.net
Audio
Binding
Bugs
Captioning
Characters
Class
Collection
Compatibility
Compression
Configuration
Controls
Conversion
CSS
Data
Debug
DeepZoom
Deploying
DotNetZip
Downloads
Encoding
Errors
Events
Extensions
Fail
Filename
Filesystem
Filters
Firefox
Fix
Folders
Gallery
Gotcha
GraphX
HowTo
HTML
HTTP
IE11
IIS
Image
Installers
Invalid
Javascript
Layout
Links
Media
MediaElement
MMPPF
Mouse
Multimedia
MVVM
Pivot
Player
Plugins
Porting
Prefix
Programming
Reference
RegEx
Replace
RichTextBox
Screenshot
Security
Selection
Sharing
Silverlight
SMF
Smooth Streaming
Source
String
Styles
Suffix
Suggestions
Templates
Text
Tracking
Transforms
Troubleshooting
UI
URL
Video
Visualization
VisualStudio
Web
WebCapture
Windows
WinForms
WordPress
Workarround
WPF
Xamarin
XAML
XPath
XSL
ZIP
ZUI
HowTo: Drop files onto Silverlight controls
27 Μαρτίου 14 05:14 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I was recently adding drop-files support to ClipFlair Studio, so I had to do some research on the related API that is available to Silverlight apps. Silverlight supports a limited set of Drag-and-Drop interaction with the operating system (supposedly for security reasons, but most probably because of the classic cross-platform implementation pains). For example it […]
Gotcha: OnLostMouseCapture always called by CaptureMouse at WPF
14 Μαρτίου 14 12:08 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
It seems that CaptureMouse is behaving differently in WPF and Silverlight, in that in the former one it immediately calls OnLostMouseCapture at a Visual, whereas in Silverlight it doesn’t get called if the element didn’t have the mouse capture already (btw, in Silverlight that method is at a UIElement – there is no Visual ancestor […]
Fix: XAML – The member Content is not recognized or is not accessible
09 Φεβρουαρίου 14 02:27 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I was looking into some third-party code, upgrading it from Silverlight 4.x and was getting error ‘The member "Content" is not recognized or is not accessible’ at the following code part: Looking it up, found that you don’t need to bind the Content property of a ContentPresenter at all if you put it inside the […]
Nice DeepZoom image samples via ClipFlair Studio’s Image component
04 Φεβρουαρίου 14 08:12 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Here are some DeepZoom image samples to enjoy via ClipFlair‘s Image component, in our ClipFlair Studio app (Silverlight-based): http://studio.clipflair.net/?image=http://static.seadragon.com/content/misc/blue-marble.dzi http://studio.clipflair.net/?image=http://static.seadragon.com/content/misc/earths-city-lights.dzi http://studio.clipflair.net/?image=http://static.seadragon.com/content/misc/carina-nebula.dzi http://studio.clipflair.net/?image=http://static.seadragon.com/content/misc/orion-nebula.dzi http://studio.clipflair.net/?image=http://static.seadragon.com/content/misc/contoso-fixster.dzi http://studio.clipflair.net/?image=http://static.seadragon.com/content/misc/milwaukee.dzi (hand-drawn pano, 1898) http://studio.clipflair.net/?image=http://static.seadragon.com/content/misc/last-fm.dzi http://studio.clipflair.net/?image=http://static.seadragon.com/content/misc/yosemite-panorama.dzi (try zooming onto the waterfall) http://studio.clipflair.net/?image=http://static.seadragon.com/content/misc/angkor-wat.dzi Tagged: ClipFlair, DeepZoom, Image, Photography, Visualization, ZUI
HowTo: find max ZIndex from a collection of UIElements with LINQ
06 Δεκεμβρίου 13 03:18 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
My contribution to http://stackoverflow.com/questions/1101841/linq-how-to-perform-max-on-a-property-of-all-objects-in-a-collection-and-ret Based on another answer there, here is what I’ve just added to my enhanced version of SilverFlow library’s FloatingWindowHost (copying from FloatingWindowHost.cs at http://clipflair.codeplex.com source code) /// <summary> /// Sets the specified UIElement topmost. /// </summary> /// <param name="element">UIElement to set topmost.</param> /// <exception cref="ArgumentNullException">UIElement is null</exception> private void SetTopmost(UIElement element) […]
Gotcha: .NET Point and PointConverter inconsistency in string format used
22 Νοεμβρίου 13 01:47 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I have submitted the following issue to Microsoft Connect (product feedback center): http://connect.microsoft.com/VisualStudio/feedback/details/809084/point-class-issue-with-two-way-databinding Point class issue with two-way databinding In Silverlight, when using databinding code like the following: <StackPanel Orientation="Vertical" Name="propPosition"> <sdk:Label Style="{StaticResource PropertyLabelStyle}" Content="Position:" Target="{Binding ElementName=edPosition}" /> <TextBox Name="edPosition" Text="{Binding Position, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=true}" /> </StackPanel> and binding (via DataContext) to […]
HowTo: use a Timer component for delayed execution in WinForms
25 Αυγούστου 13 08:28 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
This is my contribution to: http://stackoverflow.com/questions/303116/system-windows-threading-dispatcher-and-winforms Sometimes a Timer component is useful and easy to setup in WinForms, just set its interval and then enable it, then make sure the first thing you do in its Tick event handler is to disable itself. I think Timer runs the code in its own thread, so you […]
HowTo: Display version information on WinForm title
20 Αυγούστου 13 11:39 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
This is my contribution to http://stackoverflow.com/questions/7178725/version-number-in-winform-form-text I’m using the following at the WinForm of the WebCapture tool I’m making for ClipFlair: public MainForm() { InitializeComponent(); Version version = Assembly.GetExecutingAssembly().GetName().Version; Text = Text + " " + version.Major + "." + version.Minor + " (build " + version.Build + ")"; //change form title } Not showing […]
HowTo: Save screenshot of a control hosted on a WinForm
20 Αυγούστου 13 06:38 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I’m trying to automate grabbing of activity screenshots from ClipFlair Activity Gallery, but most command-line screen capturing tools, like SiteShoter and IECapt fail to get an image from Silverlight content (they get just a background color). Some other opensource tool that I could tweek was ThumbPage, but that didn’t support command-line and needed to disable […]
Gotcha: use server-side comment, not HTML comment in ASP.net
29 Ιουλίου 13 01:15 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I try to remember to use <%– and –%> instead of <!– and –> for comments in server-side web pages, to avoid having implementation details (for security reasons that is) in the output HTML and to keep the download size smaller / have the pages load faster. What came to me though the other day […]
HowTo: Bind ASP.net control to list of files or folders
15 Ιουλίου 13 03:33 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
At from ClipFlair Gallery metadata input pages for Activities and Clips I had to bind an ASP.net control to a list of files and folders respectively and although I found a Folder Contents DataSource control, it didn’t cover my needs (like filtering of a folder contents). I just contributed my solution using .NET Anonymous Types and […]
HowTo: Remove invalid filename characters in .NET
12 Ιουλίου 13 11:28 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
In ClipFlair Studio I use DotNetZip (Ionic.Zip) library for storing components (like the activity and its nested child components) to ZIP archives (.clipflair or .clipflair.zip files). Inside the ZIP archive its child components have their own .clipflair.zip file and so on (so that you could even nest activities at any depth) which construct their filename […]
HowTo: Perform ASP.net action after page child controls are databound
11 Ιουλίου 13 11:57 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
While creating metadata entry/update pages for ClipFlair’s Activity and Clip Galleries I had the problem of figuring out how to do some initialization (from XML data, loaded from a filename based on the 1st item of a DataBound control), after all child controls of the ASP.net Page have been databound (from XmlDataSource). Seems others have […]
Gotcha: var x = x() in Javascript gives “Object Expected” error
14 Ιουνίου 13 12:27 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
At ClipFlair Studio (a Silverlight app), I had some time ago implemented a confirmation warning upon user trying to close the webpage (when it was running inside the web browser), which then had stopped functioning. It seems at some refactoring I had added code like the following: var activityView = activityView(); and it was failing […]
Troubleshooting: Silverlight installation on MacOS-X
23 Μαΐου 13 07:45 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
One of our ClipFlair Studio users reported on having some issue trying to install Silverlight on MacOS-X, so I gathered some related info below: First of all, at the Silverlight installation webpage, at the System Requirements tab, you can find the following requirements: Macintosh (Intel-based) Intel Core Duo 1.83-gigahertz (GHz) or higher processor […]
.NET String extension methods to check for array of prefixes or suffixes
05 Απριλίου 13 10:51 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Seems StartsWith and EndsWith methods of String class in .NET are missing a version that accepts multiple (as an array) prefixes or suffixes respectively when testing the string. To achieve this I just added the following extension methods to StringExtensions class (of Utils.Extensions namespace) under Utils.Silverlight project at the ClipFlair source code. public static bool [...]
.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, [...]
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 [...]
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 [...]
Περισσότερες Δημοσιεύσεις
« Προηγούμενη
-
Επόμενη »
Search
Go
Το Ιστολόγιο
Αρχική Σελίδα
Επικοινωνία
Ετικέτες
.NET
ASP.net
Audio
Authoring
Automation
Binding
Browser
Bugs
C#
Class
ClipFlair
Compatibility
Compression
Computers
Computers and Internet
Controls
Corruption
CSS
Data
Database
Downloads
Ecology
Education
Errors
Events
Extensions
Fail
Filesystem
Filters
Fix
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
YouTube
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