Παρουσίαση με Ετικέτες

Fix: Microworlds Pro installer showing gibberish instead of Greek
31 Μαρτίου 20 11:17 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
A friend sent me the other day a screenshot from the installer of Microwords Pro Greek version on Windows 10 that was showing gibberish instead of Greek. At their school on Windows 10 it was showing up fine, so they wondered what the issue was. They mentioned that on Windows 10 english it was showing […]
Δημοσίευση στην κατηγορία: , , , , , , ,
Fix: make ownCloud installer display in English language
26 Μαρτίου 20 02:33 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
OwnCloud is an interesting solution for setting up a file sharing cloud for a group of people. However,one issue I’ve found with its Windows desktop client’s current version (which looks clean of any viruses since I always check first) is that if your Windows 10 is configured with a preferred language that the desktop client’s […]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
Fix: WordPress administration UI content area showing up blank
16 Νοεμβρίου 17 05:16 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Some time ago, at a WordPress 3.3 blog, a friend was getting a blank main area at the administration UI (just the menu was showing up there) when they visited the classic URL of the form http://somesite/wp-admin/. Here is a writeup of some notes I had kept while troubleshooting that issue and then upgrading to […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Hide HTML markup from non-signedin users at MonoX Social CMS
26 Μαΐου 16 07:44 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At MonoX Social CMS, which I use at both ClipFlair Social and Trafilm websites, I was in the need of hiding some HTML markup when the user is not signed-in. The solution for this is to add runat="server" to the HMTL element one wants to hide and then set the Visible property that the object […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
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 […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , , ,
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 […]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
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 [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
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: 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: Hide Video area of Silverlight Media Framework Player
03 Οκτωβρίου 12 12:25 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Since our onoing project ClipFlair is a follow-up of the succesful project LeViS, during its development I’m also looking at covering possible use-cases I infer from feedback entries at LvS application issue tracker on Codeplex (note that ClipFlair is also opensourced on Codeplex at http://ClipFlair.codeplex.com). One such issue (http://lvs.codeplex.com/workitem/11511) was titled “Allow video hiding while [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Scale control arround its center using a render transform
15 Αυγούστου 12 07:02 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
In the context of ClipFlair development, I was recently adding independent scaling (zooming) functionality to its ZUI container’s floating windows (apart from the container zooming functionality) and came across some strange behavior, where the windows seemed to also move apart from getting scaled. After banging my head a bit I decided to take a closer [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Set UI language (CurrentUICulture) in Silverlight
20 Ιουνίου 12 04:11 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At LvS (the opensource application of LeViS), I’ve been using this (VB.net) code to set the UI language (for example to Greek): Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo("el") Others seem to have been using (C# – that’s why there is a trailing semicolon): Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("el"); assuming System.Globalization and System.Threading namespaces have been imported. However, now that I’m [...]
Δημοσίευση στην κατηγορία: , , , , , , ,
Zoom and Pan control for WPF and Silverlight (via WPF compatibility layer)
18 Ιουνίου 12 08:50 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I’ve managed to combine http://www.codeproject.com/Articles/85603/A-WPF-custom-control-for-zooming-and-panning and a cut-down version of it for Silverlight that was out there: http://www.codeproject.com/Articles/167453/A-Silverlight-custom-control-for-zooming-and-panni I did it in a way that the Silverlight version is source-code compatible with the WPF version (via a WPF compatibility layer that even implements value coercion), so that both the WPF and the Silverlight projects share [...]
Δημοσίευση στην κατηγορία: , , , , , ,
HowTo: Load a XAML ResourceDictionary from a .NET assembly
11 Ιουνίου 12 07:08 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Copying here my answer at: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/11a42336-8d87-4656-91a3-275413d3cc19 What seems to work for me is the following (copying from the source code of http://ClipFlair.codeplex.com [currently under development]) note I’m using Build Action = "Page" and Custom Tool="MSBuild:Compile" at the properties of Themes\DropDownTheme.xml and Themes\RotateHorizontalTheme.xaml, as was for Themes\Generic.xaml. Seems to work OK (probably this is faster at [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,
What to do if Generic.xaml doesn’t get loaded for WPF control
10 Ιουνίου 12 05:26 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Just came across http://wangmo.wordpress.com/2007/09/27/themesgenericxaml/ which gave me a hint on why a WPF control wasn’t getting instantiated correctly when loaded from an external assembly (dll): to load generic.xaml for WPF, at the start of Properties\AssemblyInfo.cs you need (note this isn’t used/needed in Silverlight): using System.Windows; and at the end of Properties\AssemblyInfo.cs you need: [assembly: ThemeInfo( [...]
Δημοσίευση στην κατηγορία: , , , , , ,
Pinned tabs and Split-Screen
17 Φεβρουαρίου 12 04:12 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Since widescreen format in monitors gets more and more common, how about a twist to the classic tabbed windows UI? Imagine being able to pin a tab and have it move to a side-view area in the same window. That are would keep the pinned tabs separated from the rest using a splitter / split-view [...]
Δημοσίευση στην κατηγορία: , , , , , ,
Tip: Quick way to change taskbar tray icon visibility
06 Οκτωβρίου 11 09:00 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Windows 7 has kept the taskbar tray from previous versions of Windows, but is providing a different means of managing which icons always show up and when (e.g. can set a specific icon to show up only if they have notifications, or even to never show up on the tray). When you press the “up” [...]
Δημοσίευση στην κατηγορία: , , , , , , ,
Tip: Display Process Task menu without right click
06 Οκτωβρίου 11 08:36 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
You probably know already that on Windows 7 you can right click icons for executing tasks (applications) on the taskbar and select to Pin them there. You must have also noticed that Windows 7 aware applications show common tasks there, while Windows also shows recent files opened by some application even at cases where the [...]
Δημοσίευση στην κατηγορία: , , , , , , , ,
Microsoft Expression Blend – learning and community resources
02 Ιουλίου 11 02:55 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Copying from Expression Blend 4 User Guide’s “Learning and community resources” section: Apart from this User Guide, the following additional content and resources are available. Expression Blend and other Expression Studio products Expression community website (training, tutorials, videos, and webcasts) Expression Blend and Expression Design team blog Expression Blend discussion forums Feedback and bug reporting [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Twitter bug calls you a moron?
13 Ιουνίου 11 12:33 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Now who has to be more clever? Me or the Twitter programmers who apart from not being polite have managed to fail in simple character counting? They have added automatic link shortening if your message exceeds 140 chars, but fail to count the resulting chars correctly and allow you to press the Tweet button which [...]
Δημοσίευση στην κατηγορία: , , , ,
IE9 RC: Where’s that download manager?
18 Φεβρουαρίου 11 12:27 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Internet Explorer 9 (IE9) has at last introduced a nice download manager, as shown below. This was long needed, since in IE8 there were cases were downloads with the same filename, when launched from different windows, could get corrupted. The download manager will also show resume download button when needed. IE8 could also resume downloads, [...]
Δημοσίευση στην κατηγορία: , , , ,
Περισσότερες Δημοσιεύσεις Επόμενη »

Search

Go

Ιστορικό Δημοσιεύσεων

Συνδρομές