George Birbilis' blog
...discussing pretty much everything
Gotcha: MarkerReached event of MediaElement returns new Markers
20 Μαρτίου 15 08:50 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I just checked in the implementation code for a new feature for ClipFlair Studio’s Captions/Revoicing component: When playing back recorded (or loaded from a WAV or MP3 file) audio for a caption/revoicing entry, the playback is now limited to the duration of the respective caption, (End-Start) time that is (btw that component has a duration […]
Suggestion: Case adaptive text replacement in Visual Studio editor
16 Μαρτίου 15 05:28 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Have again suggested this long before to Visual Studio team, but since Visual Studio 2013 has a “Send a Frown” feature, I’ve sent it again with some suggestions on how it could be implemented. I need some clever replace in cases like that one shown in the screenshot below, where I have the implementation of […]
Fix: TortoiseHg not commiting files
04 Φεβρουαρίου 15 06:00 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
It seems that sometimes TortoiseHg Mercurial (Hg) client on Windows fails to remove a 0-byte-sized file named “wlock” (a write lock to avoid simultaneous write to a local repository) in the “.hg” subfolder that holds a local repository. This results in the Commit dialog never commiting changed/removed/added files and you have to press Close there […]
Gotcha: Worksheets property is read-only, Sheets is not – Excel Workbook
26 Ιανουαρίου 15 07:27 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
My contribution to: http://stackoverflow.com/questions/14109102/how-do-i-add-a-worksheet-after-all-existing-excel-worksheets Seems Worksheets property is read-only Returns a Sheets collection that represents all the worksheets in the specified workbook. Read-only Sheets object. https://msdn.microsoft.com/en-us/library/office/ff835542(v=office.15).aspx whereas Sheets is the real thing where you can also add Sheets dynamically A collection of all the sheets in the specified or active workbook. https://msdn.microsoft.com/en-us/library/office/ff193217(v=office.15).aspx Tagged: API, […]
Suggestion: Making Intellisense in Visual Studio more Intelligent
04 Ιανουαρίου 15 11:42 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Just sent this to the Visual Studio team via the “send a frown” button: pressing CTRL+SPACE after "buttonDropDown." (see screenshot) seems to give me suggestions of members of buttonDropDown that aren’t a fit to the Rectangle object that I’m trying to assign to I suppose you do so since I could eventually drill down into […]
2014 in review
30 Δεκεμβρίου 14 04:40 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
The WordPress.com stats helper monkeys prepared a 2014 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 52,000 times in 2014. If it were a concert at Sydney Opera House, it would take about 19 sold-out performances for that many […]
HowTo: Install .NET 3.5 component in Windows 8.1
12 Δεκεμβρίου 14 02:55 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I just installed .NET 3.5 on a Windows Enterprise 8.1 system that was failing to bring the needed files from the network To do this I opened a command prompt with elevated rights and ran a single command, having the Windows DVD at drive F: Dism /online /enable-feature /featurename:NetFx3 /All /Source:F:\sources\sxs /LimitAccess as explained at […]
Gotcha: MediaElement Source=null releases stream, SetSource(null) fails
12 Δεκεμβρίου 14 05:32 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
This is my contribution to: http://stackoverflow.com/questions/19294258/forcing-mediaelement-to-release-stream-after-playback/27436323 If you use MediaElement, make sure you don’t get bitten by this one: http://msdn.microsoft.com/en-us/library/cc626563(v=vs.95).aspx ArgumentNullException – The mediaStreamSource is null. … After calling this method, MediaElement.Source returns null. If this is called and MediaElement.Source is set, the last operation wins. If a MediaElement is removed from the UI tree […]
Fix: Allow rewind of Mp3MediaStreamSource back to start
18 Νοεμβρίου 14 06:46 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
My comment at: https://github.com/loarabia/ManagedMediaHelpers/issues/16 While trying to use Mp3MediaSource at ClipFlair Studio’s AudioRecorder control (http://clipflair.codeplex.com), I noticed that when I was doing Stop() at MediaElement and then Play() it kept on playing from where it was before at Mp3MediaStreamSource So I did the following fix: 1) added these fields /// <summary> /// The first […]
Gotcha: MediaElement must be in visual tree for MediaOpened, MediaEnded to be fired
18 Νοεμβρίου 14 04:18 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
At ClipFlair’s AudioRecorderControl (used in Captions/Revoicing component of ClipFlair Studio), I use the following code to initialize a MediaElement to use for playback. After a long time a found out that if the MediaElement is not in the visual tree (for example defined in XAML, or defined in code and then added to the visual […]
Gotcha: MediaElement AutoPlay faster than doing Play at MediaOpened
18 Νοεμβρίου 14 02:27 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Just added the following comment to: https://github.com/loarabia/ManagedMediaHelpers/issues/15 Managed Media Helpers contains the very useful Mp3MediaSource class for .NET / Silverlight / Windows Phone. Added compile-time SWITCHES and respective code to Silverlight demo code for PRELOAD (into memory stream) and AUTOPLAY (this was a bit tricky, need to call Play at MediaOpened event, not right after […]
HowTo: Use WordPress Permalinks on IIS
29 Οκτωβρίου 14 10:28 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
at http://zachis.it/blog/7-dangers-of-using-windows-server-on-a-wordpress-installation/ the thing that guy says about Permalinks isn’t accurate at all (not that the other things that he says are any accurate that is). WordPress Codex have documentation on how to configure URL rewriting in web.config that is necessery for Permalinks to work in IIS. e.g. at http://ClipFlair.net, if you press the "about" […]
Fix: Hypelinks not clickable in RichTextBox under Silverlight
07 Σεπτεμβρίου 14 04:18 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Just fixed a nasty bug in ClipFlair Studio (http://studio.clipflair.net), where one couldn’t click hyperlinks in the Text component when set at ReadOnly mode. In that mode hyperlinks should open up new web pages (in Edit mode you can edit/remove them only of course), but instead when clicked they would show something like a focus rectangle […]
HowTo: use PivotViewer in WPF
04 Σεπτεμβρίου 14 02:12 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
PivotViewer is an impressive Silverlight control (see my usage at http://gallery.clipflair.net), however Microsoft never released it for WPF. One could work arround this by embedding Silverlight in their WPF app using the WebBrowser control and talking to it via the JavaScript Bridge of Silverlight, however they could also embed one of those HTML5 PivotViewer-compatible controls […]
HowTo: Tell IE to use compatibility mode without editing your web pages
22 Αυγούστου 14 07:07 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
at http://www.mono-software.com/Mono/Pages/Discussion/dtopic/_YyUBIlx5kiqHaNqAQeltg/br-brake-bug-in-IE11-and-clipflair-text-editor/ one reads: We are using Telerik’s rich text editor (RadEditor), and it seems that RadEditor has specific behaviour regarding insertion of break tags. To circumvent this issue please try to add host header in ISS 7 (website level): Name = "X-UA-Compatible" Value = "IE=EmulateIE10" Or, you can insert Html Meta tag on a […]
Gotcha: JS replace on document.location fails, use document location.href
20 Αυγούστου 14 03:17 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
This is my contribution to: http://stackoverflow.com/questions/2652816/what-is-the-difference-between-document-location-href-and-document-location Here is an example of the practical significance of the difference and how it can bite you if you don’t realize it (document.location being an object and document.location.href being a string): We use MonoX Social CMS (http://mono-software.com) free version at http://social.ClipFlair.net and we wanted to add the language bar […]
HowTo: Quickly test a webpage in different Internet Explorer versions
19 Αυγούστου 14 02:27 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
I just noticed that on Internet Explorer 11 developer tools console (appears when you press F12 key), there is a drop-down where you can select the rendering engine used. Edge means the very latest (IE11 one in this case) and you can select back to version 5. Interestingly, there is no version 6 in the […]
Gotcha: don’t use ‘{$…}’ syntax or ‘$…’ syntax in XSL-XPath’s concat
15 Αυγούστου 14 11:57 μμ
|
Μπιρμπίλης Γεώργιος
|
1 σχόλια
<xsl:template match="cxml:Item" mode="col"> <xsl:variable name="FILENAME" select="…someXPathQuery…"/> <xsl:variable name="IMAGE" select="concat(‘http://gallery.clipflair.net/activity/image/’, $FILENAME, ‘.png’)"/> … I got confused a bit today after a long day of fiddling with XSL and ClipFlair Activity Gallery’s CXML (Collection XML) data (as used in PivotViewer control), and didn’t understand why I couldn’t use an XSL variable’s (FILENAME in the sample […]
HowTo: Group output items using XSL transformation
15 Αυγούστου 14 09:30 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
While trying to generate a single HTML page that will list all ClipFlair activities using XSL Transformations (XSLT), I had the need to group items in 2-column rows. This is my contribution to other solutions suggested at (if you like it you can vote it up there): http://stackoverflow.com/questions/9908488/xslt-for-each-wrapping-every-nth-item-in-a-div/ Faced by the same problem, that is […]
Gotcha: no prefix increment/decrement VB.net operators, but get parsed
09 Αυγούστου 14 03:39 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
In C/C++ and C# one has useful prefix (++index) and postfix (index++) increment operators and corresponding decrement ones. Although they have a single operant, they’re not working like functions as single + or – prefix would do, but instead they cause side-effects – they edit the variable passed to them. The prefix increment operator first […]
HowTo: Call C# method from class that has same name as namespace
06 Ιουλίου 14 03:25 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
In the C# compiler error case shown above, CaptionsGrid class exists in namespace ClipFlair.CaptionsGrid so in the code we have “using ClipFlair.CaptionsGrid;” at the top of the file where we want to call the “SaveAudio” static method of CaptionsGrid class. But then we get the error “The type or namespace name ‘…’ does not exist […]
Fix: How to remove Trovigo.com, SearchProtect, restore Internet Options
14 Μαΐου 14 09:35 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
Trovigo.com is an unwanted search engine hijacker that renders Internet Options of Windows / Internet Explorer inaccessible. To restore them on an older Windows XP installation, one way that I’ve found to work is to update Internet Explorer to a newer version, aka IE 8 (say via the embedded Windows Update facility or Microsoft Update […]
Fix: Re-enable ClickOnce deployment at Mozilla Firefox
20 Απριλίου 14 08:52 μμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
When you try to run a ClickOnce Windows application from Mozilla Firefox, on some machines you may see it try to save a .application (ClickOnce deployment manifest) instead of running the ClickOnce application installer/updater/launcher. To fix that issue you can open Firefox add-ons dialog and search among available to download/install add-ons for "net framework assistant". […]
Gotcha: System.IO.GetInvalidPathChars result not guaranteed
04 Απριλίου 14 12:54 πμ
|
Μπιρμπίλης Γεώργιος
|
0 σχόλια
at System.IO.Path.GetInvalidPathChars one reads: The array returned from this method is not guaranteed to contain the complete set of characters that are invalid in file and directory names note: can also call this method from non-trusted Silverlight app – not as Intellisense tooltip wrongly says in Visual Studio 2013 with Silverlight 5.1 I just found […]
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 […]
Περισσότερες Δημοσιεύσεις
« Προηγούμενη
-
Επόμενη »
Search
Go
Το Ιστολόγιο
Αρχική Σελίδα
Επικοινωνία
Ετικέτες
.NET
ASP.net
Audio
Automation
Batch
Binding
Browser
Bugs
C#
Class
ClipFlair
Compatibility
Compression
Compression
Computers
Computers and Internet
Configuration
Controls
CSS
Data
Database
Downloads
Ecology
Education
Errors
Events
Extensions
Fail
Filesystem
Filters
Firefox
Fix
Free
Games
Google
Gotcha
Hash
HowTo
HTML
IE
IE9
IIS
Installation
Installers
Javascript
Kinect
Law
Layout
Links
Maps
Media
MediaElement
Methods
Microsoft
MMPPF
Mouse
None
Operators
Plugins
Posts
Programming
Prometheus
Python
RegEx
Replace
Security
Sharing
Silverlight
Smart Classroom
SMF
Source
String
Suggestion
Suggestions
Syntax
Text
trafilm
Transforms
Troubleshooting
Twitter
UI
Updates
URL
Usability
Video
Visual Studio
Visualization
VisualStudio
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