Manish Pansiniya’s Blog

.NET, C#, Javascript, ASP.NET and lots more…:)

Send SMS through Bluetooth or Serial Port

with one comment

Just came across one requirement of sending SMS through Bluetooth or serial port. Actually when you connect any bluetooth USB to the pc, that program should have installed the model related to Bluetooth. I got that as follow:

image

Now, Download the microsoft SMS Sender application from following URL:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=06A4F997-7F69-4891-8929-37B9041924A2

Run and Install it. When you run it, it will show the following screen:

image

Whatever model devices are there, it will be available for the selection. Once it is selected, write destination number and body and send the SMS. If you device ( Phone) is connected to the bluetooth, SMS will be delivered from your phone. Currently I believe only Nokia and Sony is supported by this application. I haven’t tested on other Phone.

The main thing is that, this application also support COMMAND LINE INTERFACE. So that you can use this application in your code to send the SMS through some port or bluetooth. wow!!!. Following are the command line option to send the SMS.

image

Written by Manish

June 29, 2009 at 4:56 pm

Posted in .NET, Time Saver, Tools

Tagged with , , ,

Free DNS Report

with one comment

The following site is providing free useful report for the DNS.

image

You can provide the domain name WITHOUT www to get the exact DNS report as well as MX records. Test using Yahoo.com and you will get long list of status of NS and MX of DNS :)

Written by Manish

May 23, 2009 at 4:03 pm

Posted in Manage Blog, Time Saver, Tools

Tagged with ,

How to Change Boot Menu in Vista – Edit Boot.ini,system.ini– msconfig

leave a comment »

  • Press the Windows + R keystrokes to open the Run command.
  • Type ‘msconfig’ and click OK.
  • Click the Boot tab to make changes to the file.
  •  

    There are many other option than to change the Boot Menu.

    Written by Manish

    May 22, 2009 at 12:47 am

    Invalid DOS Path in VSS when you try to login Newly Created Database

    leave a comment »

    I had strange problem just now. Creating VSS new database and then login to that database gives me error

    Invalid DOS Path X:\YZ\Users\ss.ini

    This error is due to following reason:

    The Admin program cannot find the Template.ini, a template for the Ss.ini. When a new user is added, the Admin program creates a directory for the user. It also creates a user file, Ss.ini, which contains default settings for this particular user. The Admin program uses the Template.ini file to create the Ss.ini file. If the Template.ini file is not in the Users directory, the error "File Not Found" is displayed.

    See Resolution for More Information :)

    Written by Manish

    May 20, 2009 at 8:01 pm

    100 Tools for Creativity

    leave a comment »

    Written by Manish

    May 1, 2009 at 6:10 pm

    Posted in Personal, Time Saver, Tools

    Tagged with

    Best Freeware Page – Updated

    with 2 comments

    Written by Manish

    April 24, 2009 at 3:33 pm

    Nine Life Lessons From TED ( Rock Climbing Philosophy )

    leave a comment »

    Nice article about motivation using rock climbing philosophy. Shown 9 principle used in the rock climbing. Worth watching.

    Written by Manish

    April 21, 2009 at 2:24 pm

    Great Performance still project is not success

    leave a comment »

    I am currently working on great project and we all are doing/giving great performance still the project is not making success which we want. There are many reasons for the same. The first reason I consider, is the requirement clarification issue, then estimation issue, team knowledge issue etc.

    I read following Article about the same and like the idea which he mentioning. I agreed to most of the point mentioned in the post…

    Great Performances in Failed Projects

    There are 2 ways of learning 1) Learn from your mistakes 2) Learn from others mistake. I think 2nd would be better approach :) . The Mistake Bank is one of the community site where people are sharing their mistakes.

    :-)

    Written by Manish

    April 21, 2009 at 2:18 pm

    Abstract Classes Vs. Interface – Why and When

    leave a comment »

    As you know the difference between abstract class and interface, sometimes I wonder what to use in project.

    Abstract Classes is similar to interface but might be with implementation.

    Interface is without implementation, just interface or virtual methods.

    As per my understanding, it is can-do or is-do relationship. Like, from .NET framework, there are many interface like IComparer, ISortable etc. So, it is something like, classes derived from the interface CAN-DO these things.

    But if the abstract class is CompareBase and if you are deriving classes from this class named TestCompare, then you can say that TestCompare IS DOing CompareBase.

    Actually, you can find awkward but if you think over it, you can get this concept easily. Also, when you are deriving from multiple inheritance, you can say like, this class CAN DO this and CAN DO that etc.

    Hope You Getting This :D

    Written by Manish

    April 20, 2009 at 11:20 pm

    Boxing & Unboxing in c# (.NET) – Why & What

    leave a comment »

    This post is just yet another explanation about boxing and unboxing. Before that let us look at just in one line that what is value type and reference type.

    Value Type contains actual data and it is stored always on stack. This cannot be null anytime.

    Reference Type contains reference/pointer to actual data. Data is stored on heap. This can be null.

    Now, as per all the website, boxing is to convert value type to reference type and unboxing is to convert reference type to value type.

    But I was thinking, why to convert it from one type to another. The reason I found is, sometimes, you require value type must be passed as reference type e.g. System.Object as parameter. So if you define System.Int32, it allocates 4 bytes to the stack. And if it is passed as System.Object, it is boxed as referenced type and passed to the method. Due to that, System.Int32 behaves exactly same as object. However, in reality, it is just a 4 bytes.

    So because of boxing, everything appears as Object (Reference type).

    In unboxing, the reference type is converted back to the Value type. But if you look at all the unboxing code, you can find out that explicit cast is required to do the same. That is because CTS need to know whether you are converting the reference type to valid value type due to strict rules.

    :) Quite Interesting!!!

    Written by Manish

    April 20, 2009 at 12:13 am