I was unable to modify the boot order and defaults from within XP. Vista uses a new system. So, if you wish to remove Vista, be very careful. Don't just blunder in from XP and remove the partition... The technique that I used was to boot off the XP CD and enter a recovery console. Then, after logging is as administrator, type FIXBOOT followed by FIXMBR and exit to reboot. It goes without saying that you should be sure that you have a backup before doing this. You do, don't you? This will get you back to your original XP boot process.
How Can I Clear the List of URLs That Appear in the Internet Explorer Address Bar? Q Hey, Scripting Guy! How can I clear the list of URLs that appear in the Internet Explorer address bar? -- GA A Hey, GA. You know, if you’ve ever pondered the question, “What is it that makes the Scripting Guys different from other Microsoft employees?” well, we can save you some time and trouble by just giving you the answer: the Scripting Guys are dumber than other Microsoft employees. For example, it turns out that the list of URLs that appear in the Internet Explorer address bar drop-down list are stored in the registry; to be more specific, they are stored in this registry key:HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs
private void Form1_Load(object sender, EventArgs e) { //declare connection string string cnString = @"Data Source=(local);Initial Catalog=northwind;" + "User Id=northwind;Password=northwind"; //use following if you use standard security //string cnString = @"Data Source=(local);Initial //Catalog=northwind; Integrated Security=SSPI"; //declare Connection, command and other related objects SqlConnection conReport = new SqlConnection(cnString); SqlCommand cmdReport = new SqlCommand(); SqlDataReader drReport; DataSet dsReport = new dsEmployee(); try { //open connection conReport.Open(); //prepare connection object to get the data through reader and // populate into dataset cmdReport.CommandType = CommandType.Text; cmdReport.Connection = conReport; cmdReport.CommandText = "Select FirstName + ' ' + Lastname AS EmployeeName, EmployeeID, ReportsTo From Employees"; //read data from command object drReport = cmdReport.ExecuteReader(); //new cool thing with ADO.NET... load data directly from reader // to dataset dsReport.Tables[0].Load(drReport); //close reader and connection drReport.Close(); conReport.Close(); //provide local report information to viewer reportViewer.LocalReport.ReportEmbeddedResource = "RecursiveData.rptRecursiveData.rdlc"; //prepare report data source ReportDataSource rds = new ReportDataSource(); rds.Name = "dsEmployee_dtEmployee"; rds.Value = dsReport.Tables[0]; reportViewer.LocalReport.DataSources.Add(rds); //load report viewer reportViewer.RefreshReport(); } catch (Exception ex) { //display generic error message back to user MessageBox.Show(ex.Message); } finally { //check if connection is still open then attempt to close it if (conReport.State == ConnectionState.Open) { conReport.Close(); } } }
Microsoft Windows Forms QuickStarts Tutorial: "classid='http:SimpleControl.dll#Microsoft.Samples.WinForms.Cs.SimpleControl.SimpleControl' height='300' width='300' VIEWASTEXT> "
WHILE @lngLoopCount <> 0BEGIN SET @strTabName = (SELECT strTableName FROM #tTables WHERE numID = @lngLoopCount) EXEC sp_spaceused @strTabName SET @lngLoopCount = @lngLoopCount - 1END