Archives

Archives / 2004 / August
  • Mobile phone directory

    "The Mobile Phone Directory is a free resource intended to appeal to everyone interested in mobile phone communications, providing information about all aspects of mobile telecommunications from the history of the mobile phone through to today's technological gadgets. So, whether you are planning to buy a mobile phone, are puzzled by what the jargon means, or are merely curious about the issues involved, then you will find something on our website to interest you. The site is divided into four sections: Glossary of terms, Technology, Phones, and News."
    http://www.mobile-phone-directory.org/

    http://www.phonescoop.com/

    through Russ [http://www.russellbeattie.com/notebook/1008009.html]

    Read more...

  • Using Subversion On Windows

    I just successfully finished testing Subversion as a SCC provider, but I am going to uninstall it and continue using VSS. Not because there is some problem with subversion but as I am the only person working on the projects therefore Subversion is like a little overkill for me. So, I found the integrated VSS option as my preferred choice. Anyway, if you are working in a team or working over internet, try using Subversion before going to CVS/VSS. I am writing this article only to remind me later of the procedure that I used to install Subversion so that later I can get to it easily.

    Read more...

  • Screen Annotator

    Screen Annotator is a Tablet PC utility which lets you capture a screen shot and then put your comments on the picture. You can also save the entire screen or part of it with your comments in your favourite image file format and share it with others.

     

    Read more...

  • Screen Annotator

    Download Source
    Download Binary

    Requirements: Tablet PC or Microsoft Tablet PC Operating System, Microsoft Tablet PC SDK 1.5

    Screen Annotator is a Tablet PC utility which lets you capture a screen shot and then put your comments on the picture. You can also save the entire screen or part of it with your comments in your favourite image file format and share it with others.

    1) If you downloaded the source then you can compile and run from the Visual Studio.NET IDE, otherwise you can run the “ClipForward.exe” file from windows explorer.

    2) After you see the window on your screen, its better if you can drag the toolbar from the top to the floating position.

    3) Now press “Capture” and after a couple of seconds, you'll see the entire screen on the main window of this application.

    4) Now you can draw/write anything on the screen. You can also crop  the screen after selecting the “Crop” option. After cropping, you can see the “Save-->Save Cropped Image” which lets you capture the piece of image that you just cropped.

    5) At any time, you can capture the screen by pressing the “Capture” button, you can even clear the annotations by clicking the “Clear” button.

    6) Although you can use the crop options multiple times but the application only remembers the last crop you made.

    If you have any ideas on extending this application, then contact me using this form.

    I would also like to include references to third party control which I used in the development.
    - Sandbar by Tim Dawson. http://www.divil.co.uk
    - PInoke.net Vs.net plugin by Adam Nathan


    If you like this then you might like my other Projects

    Read more...

  • Save InkPicture image with Ink in common image formats

    There are two options when you have to save an image with Ink
    a) Either save the image by manually serializing it and then adding it to the Ink object using Ink.ExtendedProperties.Add(...) . By doing this, you can't send the file to anyone not able to read the file.
    b) Output a file using common image formats (i.e. jpg,gif, ... )

    For more information about the first method, read Saving and Loading Ink on InkPicture Control in C# or the classic book Building Tablet PC Applications.

    For using the second method, you need to play with GDI+ objects. For future reference and for those who need to implement this functionality, here is the code snippet.

    I assume that you have a global “Bitmap” object, which holds the InkPicture's image ( or you can get it anyway )

            private void SavePicture()
            {
                if (saveFileDialog1.ShowDialog() == DialogResult.OK)
                {
                    string filename = saveFileDialog1.FileName;
                    ImageFormat imgFmt = GetImageFormat(filename);

                    // create graphics object from the bitmap
                    Bitmap b2 = new Bitmap(deskImage);
                    Graphics g1 = Graphics.FromImage(b2);

                    // make a renderer to draw ink on the graphics surface
                    Renderer r = new Renderer();
                    r.Draw(g1, inkPicture1.Ink.Strokes);              
                   
                    b2.Save(filename, imgFmt);
                }
            }

    The GetImageFormat( ) method

            private ImageFormat GetImageFormat(string filename)
            {
                string ext = Path.GetExtension(filename);

                ImageFormat imgFmt = null;

                switch(ext)
                {
                    case ".jpg":
                        imgFmt = ImageFormat.Jpeg;
                        break;
                    case ".gif":
                        imgFmt = ImageFormat.Gif;
                        break;
                    case ".bmp":
                        imgFmt = ImageFormat.Jpeg;
                        break;
                    default:
                        imgFmt = ImageFormat.Jpeg;
                        filename += ".jpg";
                        break;
                }

                return imgFmt;
            }

    Update: It may not be the only method so if you know any other way to do this, please leave your comments. Thanks.

    Read more...