News Archives 
   
(click month to expand)
  

Recent Technology News Stories

Solentive News
You'll flip if you see the early right-to-left builds of products (aka Don't flip if you have to flip or not flip)  [click for more...]

Regular reader Serge Wautier asked over in the microsoft.public.win32.programmer.international newsgroup:

By default, progress bar fill from left to right in LTR locales and right-to-left in RTL locales.

When I added support for RTL languages to appTranslator, I decided that it was not a good idea and I added code to defeat this behaviour in dialogs that contain progress bars:

Rather than simply addin WS_EX_LAYOUTRTL to the dialog layout, I also added WS_EX_NOINHERITLAYOUT and I added WS_EX_LAYOUTRTL to all controls but progress bars.

For reasons beyond my understanding, I never ever considered that a progress bar filling from right to left was the desired behaviour!

Time flew. I am now investigating a related problem and I realize I was most likely stupid and I should fix this stupid design decision. Before I do it, I'd like to make sure I was dumb hence my question to you RTL knowledgeable people out there:

What should be the filling direction of a progress bar in RTL locales: RTL or LTR?

Sorry for the apparently stupid question but I'm confused ;-)

(In this case, they should in fact be mirrored, for what it is worth....)

But this is not a stupid question, really. Well, at least if it is I wish people would be willing to risk acting stupid a bit more often, since I have seen my share of improperly mirrored dialogs and applications in my time.

In fact there were some pre-release versions of Vista that were incorrectly mirroring the datetime dialog and the clock gadget -- and believe me you will never feel as not-stupid about mirroring as when you saw a copy of Vista doing this:

or this:

Thankfully these bugs were fixed prior to ship. :-) 

The fact is that for each user interface component (be it a progress bar, clock, calendar, dialog, menu, or whatever) there is an expected behavior. And the initial builds of RTL user interface languages are almost guaranteed to have mistakes in them with things that are either not flipped when they should be or over-actively flipped like in these examples.

There is no one rule to follow, though the best bet when dealing with localized user interfaces is that rather than trying to solve the problems completely in code in some automated way, you make sure that the setting is exposed to localizers in some way, since they are the people who are being paid to bring their expertise to the situation and decide what to flip and what not to flip....

Then the second rule is to have people who know what the conventions are reviewing the user interface, so they can tell you when things are right and when they are wrong. Then if you know who did (or did not do) the flipping you'll know if it is your bug, a localization bug, or both.

And the third rule -- don't flip if you have to flip or not flip. If you know what I mean. :-)

 

This post brought to you by (U+260f, a.k.a. WHITE TELEPHONE)

2/10/2007   [Link]
SqlBulkCopy in ADO.NET 2.0 , SqlBulkCopy Class in C#, SqlBulkCopy help ,SqlBulkCopy guide,sql Bulk Copy class,SqlBulkCopy tutorial  [click for more...]
SqlBulkCopy in ADO.NET 2.0 , SqlBulkCopy Class in C#, SqlBulkCopy help ,SqlBulkCopy guide,Transferring Data Using SqlBulkCopy - SqlBulkCopy - Copy Table Data Between SQL Servers at High Speeds ,Perform bulk copies with .NET 2.0's SqlBulkCopy class,SqlBulkCopy tutorial
2/10/2007   [Link] idreeskhan
Make your website faster using Content Delivery Network  [click for more...]

A nice article written by Omar AL Zabir about how to use Content Delivery Network (CDN) which by the way is one of the Yahoo suggested 13 rules for making your web pages faster (2: Use a Content Delivery Network )

Read the article @ Omar's Blog

2/10/2007   [Link]
Distribute Your Sites Content With RSS 2.0 Using ASP.NET/VB.NET/MS SQL 2005  [click for more...]
Distribute Your Sites Content With RSS 2.0 Using ASP.NET/VB.NET/MS SQL 2005
2/10/2007   [Link] AdamNThompson
Constructing a Simple Linq Database Application  [click for more...]
More about the technology but the demo app is ASP.NET
2/10/2007   [Link] Matthew Hazlett
Visual Studio Tips Tricks Blog  [click for more...]

My friend David Sussman (via email) just tipped me off to Sara's VS Tips/Tricks blog.

It's a great blog. I love learning VS tips/tricks, anything to make my job a little faster/easier.

http://blogs.msdn.com/saraford/

It's not 100% dedicated to VS tips/tricks but it's very close.

2/10/2007   [Link]
Windows Workflow Foundation - Sequential Workflow Example  [click for more...]
An article describing how to program with Windows Workflow Foundation which comes with .NET Framework 3.0
2/10/2007   [Link] Olgun Cengiz
What would you rather have...  [click for more...]

A system with no source control, or a system with no tests?

Personally I would rather have a system with no tests. At least with tests I can write them. With no source control, well, welcome to my Monday morning.

It's going to be a long week.

2/10/2007   [Link]
Object Oriented Ajax  [click for more...]
Object Oriented AJAX class and objects structured for ease of use and maintainability for multiple requests.
2/10/2007   [Link] VectorX
C# and AJAX WhiteBoard  [click for more...]
This is webbased WhiteBoard. It uses C# and AJAX to communicate between the server and client. Data sharing between different users is made possible using AJAX. Drawings can be shared in Real Time over multiple clients.
2/10/2007   [Link] Amol M Vaidya
Are you into mash-ups?  [click for more...]

 The CodeMash conference has opened up registration. The conference is January 9 - 11, 2008 in Sandusky, Ohio.

You can register here

2/10/2007   [Link]
The ASP.NET Page Lifecycle – A Basic Approach  [click for more...]
A simple approach for understanding the ASP.NET page lifecycle.
2/10/2007   [Link] UsualDosage
Validating a URL Using AJAX and the Server  [click for more...]
There's an interesting example of combining ASP.NET AJAX and server-side validation in the Validation Guidance Bundle from the Patterns and Practices group. One of the fields requires the user to enter the URL of her home page. The sample invokes a server-side routine to check that the site that the user entered is valid (that is reachable) but it does this check without killing the responsiveness of the UI. (No use of the dreaded full page postback.) Here's the Validation Guidance Bundle page on...(read more)
2/10/2007   [Link]
Silverlight briefing event in Canada  [click for more...]

microsoft-silverlight

Wow, this one is not announced elsewhere than here... it is not even in the MSDN Canada events page ???

An half-day morning event on Silverlight will take place in 3 cities in Canada during October. For Montreal registration go there, for Vancouver and Toronto links read the original post.

"Silverlight™ is a new, cross-browser, cross-platform plug-in for delivering rich interactive user experiences on the web, using the JavaScript and .NET as the development platform. 

Join us for a very informative and productive half-day event which will provide you with an overview of Microsoft’s new Silverlight browser plug-in.  There is a great amount of buzz around Silverlight and this briefing is meant to provide you with an understanding of its capabilities and value proposition for both you and your customers.

This Innovation Briefing will cover:

  • An overview of Silverlight
  • Business value to you and your customers of Silverlight
  • Architecture and services of Silverlight
  • Implementing Silverlight-based applications
  • A roadmap for Silverlight

This event is focused on Web Developers, Web Designers and IT Generalists."

Add this to the realDEVELOPMENT_07, Developer Night in Canada III and the Code Camp, October is going to be fully loaded in Montréal!!! (This is great.... but why so many events in the same month ??).

2/10/2007   [Link]
IIS 6.0 and Flash streaming (FLV)  [click for more...]

We recently acquired an app that streams flash - but it was not working on our web servers (Winows 2003, Standard).  It was pretty aggravating to get up and running (*Opens arms for Silverlight*).

The site has .swf files that stream a flash video (.flv).  The SWF works just fine, but the FLV won't stream.  After some poking and probing, realization set in that there wasn't a MIME type for .FLV in IIS.

1. Open IIS Manager on the server
2. Expand the Local Computer Server.
3. Examine the 'Properties' of the local server
4. Select the MIME Types tab.
5. Click the 'New' button and enter the following:
* Associated Extension box: .FLV
* MIME Type box: flv-application/octet-stream
6. Click Ok and restart IIS.

2/10/2007   [Link]
Better Together: ASP.NET and Silverlight  [click for more...]
This week on the Silverlight site Shawn Wildermuth presents three videos that demonstrate how ASP.NET and Silverlight work together, with a focus on using ASP.NET to generate dynamic, reusable XAML.
2/10/2007   [Link]
Copyright © 2007 Solentive | Disclaimer | Contact | Home