!! Saurabh's world of possibilities !!

Geek with eyes

  • I have a MSDN Expert Chat session on Globalizing and Localizing Applications using .NET (2.0)

     

    Globalizing and Localizing Applications using .NET
    Planning on distributing your application to an international audience, there are a number of things you'll need to keep in mind during the design and development phases. Even if you don't have such plans, a small effort up front can make things considerably easier should your plans change in future versions of your application. Services built into the .NET Framework make it easy to develop a single application that can adapt to different locales using managed development with Visual Basic or Visual C#.

    Join the discussion to learn how we can leverage some cool features of .NET framework to alleviate the tasks; globalization, the process of crafting applications that can adapt to different cultures, and localization, the process of translating resources for a specific culture.

    Chat Expert: Saurabh Verma - Applications Developer, Microsoft India (R&D)

    Add to Calendar

    January 12, 2005
    5.00 pm IST

    Enter Chat Room

    For more details info visit: http://www.microsoft.com/india/communities/chat/default.aspx

     

  • Happy Release Year 2005

    Happy New Year to Everybody, 2005 comes with loads of Holidays and tons of work.
    !! ENJOY BOTH !!

    May this new year gives you.....

    Independence of Java
    Power of UNIX
    Popularity of Windows
    Extensibility of J2EE
    Luxury of .Net
    Efficiency of C
    Ease of VB
    Robustness of Oracle
    Vision of UML
    Simplicity of HTML
    Style of Mac
    Dexterity of Photoshop
    Enormity of 3D Max
    Vastness of Internet
    Compactness of JPG
    Richness of BMP
    Coverage as Yahoo
    Reach of Google
    Prudence of Froogle
    Security of Norton & McAfee
    Intelligence of Unreal
    Realism of Max Payne
    Speed of NFS
    Fun of RoadRash
    Intelligence of Chessmaster
     

    And the goodness of all software
    that comes for free
    for Ctrl+C - Ctrl+V Professionals

    more to come.....

  • Powers of SQL Server

    Do you know you can have:

    1. 32,767 database per instance of sql server
    2. 2 billion tables per database
    3. 1024 columns per table
    4. 65,535 secondary datafiles per database
    5. 256 filegroup per database
    6. bytes per row - 8060
    7. clustered index per table - 1
    8. columns per index - 16
    9. columns per select statement - 4096
    10. files per database - 32,767
    11. maximum file size of data - 32 TB
    12. nested subqueries, transactions, Stored Procedures, triggeres - 32
    13. rows per table - limited to storage space
    14. tables per select statement - 256
    15. Non clustered index - 249

    (thanks to my friends for their contribution)

  • Implementing Flexible Passport Co-branding

    Little busy with, recently started implementing Passport flexible co-branding. Just writing up a component for reading co-branding settings from .XML file and produce co-branding html for Passport website.

    So, soon you can expect some code / if possible the component too. Would like to get some relevant feedback/ideas surrounding how easy it could be implementing Passport Co-branding for any site.

  • Find of the day

    Today, I created a new blog on MSN Spaces (BETA). Its one of the coolest blog providers available. you check my blog @ http://spaces.msn.com/members/saurabh.

    My Comments: Out of the world interface with awesome features. I have hosted this image on the same. Feel the difference.

  • How intelligent are you?

    Calling all the grey cells;

    Q. How can you drop a raw egg onto a concrete floor
    without cracking it?

    Q.If it took eight men ten hours to build a wall, how
    long would it take four men to build it?

    Q.If you had three apples and four oranges in one hand
    and four apples and three oranges in the other hand,
    what would you have?

    Q. How can you lift an elephant with one hand?

    Q. How can a man go eight days without sleep?

    Q. If you throw a red stone into the blue sea what it
    will become?

    Q. What looks like half apple?

    Q. What can you never eat for breakfast?

    Q. What happened when wheel was invented?

    Q. Bay of Bengal is in which state?

    Answers for the above:
    Q. How can you drop a raw egg onto a concrete floor
    without cracking it?
    A. Concrete floors are very hard to crack! (UPSC
    Topper)

    Q.If it took eight men ten hours to build a wall, how
    long would it take four men to build it?
    A. No time at all it is already built. (UPSC 23rd Rank
    Opted for IFS)

    Q.If you had three apples and four oranges in one hand
    and four apples and three oranges in the other hand,
    what would you have?
    A. Very large hands. (Good one) (UPSC 11th Rank Opted
    for IPS)

    Q. How can you lift an elephant with one hand?
    A. It is not a problem, since you will never find an
    elephant with >one hand. (UPSC Rank 14 Opted for IES)

    Q. How can a man go eight days without sleep?
    A. No Probs, He sleeps at night. (UPSC IAS Rank 98)

    Q. If you throw a red stone into the blue sea what it
    will become?
    A. It will Wet or Sink as simple as that. (UPSC IAS
    Rank 2)

    Q. What looks like half apple?
    A. The other half. (UPSC - IAS Topper)

    Q. What can you never eat for breakfast?
    A. Dinner.

    Q. What happened when wheel was invented?
    A. It caused a revolution.

    Q. Bay of Bengal is in which state?
    A. Liquid. (UPSC 33Rank)

    Really Smart Isn't it ??

  • Humour of the weekend

    Scenario: Two friends preparing to leave for a party (i.e. Ajay & Ankur) They both are getting late.

    Ankur - Ajay !! Be Fast.
    Ajay - Oh.. I thought it was C# :)
    Ankur - 
    You didn't got ready yet?

    Nothing more to mention, both are C# developers and we can clearly see how IT is integrating in daily life.

    More incidents from the readers are invited?

  • How Reference and Value types are stored in memory ?

    Introduction:

    There are basically two types of variables in Common Type System ?

    1) Value Type - Get Stored on Stack Memory.
    2) Reference Type - Get Stored on Managed Heap Memory

    How this Works?
    Value types get stored on stack and shared the same process memory, however the Reference Types get stored on Heap and their memory address value gets stored on the stack as value type.

    Question: When an object (child Object) is instantiated inside an object (parent Object) where does it get stored?
    Answer: The value of child object (Reference type) gets stored in another random memory area on the managed heap and its reference (memory address value) gets stored in the managed heap of the Parent Object as Value Type.

    The value of child object (Value type) gets stored in the Parent object's memory area of the managed heap.

    For Example:

    Module Module1 'Main Entry
        Sub Main()
            Dim i As Integer = 50
            Dim objA As classA = New ClassA
            Dim j As Integer = 25
        End Sub
    End Module

    Public Class ClassA 'Parent Class
        Dim obj As New ClassB
        Dim MoreInfo As String = "sample" 
    End Class 

    Public Class ClassB 'Child Class
        Public name As String
        Public age As Integer 
    End Class

    As you can determine from the figure, that value of the ObjA gets stored in the Managed Heap and its memory address value gets stored on the Stack. But, in case of ObjB the value of the ObjB gets stored at another location in the Managed Heap and the memory address value of this location gets stored as a value type in ObjA Managed Heap.

     

  • An insect falls into a mug of beer...

    Today, I came across something interesting.

    Event : An insect falls into a mug of beer...

    Reactions:
    Englishman: Throws his mug away and walks out.
    American: Takes the insect out and drinks the beer.
    Chinese: Eats the insect and throws the beer away
    Japanese: Drinks the beer with insect as it is coming free
    Indian: Didn't drink the beer. 

    Updates took from the comments:

    Canadian: Just drinks the beer eh....ya Hoser! [Credits Rob]
    Scotsman: Drinks beer, throws soggy arthropod at Sassenach :-)  [Credits Scott Galloway]
    Italian: He try to exchange his beer with a german telling him it is a new flavour. [Credits Di .NET e di altre amenita']
    Irishman: Takes the insect out and tells it to "Spit it out!" - then drinks the beer. [Credits ShaneO]
    Lithuanian: Drinks half of the bear, then complains to the bartender and demands new one for free [Credits Romualdas]

    :) coursety friends...

  • Saurabh's Believe It Or Not : Home Computer for 2004

    First post in my new category "Saurabh's Believe It Or Not !!"

    [Image courtesy Manalang via the amazing We Make Money Not Art]

    Once upon a time, in the era 1950's.....

    "Scientists from the RAND Corporation have created this model to illustrate how a “home computer” could look like in year 2004. However the needed technology will not be economically feasible for the average home. Also the scientists readily admit that the computer will require not yet invented technology to actually work, but 50 years from now scientific progress is expected to solve these problems. With teletype interface and the Fortran language, the computer will be easy to use and only..." [truncated]

    Hope u enjoy this....

  • Article on HTTP Handler like functionality for WinForms

    I am done with my article on Application Event Handler for Win Forms. If you all can recollect from my previous post (http://blogs.msdn.com/saurabhv/archive/2004/11/11/255589.aspx)

    You can read the same from http://www.codeproject.com/vb/net/aeh.asp.
    (Don't forget to rate and provide your valuable feedback and help me in improving....)

  • Movies on VB.NET

    Something for VB.NET guys and I am sure they will love it. Microsoft has released some 101 short movies for VB.NET Developers to help them enjoy VB.NET more...

    Some posters:

                           

    [Pictures from http://msdn.microsoft.com]

    Exciting enough !! Interested in knowing the URL:

    http://msdn.microsoft.com/vbasic/atthemovies/default.aspx

  • Ever wondered writing an HTTP Handler for WinForms

    Today, I am writing an Application Event Handler Component (AEHC) for any  WinForm Application in .NET. AEHC is an event handler for your winforms application, The primary functionality of this component is to raise an event after every forms load into memory. So that we can handle its event for performing any custom code processing and return the control to the form after processing.

    Let’s consider a scenario, While implementing security into our application, we may have to disable or enable certain controls on every form according the role of the user accessing the form. For this we will call a custom method [for an instance AuthorizeMe()] to perform custom authentication and authorization from each and every form in our application. Suppose if in any case we forget to call its method from one of our form, in result there will be no security applied to that form.

    Now, with AEHC we only call the method AuthorizeMe() once per application from AEHC and then its AEHC’s responsibility to execute AuthorizeMe() every time, after the form is loaded.

     

    What is An Application Event Handler Component?
    In ASP.NET, we can create custom HTTP Modules for adding custom processing to each and every Web Page in Web Application at a global level. One of the benefits you get using a HTTP Module is that you do not need to call them from each and every web page; they will automatically get executed for each of them. In Application Event Handler, you will achieve a similar functionality of HTTP Modules, however AEHC will be specific to every application in contrast with HTTP Modules which can be used machine wide.

    Application Event Handler Component keeps track of the forms being loaded and unloaded throughout the application’s lifecycle and generate events like FormLoaded() and FormUnloaded() at Application level. Just like HTTP Modules, you too can write your own modules to manipulate the forms properties in these events....more to come asap.

    I will be finishing this up soon, keep watching...

  • SPOT - Smart Personal Object Technology

    Yesterday, my friend Anil told something about SPOT watches, whatever he said was quite interesting and exiciting. So, I thought of sharing my KB on the same.

    What is SPOT?
    SPOT turns for Smart Personal Object Technology. I am quite sure that couple of people must be aware of SPOT - again an Microsoft Initiative :)  for making daily use objects turned into smart devices, simply by embedding smarted software to it, i.e. Wrist Watch is one among them.

    "Smart Personal Objects are everyday objects, such as clocks, pens, key-chains and billfolds, that are made smarter, more personalized and more useful through the use of special software. These everyday objects already exist in huge numbers, and, of course, all of them already have primary functions that people find valuable. So our goal is simply to improve on these core functions to make these new, smarter objects that are not just useful but indispensable."

    - Bill Mitchell, General Manager, Microsoft Personal Objects Group
    http://www.microsoft.com/presspass/features/2002/nov02/11-17SPOT.asp


    How this magic works?
    SPOT enabled watches uses DirectBand - a service provider. Direct Band use radio waves to send information, the dataflow is one way. When information is sent (using radio waves),  is catched by the receiver listening at that frequency. Each Information type like news, weather info are sent at different frequencies. SPOT enabled devices receives the frequency and saves the info in the memory of the device. This info is then displayed to the screen and updated at regular intervals.

    Exicited to see an SPOT Watch:

    read more about these at http://www.windowsfordevices.com/articles/AT6914689493.html


     

  • Secrets of Visual Inheritance

    Nice article on Visual Inheritance:

    http://www.codeproject.com/dotnet/visualForm.asp

More Posts Next page »

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker