Archive

Author Archive

Autostart your application with Windows

March 22nd, 2010

This is a frequently asked question and its very easy to implement it in .net.

Code for adding the application to start with windows

Dim regKey As RegistryKey
regKey = Registry.CurrentUser.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Run", True)
regKey.SetValue(Application.ProductName, Application.ExecutablePath)
regKey.Close()

Code for removing the application from startup

Dim regKey As RegistryKey
regKey = Registry.CurrentUser.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Run", True)
regKey.DeleteValue(Application.ProductName)
regKey.Close()

[Post to Twitter]   [Post to Plurk]   [Post to Digg]   [Post to ping.fm]

Related posts

Shoban Uncategorized

allaboutmoss.com – It’s all about MOSS

March 5th, 2010

I am happy to launch a new blog www.allaboutmoss.com . If you are a SharePoint developer I strongly suggest you to subscribe to the feeds or subscribe via email.

Unlike codegeeks, allaboutmoss has 3 Authors. So you can expect regular interesting articles about SharePoint :) .

[Post to Twitter]   [Post to Plurk]   [Post to Digg]   [Post to ping.fm]

Related posts

Shoban links

Build View – Visual Studio 2008 addin for Windows 7

February 12th, 2010

Build View is a Visual Studio 2008 Add In which will show the progress of the build using the new Windows 7 progressbar.

Build View

Unfortunately Visual Studio does not have an option to retrieve the progress of the build. Build View chooses the most approximate build time based on previous builds of the project and then shows the progressbar. Which means after 2/3 builds, progress bar will start displaying the animation effectively.

Download the installer and sourcode here.

[Post to Twitter]   [Post to Plurk]   [Post to Digg]   [Post to ping.fm]

Related posts

Shoban C#

Weather Gadget for Windows 7

February 11th, 2010

In this article we will see how you can develop a Weather gadget for Windows 7 which uses Yahoo Weather API for fetching Weather data. The application will also have some of the latest exciting features of Windows 7 like Thumbnail Toolbar and Progress bar.

Read the rest of my article in dotnetcurry

[Post to Twitter]   [Post to Plurk]   [Post to Digg]   [Post to ping.fm]

Related posts

Shoban C#, dotnetcurry, vb.net

Microsoft Community Tech Days – Kochi

February 5th, 2010

K-MUG conducted another successful Microsoft Community Tech days on 30th January 2010. We had some wonderful sessions about Silverlight, MVC,SQL server etc. Even though the participation was less compared the CTD in Trivandrum we had very good interaction from the audience.

I took a session about “Programming for Windows 7″ and talked about Windows API code pack. Here is the link to my ppt.

100_2286

[Post to Twitter]   [Post to Plurk]   [Post to Digg]   [Post to ping.fm]

Related posts

Shoban Misc

MP3 player for Windows 7

February 2nd, 2010

Check out my article about how you can develop your own mp3 player for Windows 7. Some screenshots below.

[Post to Twitter]   [Post to Plurk]   [Post to Digg]   [Post to ping.fm]

Related posts

Shoban C#, vb.net

TweetMyPC V3.0 – What’s new?

January 4th, 2010

As previously Tweeted(?) by me TweetMyPC verision 3 is under development and will be released soon.

tmc

I thought it will be a good idea to post the change log here for feedback and suggestions. I must thank Stefan for his huge interest in TweetMyPC. The entire credit goes to him for helping me.

  • You can now choose any file you want for the custom-command (for example *.exe,*.bat,*.mp3,*.vbs,*.pps,…)
  • TweetMyPC is now faster and better
  • We made changes to overcome the problem of “Whoops. You already said that… please post a new tweet” (see http://help.twitter.com/forums/10713/entries/68809)
    If you want to send the same command a more than once in a short time period, just add ## and a random text behind it. Example: “ip ##ubiuhgiu ohzf
  • New commands
    • ping - to know whether TweetMyPC is running or not
    • message [your message text without brackets] – to show a custom message at the pc-screen
    • powerstate -tweets the battery-state (Charging or not and if power-cable is plugged in)
    • abortshutdown - stops a shutdown
    • startscr - starts the screen-saver (windows 2000/XP)
    • stopscr - stops a screen-saver
    • darkscreen - Turns off the monitor
    • Wallpaper [url] – You can change the wallpaper by tweeting this command along with the wallpaper url. You will not miss those cool wallpapers you accidentally come across while browsing somewhere else :) .
  • Changed/fixed commands:
    • ip - now answers the Network’s internal and the external ip address
    • screenshot - now makes a screenshot of all Displays together instead of just the first Screen
  • TweetMypPC now works on Windows XP, Server 2003/2008, Vista and Windows 7.
  • Added support for x64 (64-bit) environments
  • You don’t need Admin privileges to run TweetMyPC
  • Simplified the user interface
  • You now can see the status of TweetMyPC if you move your mouse cursor over the notify-icon in the Taskbar.
  • Fixed few bugs

We would like to hear your suggestions and comments. Do you have any cool commands to be added? Let us know!

Don’t forget to give us your feedback here.


[Post to Twitter]   [Post to Plurk]   [Post to Digg]   [Post to ping.fm]

Related posts

Shoban Misc, links, vb.net

Expect the Unexpected – What’s your dotnet story?

November 26th, 2009

We want to know yours. How did you use the .NET Framework to create a killer app? What parts of the .NET Framework (ASP.NET, ADO.NET, WPF, WCF, WF, etc.) did you use to develop it? What other Microsoft products (SharePoint, SQL Server, Windows Server, etc.) were used in the solution? What challenge did you solve? How did you integrate your solution with other solutions and systems?

Submit your story at mydotnetstory

[Post to Twitter]   [Post to Plurk]   [Post to Digg]   [Post to ping.fm]

Related posts

Shoban Misc, links

Dark – Switch off Monitor using .net

November 26th, 2009

A little open source .net application to turn off your laptop/computer monitor by double clicking a Notify Icon developed by me.

You can download the source code and setup from codeplex.

[Post to Twitter]   [Post to Plurk]   [Post to Digg]   [Post to ping.fm]

Related posts

Shoban vb.net

Using .NET to Post a New BlogPost in Wordpress

November 23rd, 2009

In this article we will see how we can use .Net and communicate with the most popular blogging tool Wordpress and post a new blog post. Before starting the development of our application, it is very important to learn about XML-RPC because we will be using XML-RPC to communicate with a Wordpress blog.

Read the rest of my article in dotnetcurry.

[Post to Twitter]   [Post to Plurk]   [Post to Digg]   [Post to ping.fm]

Related posts

Shoban dotnetcurry, vb.net