SQL Server Management Studio, confusing dialog box during DB restore
16 April 07 04:16 PM | Magnus @ BassicTech | (Comments Off)   

I just started a lengthy DB restore using the latest SQL Server Management Studio 2005 SP2.

During the restore, try to close the Management Studio, and this dialog shows up:

 

Now, the big question is:

With what do I want to continue?

Continue closing the program, or continue restoring the DB?

Create nice looking screenshots in 8 easy steps
19 March 07 05:39 PM | Magnus @ BassicTech | (Comments Off)   

1. Bring the window you want to capture in front

2. Press ALT+PrtScn

3. Start Microsoft Word 2007 (or Excel 2007)

4. Press CTRL+V

5. Right-click and select Format Picture..

6. Select Shadow and click on Presets and select the one you fancy most.

7. Right click and select Copy (or CTRL+C)

8. Paste the screenshot in the destination program.

Original:

With shadow effects:

Get Rid of Your Unfortunate Component Name Once and For All
29 January 07 03:27 PM | Magnus @ BassicTech | 3 Comments   

In these Internet times all kinds of people gathers around all kinds of software in order to fulfil their needs. Not everyone of those people have good knowledge about computers. Let me tell you what can happen if you choose a name in one of your custom controls that can be mistaken for something else.

The software Online Radio Tuner has a volume slider in its user interface. Its nothing unusual, a simple control to adjust the volume of the played radio stream. When you are a developer, you most certainly use some kind of development tool. And in these tools this kind of slider can have a different name. Some names can be slider, trackbar or something similar. In the Microsoft Visual Studio world, this slider is known as the trackbar and looks something like this.  

Now, in order to fit this control on the user interface of the Online Radio Tuner, and modify it looks, I had to inherit this control in order to customize it a little bit. I called this customized trackbar BassicTech.CustomTrackbar.dll.

It looks something like this in the application:

This seemed to me all fine and dandy. What could possibly go wrong ?

Well, it happens that the above mentioned people have heard of malicious software that tracks your Internet surfing and behavior. So unsurprisingly, Mrs and Mr John Doe finds the word fragment "Track" in my software and draws to the conclusion that this must have something to do with malicious software that tracks what they are doing with their computer. Don't ask me how, or why, they come up with this...

The reason I write this is that I have received numerous of emails threatening me to stop tracking how they use their PC.
Yes, its true. People actually thinks that because I had this name in my custom control, they were convinced that the program tracked their usage....

I must say that when I first received such an email I was so shocked that I was convinced that it was a practical joke, that I was Punk' d and Ashton Kutcher would knock on my front door. But when the second email arrives, its not so funny anymore.

I learnt my lesson and in upcoming releases of the software I choose the name BassicTech.CustomSlider.dll instead.

Just lets hope that the phrase "slider" can't be associated with something bad.

 

A new version of the Internet Explorer Developer Toolbar released.
11 January 07 03:16 PM | Magnus @ BassicTech | (Comments Off)   

Recently, Microsoft released a new beta 3 version of the Internet Explorer Developer Toolbar.

This is a great utility if you are into web development of any kind and want to examine the result or "spy" on other web pages.

Some of the features:

  • Explore and modify the document object model (DOM) of a Web page.
  • Locate and select specific elements on a Web page through a variety of techniques.
  • Selectively disable Internet Explorer settings.
  • View HTML object class names, ID's, and details such as link paths, tab index values, and access keys.
  • Outline tables, table cells, images, or selected tags.
  • Validate HTML, CSS, WAI, and RSS Web feed links.
  • Display image dimensions, file sizes, path information, and alternate (ALT) text.
  • Immediately resize the browser window to a new resolution.
  • Selectively clear the browser cache and saved cookies. Choose from all objects or those associated with a given domain.
  • Choose direct links to W3C specification references, the Internet Explorer team weblog (blog), and other resources.
  • Display a fully featured design ruler to help accurately align and measure objects on your pages.
  • Find the style rules used to set specific style values on an element.
  • View the formatted and syntax colored source of HTML and CSS.
  • Check it out and download here.

    You can also go to the Channel 9 dedicated web page for this tool to provide feedback and read more about it.

     

    del.icio.us tags: , ,
    Filed under:
    How to publish your ClickOnce solution in Windows Vista
    12 December 06 02:43 PM | Magnus @ BassicTech | 2 Comments   

    In this article I will guide you through the steps you need to do in order to publish your ClickOnce application on Windows Vista.

    Please note that not all editions of Windows Vista has the Internet Information Services functionality. In order to use IIS you must have one of these editions of Windows Vista: BusinessEnterprise or Ultimate. If you are planning to do any web development on your brand new Vista installation, make sure that you get one of these three.

    In short you should perform these steps:

    • Turn on the "IIS Metabase and IIs6 configuration compatibility" option on IIS.
    • Run Visual Studio in elevated mode.

    And now these steps with screen shots:

    First go to the Control Panel and select Programs and Features.

    From there, select "Turn Windows features on or off"

     

    Expand the "Internet Information Services" node, and then the "Web Management Tools" and then the "IIS 6 Management Compatibility".

    Check the "IIS Metabase and IIS 6 configuration compatibility" checkbox.

    Click Ok.

    And finally, run Visual Studio in elevated mode.

     

    Now you are done, happy publilshing.

     

     

    Filed under: