Tuesday 27 November 2012

I miss u brother

This post is dedicated to my dearest bro.
Top 10 Indian tv ads which are my favorite , and I always remember the old days spent watching these with bro.

Surf excel - Daag aache hain


Milk Bikies - Ek din main


Dhara - Ramu kaka


Goldspot - The zing thing

Dabur lal dant manjan


Bajaj bulbs


Mahila Grah Udyog - Karam -Kuram -Lijat papad


Vicks -Main tumhe kha jaunga

Pan Parag - Ladke ke ma-baap
Bajaj - Buland bharat ki buland taasveer

Thursday 15 November 2012

Create a WordPress Site in Windows Azure

Recently participated in the azure challenge at http://www.meetwindowsazure.com/fast/challenge

I created a word press site for this challenge , uploaded the video and Yo got the T-shirt as well.

I will list out the steps to create the site here. For everyone's benefit I have uploaded the video for this towards the end of the blog.

Steps to create  WordPress site using Windows Azure:

I hope you have a windows azure account .
Step 1: Log in to Windows Azure Portal

Step 2: From the landing Page click on "Create an Item"














Step 3: From the next screen , choose Website.














Step 4 : Choose "From Gallery " Option.














Step 5 : Now the screen appears where you can choose and add a web app.
Scroll to the last of the list and Choose WordPress














Step 6 : Click on the arrow button in the bottom right of the screen













Step 7 : In the next screen choose a URL for your website and click next. ( arrow on bottom right)













Step 8 : In the next screen give the database name.













 Step 9 : Click on the complete button.( the tick on bottom right)














Step 10 : You will be redirected to the websites page. Click on the link to your website.














Step 11: In this step you need to install the WordPress in your web site.
 Choose the site name and password.
Note : Userame by default is admin.













Step 12 : Now you can login to WordPress , give the username , pwd and login.












Step 13: From this screen you can change your website settings , look and feel as well write quick posts.













Step 14: Browse to the bottom , type in your post and say publish,












Step 15 : And you are done. Website is ready to be used by the world.



Demo video :
Demo to create a word press site

 

Friday 9 November 2012

My First Windows 8 App

From start click on VS icon and visual studio starts.
 

 Next,
 Click on file à new à project


From templates, select language Visual C# and Windows Store , select blank App


 












Provide the name and location for the solution and click okay.
The solution created for a blank app is a big solution as such.

 
  We will investigate on the solution structure in next article.
For now,
We will create a small app for windows store.
The MainPage.xaml is just a blank page. Delete the page.
Since we want to create the app for windows store, let us add a windows store template type in the solution.




 
 
 
 
 
 
 
 
 
 
 
Select ‘Basic Page’ type template.Since I had deleted the MainPage , I added the name of basic page as MainPage. 
Now , visual studio prompts you with a notification
 
 
 
 
 
 
 
 
 
This notification basically informs the user that some files are missing and dependencies should be resolved. Clicking on Yes will resolve the dependency automatically.
I have not tried using no. J
Once , you click Yes. Along with the MainPage.xaml.A lot many files get added to the common folder .

 

Thursday 8 November 2012

Windows 8 : Unpin/Uninstall from start page

Now that windows 8 has replaced the start menu with a start page , on the first day it was a little difficult but now go used to the start page and believe me it has lots of benefits added to it.
I thank the people behind the start page concept. Now my parents can browse the system without their specs on nose.
Great Achievement!!! Hurray!!!

The other day I created a small app and on executing the app got added to the start page from where I was able to browse , for some reason I deleted the app from the folder , but when I came back to the start page , the app icon was still visible.
'May be a restart issue...' I thought and restarted the system.

But on restart also ...no luck. :(

What to do , just thought of the fluid model and right clicked the item. Great!!!
I got what I wanted , the icon got selected and I was able to select from a set of options , whether to uninstall/ pin/unpin/ clear the selection and I was able to do what I wanted , the icon got removed from the start page.

Recap: To unpin/uninstall an app from start page:

Step 1: Right click on the icon.

Step 2: Select from the options that appear on the bottom of the screen.

Step 3 : You are done , sit relaxed.
 

Windows 8 : Useful tips

Tip 1: Ways to Close Apps in Windows 8
Started using Windows 8 , earlier was having a little trouble but now I am finding myself too comfortable.

First 2 hrs, I struggled to close the open application , but then figured out the ways.

Four ways to close an app in Windows 8
1. Touch tablet or laptop, touch your finger on the top of the screen and drag it all the way to the bottom.
    It will minimize and move the app from your way.
2. In case you have traditional system, point your mouse on the top of the screen and drag it all the way down. When you point the mouse to the top of the screen, you can see the cursor is changing.
3.  ALT key + F4.
4.  ALT+CTRL+DEL and kill the app using the task manager.

 Tip 2: Get rid of initial password screen

If you are using Windows 8 in your home PC and you want to bypass the initial password page that pops-up whenever you logon to Windows 8 , here are 10 easy steps to bypass it.

1. Restart your PC.

2. In the Password screen enter your password.

3. Hold Windows key + X.

4. You get a pop-up

5. Start the command prompt in administrator mode.

6. On the screen type-in control userpasswords2

7. Press Enter.

5. Next screen, uncheck 'Users must enter a user name and password to use this computer'.

6. Click OK.

7. When prompted enter your password.

8. When prompted enter your password.

9. Restart.

10. And you are not prompted with the password again.

I couldn't take screen shots , nor was I able to take a video while doing this.

But will take a video next time , when trying to enable the username/pwd screen again and share it.

Monday 5 November 2012

Macros Vs Package Vs AddIns - Visual Studio

To extend visual studio there are three options provided by Microsoft in VS 2010
a. Macros
b. Package
c. Add-Ins

In this article let us see what are these three different options to extend visual studio and  what are the various features available and which one is better?

What is a Macro??

A macro is a series of commands and instructions that you group together as a single command to accomplish a task automatically.
Macros allow you to automate repetitive actions.
Visual Studio includes the Macros integrated development environment (IDE), which is used solely for creating, manipulating, editing, and running macros.
The Macros IDE is separate from the Visual Studio IDE.

What is an Add-In??

 An add-in is a compiled DLL that runs inside the Visual Studio integrated development environment (IDE).
The fact that it is compiled protects your intellectual property and improves performance.
While you can create add-ins manually, it is far easier to use the Add-In Wizard through Visual Studio.
The Add-In Wizard creates an add-in with a fully functional but basic framework that you can run immediately after you create it and later you can customize is for your benefits.


What is a Package??

 Package is another extensibility feature offered by Microsoft.
The majority of Visual Studio’s functions you use in your everyday work (such as programming languages, editors, designers and debuggers) are provided by Visual Studio Integration Packages, or shortly by packages.
They are called VSIP/VSIX packages.
VSIP acronym is overloaded: while the first two letters means “Visual Studio” the last two may mean either “Integration Package” or “Industry Partner”.
VISX is Visual Studio eXtensibility.