George Birbilis' blog
...discussing pretty much everything
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 […]
HowTo: Take screenshot on Windows desktop, Windows 8 and MacOS-X
05 Μαρτίου 14 07:23 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
copying from an e-mail I received from Skype support: Taking a screenshot on Windows desktop 1. On your keyboard, press the Print Screen (Prt Scr) key to take a screenshot of your entire desktop. To take a screenshot of an active window, press the Alt+Print Screen (Prt Scr) key combination. 2. Save a copy of […]
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
2013 in review
31 Δεκεμβρίου 13 09:30 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
The WordPress.com stats helper monkeys prepared a 2013 annual report for this blog. Here’s an excerpt: The concert hall at the Sydney Opera House holds 2,700 people. This blog was viewed about 48,000 times in 2013. If it were a concert at Sydney Opera House, it would take about 18 sold-out performances for that many […]
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) […]
E-Slate / Αβάκιο
22 Νοεμβρίου 13 08:48 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Το E-Slate / Αβάκιο είναι ένα διερευνητικό μαθησιακό περιβάλλον που έχει αναπτυχθεί από το Ερευνητικό Ακαδημαϊκό Ινστιτούτο Τεχνολογίας Υπολογιστών (EA.ITY). Παρέχει ένα περιβάλλον εργασίας για τη δημιουργία ισχυρά δυναμικού λογισμικού με πλούσια λειτουργικότητα από μη προγραμματιστές. Ιδέες εκπαιδευτικών δραστηριοτήτων μπορούν να μετατραπούν σε λογισμικό με ελάχιστη συγγραφική προσπάθεια με τη μορφή διαδραστικών Μικρόκοσμων που περιέχουν […]
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 […]
Gotcha: must set document.location.hash only at end of page in Mozilla
07 Σεπτεμβρίου 13 11:35 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I just came across a different behaviour between IE and Mozilla Firefox: scripts at the former seem to execute after the page has fully rendered, while the later they seem to execute when they’re met by the page parser or something like that. The HTML script tag has a defer attribute for running scripts after […]
HowTo: Code folding in NetBeans IDE source code editor
07 Σεπτεμβρίου 13 03:45 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
As explained near the end of https://ui.netbeans.org/docs/ui/code_folding/cf_uispec.html, the NetBeans IDE source code editor supports custom code folding tags for any language, like below (here defining the code folding tag in a Java comment, obviously need to use specific comment syntax for the respective language). // <editor-fold desc="isUserStudent"> —————————————- public static boolean isUserStudent(PortletRequest request) throws […]
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 […]
Gotcha: Java Calendar class returns 0-based month, but 1-based days
18 Ιουλίου 13 02:02 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Just noticed that the Java Calendar class breaks the least-user-expected rule (that is don’t make something behave in the least expected way) regarding the indexing of the month value it returns, compared to all other indexed variables it can return (like day of year, day of month, day of week etc.). The former is using […]
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 […]
Fix: Java ServletException: IncompatibleClassChangeError
25 Ιουνίου 13 06:49 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
was getting an error like the following at your JavaEE Servlet (Portlets are also Servlets under the hood btw): javax.servlet.ServletException: javax.portlet.PortletException: java.lang.Throwable: java.lang.IncompatibleClassChangeError: : incorrect call to interface method at first I thought the issue was with: <bean:message class=”someCSSstyleClass” key="someMsgKey"/> and used instead: <span class="someCSSstyleClass"><bean:message key="someMsgKey"/></span> in case the “class” […]
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 […]
fix: Microsoft mouse right-click failure
28 Μαΐου 13 03:42 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
The other day my Microsoft Wireless Laser Mouse 6000 (was either a gift from Microsoft Hellas or had ordered it myself from Microsoft Company Store with the credit Microsoft used to give pro-crisis to MVPs) started behaving erratically, failing most of the times to right-click and sometimes doing left clicks instead with some delay, or […]
fix: can’t send SMTP e-mail via OTEnet.gr when using other network
28 Μαΐου 13 03:26 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
If you have an e-mail account @otenet.gr you may find out that when connecting your laptop to another network (say you’re travelling) you can’t send SMTP e-mails. To fix this make sure you set your STMP server settings to use SSL encryption and provide the port number 465 for connection. If you use Outlook (Express) […]
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 […]
Vita: ενεργειακά βραχιολάκια και χάντρες για τους ιθαγενείς
14 Απριλίου 13 10:20 μμ
|
Μπιρμπίλης Γεώργιος
|
1 σχόλια
Πρόσφατα η Γενική Γραμματεία Καταναλωτή (http://www.efpolis.gr) είχε καταδικάσει τις εταιρείες με τα ενεργειακά (τάχα μου) βραχιολάκια όπως διαβάζει κανείς στο παρακάτω: http://www.ethnos.gr/article.asp?catid=22768&subid=2&pubid=63733163 Πρόστιμα συνολικού ύψους 350.000 ευρώ σε πέντε εταιρείες για προώθηση και διάθεση προς πώληση ενεργειακών βραχιολιών με αναληθείς ισχυρισμούς, επέβαλε η Γενική Γραμματεία Καταναλωτή. Πρόκειται για βραχιόλια με διάφορες εμπορικές επωνυμίες (Power Balance, [...]
.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 [...]
Περισσότερες Δημοσιεύσεις
« Προηγούμενη
-
Επόμενη »
Search
Go
Το Ιστολόγιο
Αρχική Σελίδα
Επικοινωνία
Ετικέτες
.NET
ASP.net
Audio
Authoring
Automation
Batch
Binding
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