Archive

Archive for March, 2007

Save file dialog with Encoding dropdown

found a nice Save file dialog for .NET that adds an Encoding dropdown
 
see discussion at the end of that article for my VB.net version of that C# code, with some fixes and enhancements (I recently reworked all that into an even better dialog, which accepts/returns a System.Text.Encoding type and shows the list of all encodings provided by the .NET rutime [this includes, apart from the various Unicode flavours, all installed codepages at the OS as it seems]. If interested on it contact me privately to send you a trial)
 
only glitch is that on XP at the last shortcut folder button on the left handside of the dialog, the bottom part doesn’t show exactly right (maybe not noticeable by most people) when hovering. Haven’t tried it on Vista, hope it works ok there too
Categories: Uncategorized Tags:

Time/Date slider (trackbar) component for .NET WinForms

http://www.codeproject.com/cs/miscctrl/TimeSlider.asp

for using only with time, use custom format of the style "hh:mm:ss.ff" (remember to set it to use the custom format instead of the predefined ones)

the only thing that doesn’t seem to work OK is the "ShowSegment" property – it doesn’t draw the red underline bar for the current time selection at the correct position

Categories: Uncategorized Tags:

Flexible table components for .NET WinForms

SourceGrid:

http://www.devage.com/Wiki/ViewArticle.aspx?name=sourcegrid&version=0

quite mature

XPTable:

http://www.codeproject.com/cs/miscctrl/XPTable.asp
a bit underdeveloped, but interesting in that it tries to mimic JTable of Java/Swing. One could try J# Supplemental UI library instead, but J# Swing (sup ui lib) controls don’t interoperate with WinForms unfortunately (don’t know if anyone made a host control using reflection)

Categories: Uncategorized Tags:

Delphi-like ActionList component for .NET WinForms

http://www.codeproject.com/cs/miscctrl/actionlist.asp

note that to add event handler for an action you have to first select
if from the component selector dropdownbox that is at the top of the
properties window of VS.net (can’t select it at the actions collection
editor)

I suggest rebuilding the sourcecode with .NET 2 (VS.net 2005), although the DLL seems to work ok even without doing that

Categories: Uncategorized Tags:

Most Recently Used (MRU) component for .NET 2.0 WinForms

http://www.codeproject.com/cs/menu/MRUHandler.asp

This very nice component was made for .NET 1.1 WinForms MenuBar control. If you scroll down that page to the discussions you’ll see a posting of mine with the code I converted to make it work with .NET 2.0 WinForms MenuStrip control

other .net 2.0 mru library is
http://www.codeproject.com/csharp/mrutoolstripmenu.asp (for .NET2′s MenuStrip)

but it’s not a component and one has to write code to use it

Categories: Uncategorized Tags:

Going for a new antivirus

After some time using AVAST, and suggesting it to my friends (since it has home edition for free and has good detection rates), I got disappointed by some repeated false positive alerts (to verify a false positive try www.jotti.org’s online antivirus service that lets you upload a file and checks it with many antivirus scanners) and by slow response of the system with WinXP (I didn’t see such problem with Win2000 in the past), plus incompatibility with Vista, and decided to move on.
 
Now trying Kaspersky antivirus, cause I’m hearing it’s good and fast, plus not consuming many resources on the machine
Categories: Posts
Follow

Get every new post delivered to your Inbox.

Join 920 other followers

%d bloggers like this: