I did something wrong this morning.. It's my fault..
The story is about to begin: I use a WinForm ListView control and bind some data to it, and there's a column showing the Invoice Number where the users want to view the Invoice Details in an complementary ASP.NET Web application by clicking on it (These system are basically interchangable but target for different platform with different functionality, so the InvoiceID is reusable). Therefore, I wrote a line of code immediately in the DoubleClick event of the WinForm ListView control as: ( < 1 min )
Well, it works obviously! However, the users told me that the system always use their "existing" browser to view the data instead of pop up a new browser instance!!
So, I open the project and modify the code as:
Dim p As New Process()
p.StartInfo.FileName = Url
p.StartInfo.CreateNoWindow = False
p.StartInfo.UseShellExecute = True
Well, it works (too)! But the point is.. use the existing one or pop up a new window? Both have its own pros and cons, and.. I agree that pop up a new browser instance make more sense from user point of view...
My conclusion is: Developers' Lazyiness << Users' Friendly experience :)