<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8188670377721402931</id><updated>2011-11-27T15:44:06.727-08:00</updated><category term='To Disabling the close(x) form in VB6'/><category term='Restore Database Backup'/><category term='Shutdown the system using the c#.net 2005'/><title type='text'>future of dotnet</title><subtitle type='html'>Future of Dotnet</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://futureofdotnet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188670377721402931/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://futureofdotnet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>sathis2251987</name><uri>http://www.blogger.com/profile/10043105006431006825</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_XVTZUvTj0bQ/SINALnKqCrI/AAAAAAAAAAU/Z3yAPCzMSng/S220/Water_Vague_by_Laurier012.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8188670377721402931.post-1423850383805474397</id><published>2009-09-02T00:21:00.000-07:00</published><updated>2009-09-02T00:26:59.368-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Restore Database Backup'/><title type='text'>SQL SERVER – Restore Database Backup using SQL Script (T-SQL)SQL SERVER – Restore Database Backup using SQL Script (T-SQL)</title><content type='html'>&lt;span style="font-family:courier new;"&gt;Database YourDB has full backup YourBaackUpFile.bak. It can be restored using following two steps.&lt;br /&gt;Database YourDB has full backup YourBaackUpFile.bak. It can be restored using following two steps.&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;Step 1&lt;/strong&gt;: Retrive the Logical file name of the database from backup.RESTORE FILELISTONLYFROM DISK = 'D:BackUpYourBaackUpFile.bak'GOStep 2: Use the values in the LogicalName Column in following Step.----Make Database to single user ModeALTER DATABASE YourDBSET SINGLE_USER WITHROLLBACK IMMEDIATE&lt;br /&gt;----Restore Database&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;RESTORE DATABASE YourDBFROM DISK = 'D:BackUpYourBaackUpFile.bak'WITH MOVE 'YourMDFLogicalName' TO 'D:DataYourMDFFile.mdf',MOVE 'YourLDFLogicalName' TO 'D:DataYourLDFFile.mdf'&lt;br /&gt;/*If there is no error in statement before database will be in multiusermode.If error occurs please execute following command it will convertdatabase in multi user.*/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ALTER DATABASE YourDB SET MULTI_USERGO: Retrive the Logical file name of the database from backup.RESTORE FILELISTONLYFROM DISK = 'D:BackUpYourBaackUpFile.bak'GO&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;strong&gt;Step 2&lt;/strong&gt;: Use the values in the LogicalName Column in following Step.----Make Database to single user ModeALTER DATABASE YourDBSET SINGLE_USER WITHROLLBACK IMMEDIATE&lt;br /&gt;----Restore DatabaseRESTORE DATABASE YourDBFROM DISK = 'D:BackUpYourBaackUpFile.bak'WITH MOVE 'YourMDFLogicalName' TO 'D:DataYourMDFFile.mdf',MOVE 'YourLDFLogicalName' TO 'D:DataYourLDFFile.mdf'&lt;br /&gt;/*If there is no error in statement before database will be in multiusermode.If error occurs please execute following command it will convertdatabase in multi user.*/ALTER DATABASE YourDB SET MULTI_USERGO&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8188670377721402931-1423850383805474397?l=futureofdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://futureofdotnet.blogspot.com/feeds/1423850383805474397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8188670377721402931&amp;postID=1423850383805474397' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188670377721402931/posts/default/1423850383805474397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188670377721402931/posts/default/1423850383805474397'/><link rel='alternate' type='text/html' href='http://futureofdotnet.blogspot.com/2009/09/sql-server-restore-database-backup.html' title='SQL SERVER – Restore Database Backup using SQL Script (T-SQL)SQL SERVER – Restore Database Backup using SQL Script (T-SQL)'/><author><name>sathis2251987</name><uri>http://www.blogger.com/profile/10043105006431006825</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_XVTZUvTj0bQ/SINALnKqCrI/AAAAAAAAAAU/Z3yAPCzMSng/S220/Water_Vague_by_Laurier012.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188670377721402931.post-2714883363349279561</id><published>2009-05-14T01:13:00.000-07:00</published><updated>2009-05-14T01:16:08.808-07:00</updated><title type='text'>Ea sports 09 screenshots</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_XVTZUvTj0bQ/SgvTHg3rowI/AAAAAAAAAB8/Uu-LHuG9xV0/s1600-h/02.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 162px;" src="http://3.bp.blogspot.com/_XVTZUvTj0bQ/SgvTHg3rowI/AAAAAAAAAB8/Uu-LHuG9xV0/s320/02.jpg" alt="" id="BLOGGER_PHOTO_ID_5335590309586510594" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_XVTZUvTj0bQ/SgvS8Ay-KWI/AAAAAAAAAB0/CKO1A5xfG58/s1600-h/01.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 234px;" src="http://4.bp.blogspot.com/_XVTZUvTj0bQ/SgvS8Ay-KWI/AAAAAAAAAB0/CKO1A5xfG58/s320/01.jpg" alt="" id="BLOGGER_PHOTO_ID_5335590111998257506" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;EA Sports 2009 Screenshot1                                  EA Sports 2009 Screenshot2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Videos will be post soonly............................&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8188670377721402931-2714883363349279561?l=futureofdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://futureofdotnet.blogspot.com/feeds/2714883363349279561/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8188670377721402931&amp;postID=2714883363349279561' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188670377721402931/posts/default/2714883363349279561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188670377721402931/posts/default/2714883363349279561'/><link rel='alternate' type='text/html' href='http://futureofdotnet.blogspot.com/2009/05/ea-sports-09-screenshots.html' title='Ea sports 09 screenshots'/><author><name>sathis2251987</name><uri>http://www.blogger.com/profile/10043105006431006825</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_XVTZUvTj0bQ/SINALnKqCrI/AAAAAAAAAAU/Z3yAPCzMSng/S220/Water_Vague_by_Laurier012.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XVTZUvTj0bQ/SgvTHg3rowI/AAAAAAAAAB8/Uu-LHuG9xV0/s72-c/02.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188670377721402931.post-491749279566556595</id><published>2009-04-27T03:02:00.000-07:00</published><updated>2009-04-27T03:08:23.841-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='To Disabling the close(x) form in VB6'/><title type='text'>To Disabling the close(x) form in VB6</title><content type='html'>Steps&lt;br /&gt;&lt;br /&gt;1) select the windows form properties&lt;br /&gt;&lt;br /&gt;2) In the properties select the controlbox=false and you can see the difference in the windows form&lt;br /&gt;&lt;br /&gt;3) executing the windows form u cannot see the any controls this is splash screen&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8188670377721402931-491749279566556595?l=futureofdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://futureofdotnet.blogspot.com/feeds/491749279566556595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8188670377721402931&amp;postID=491749279566556595' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188670377721402931/posts/default/491749279566556595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188670377721402931/posts/default/491749279566556595'/><link rel='alternate' type='text/html' href='http://futureofdotnet.blogspot.com/2009/04/to-disabling-close.html' title='To Disabling the close(x) form in VB6'/><author><name>sathis2251987</name><uri>http://www.blogger.com/profile/10043105006431006825</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_XVTZUvTj0bQ/SINALnKqCrI/AAAAAAAAAAU/Z3yAPCzMSng/S220/Water_Vague_by_Laurier012.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8188670377721402931.post-2443326236667798752</id><published>2008-10-06T02:49:00.001-07:00</published><updated>2008-10-07T00:14:02.176-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shutdown the system using the c#.net 2005'/><title type='text'>shutdown the system using c#</title><content type='html'>step 1: open the visual studio 2005&lt;br /&gt;   step 2 : select the c# and windows application&lt;br /&gt;   step3: after select add the  buttons like shutdown,restart,hibernate,logoff,force logoff,lock the computer&lt;br /&gt; step 4: inside the button for shutdown write the following and after clicking the button at the top of the page use the following class library &lt;span style="font-weight: bold;"&gt;using System.Runtime.InteropServices;&lt;/span&gt;&lt;br /&gt;and then add the following code  before&lt;br /&gt;&lt;br /&gt;public partial class MainForm : Form&lt;br /&gt;   {&lt;br /&gt;&lt;br /&gt;       // Importing Windows API library&lt;br /&gt;       [DllImport("user32.dll")]&lt;br /&gt;       public static extern void LockWorkStation();&lt;br /&gt;       [DllImport("user32.dll")]&lt;br /&gt;       public static extern int ExitWindowsEx(int uFlags, int dwReason);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;double click the shutdown code&lt;br /&gt;&lt;br /&gt;  private void btnShutdown_Click(object sender, EventArgs e)&lt;br /&gt;       {&lt;br /&gt;           if (DialogResult.Yes == MessageBox.Show("Do you really want to Shutdown?",     "Shutdown", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2))&lt;br /&gt;               ExitWindowsEx(1, 0);&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;double click the restart button&lt;br /&gt;private void btnReboot_Click(object sender, EventArgs e)&lt;br /&gt;       {&lt;br /&gt;           if (DialogResult.Yes == MessageBox.Show("Do you really want to Reboot?", "Reboot", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2))&lt;br /&gt;               ExitWindowsEx(2, 0);&lt;br /&gt;    &lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;for locking&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;private void btnLockComp_Click(object sender, EventArgs e)&lt;br /&gt;       {&lt;br /&gt;           LockWorkStation();&lt;br /&gt;         &lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;for force logoff&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;private void btnForceLogOff_Click(object sender, EventArgs e)&lt;br /&gt;       {&lt;br /&gt;           if (DialogResult.Yes == MessageBox.Show("Do you really want to force Log Off?", "Force LogOff", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2))&lt;br /&gt;               ExitWindowsEx(4, 0);&lt;br /&gt;       }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8188670377721402931-2443326236667798752?l=futureofdotnet.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://futureofdotnet.blogspot.com/feeds/2443326236667798752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8188670377721402931&amp;postID=2443326236667798752' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8188670377721402931/posts/default/2443326236667798752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8188670377721402931/posts/default/2443326236667798752'/><link rel='alternate' type='text/html' href='http://futureofdotnet.blogspot.com/2008/10/shutdown-system-using-c.html' title='shutdown the system using c#'/><author><name>sathis2251987</name><uri>http://www.blogger.com/profile/10043105006431006825</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://bp1.blogger.com/_XVTZUvTj0bQ/SINALnKqCrI/AAAAAAAAAAU/Z3yAPCzMSng/S220/Water_Vague_by_Laurier012.jpg'/></author><thr:total>0</thr:total></entry></feed>
