Start Up Tip….


Just go to

My Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

Published in: on 18 October, 2010 at 3:19 PM  Leave a Comment  

No Hopes on Tomorrow,Live(ing) Today.


Constantly Losing hopes on tomorrow due to war with health.So Living Today Fully.

Enjoying Every Moment…!!!

Wishing My Dream to come alive, To Spend  Days in journey traveling South India n Speaking in their regional languages.

Published in: on 22 July, 2010 at 6:30 PM  Leave a Comment  

100% Surprise Accident…!!!


Its True Accident Happened on Madanpalle to Tirupati Road.

Last Surprise,no damage done to any one travelling in car. LUCKY PEOPLE.

Reference/Source: My Younger Brother.

Published in: on 17 June, 2010 at 1:19 AM  Comments (1)  

How to access Radio Button inside GroupBox in WPF.


In my daily work i got a chance to check into this way,asking to get selected Radio Button inside a GroupBox.Here is the way how i did it.  

Just Created a New GroupBox and used Grid for alligning RadioButton Controls inside it.Finally added 3 Radio Buttons inside it as below and after clicking Submit Button i am just calling a method to evealuate n fetch the Selected RadioButton insideGropuBox.  

<GroupBox Name=”grpBox”> 
 <Grid> <Grid.RowDefinitions><RowDefinition Height=”20″></RowDefinition><RowDefinition Height=”20″></RowDefinition><RowDefinition Height=”20″></RowDefinition><RowDefinition Height=”80″></RowDefinition></Grid.RowDefinitions> <RadioButton Name=”r1″ Content=”1″ Grid.Row=”0″ HorizontalAlignment=”Center”/><RadioButton Name=”r2″ Content=”2″ Grid.Row=”1″ HorizontalAlignment=”Center”/> <RadioButton Name=”r3″ Content=”3″ Grid.Row=”2″ HorizontalAlignment=”Center”/><Button Name=”btnSubmit” Content=”Submit” Height=”35″ Width=”125″ Grid.Row=”3″ Click=”btnSubmit_Click” /> </Grid></GroupBox> 

Codebehind Page:  

 

 private void btnSubmit_Click(object sender, RoutedEventArgs e)
        {
            findSelected(grpBox);
        }

        private void findSelected(GroupBox grpBox)
        {
            Grid gr = (Grid)grpBox.Content;
            UIElementCollection uiec = gr.Children;

            foreach (UIElement uelement in uiec)
            {
                if(typeof(RadioButton)== uelement.GetType())
                {
                    RadioButton rbtn = (RadioButton)uelement;
                    if ((bool)rbtn.IsChecked)
                    {
                        MessageBox.Show(“Slected Value: ” + rbtn.Content);
                    }
                }
            }
        }

 

Reference(more enhanced):

http://blog.developers.ba/category/C.aspx

Published in: on 9 June, 2010 at 1:17 AM  Leave a Comment  

How To Secure MS-Windows Password?


On my Windows Journey i found this useful n fun info. Usually everyone says easy to crack windows system password,offcourse but equally its possible to secure password 100% by following a few basic steps in a couple of minutes.

Generally, Password is stored in encrypted format in SAM file in System using a System Key which is stored in a file near SAM file(found near Windows32/System32/Config (OR) .WinNT/System32/Config ). Using Linux flavours one can copy system key into USB n decrypt it using some dictionary to fetch password.

Follow this Steps to Secure your Password:

1.Goto Start –> Run –> SysKey

2. A Small Pop-Up window appers saying already encryption is enabled.Yes,it will be for all flavours of windows other than Windows NT 4.0.Now Click on Update.

3.Select System Generated Password n Now click Store Startup Key on Floppy Disk.

Thats it. Now your System Key is stored onto USB.While Re-booting your System place it in USB port n enter your system normal account password.

Reference:  

http://support.microsoft.com/kb/310105

Published in: on 8 June, 2010 at 1:12 AM  Leave a Comment  
Follow

Get every new post delivered to your Inbox.