Adobe PDF From Browser - IE/Firefox/Chrome

http://social.technet.microsoft.com/Forums/en/w7itproappcompat/thread/643d0937-31ee-45f3-a73f-2c27c315d0a1

See how frustrated it can be? Here are a few of the solutions provided..

“I have the same problem. I found a workaround -
Close IE
Open Adobe Reader as an application from the start menu
Under the Edit menu, select Preferences
Under the internet category, uncheck the first option “Display PDF in browser”.
This will cause the pdf file to download and new window to open whenever you click on a PDF file (you may have to click the OK to download to allow the PDF file to download), but you should be able to save.
I found that some websites would not allow the file to download even though I clicked the OK to download button. For those websites, I had to change the setting back to open in browser. Also for those websites, the save button works. Rather inconvenient if you go between the two websites.” Cal Irish

“I have a client who is an attorney who was have the same issue saving a document from:

https://ecf.vtd.uscourts.gov

I found that if I added the site to my trusted sites and lowered my settings in IE to medium low for trusted sites, I was able to save the Acrobat documents.” Charles05663

C# DataGridView Insert/Update/Delete

A nice tutorial here..

“public partial class DataTrialForm : Form
{
private String connectionString = null;
private SqlConnection sqlConnection = null;
private SqlDataAdapter sqlDataAdapter = null;
private SqlCommandBuilder sqlCommandBuilder = null;
private DataTable dataTable = null;
private BindingSource bindingSource = null;
private String selectQueryString = null;

public DataTrialForm()
{
InitializeComponent();”

“private void DataTraiForm_Load(object sender, EventArgs e)
{
connectionString = ConfigurationManager.AppSettings["connectionString"];
sqlConnection = new SqlConnection(connectionString);
selectQueryString = “SELECT * FROM t_Bill”;

sqlConnection.Open();

sqlDataAdapter = new SqlDataAdapter(selectQueryString, sqlConnection);
sqlCommandBuilder = new SqlCommandBuilder(sqlDataAdapter);

dataTable = new DataTable();
sqlDataAdapter.Fill(dataTable);
bindingSource = new BindingSource();
bindingSource.DataSource = dataTable;

dataGridViewTrial.DataSource = bindingSource;

// if you want to hide Identity column
dataGridViewTrial.Columns[0].Visible = false;
}”

C# searching a string from a list

“Ever wonder how you use a Predicate Delegate to make the Find function work? Well I was wondering as well, so I found the following useful snippet on MSDN: http://msdn2.microsoft.com/en-us/library/x0b5b5bc.aspx

using System;
using System.Collections.Generic;

public class Example
{
public static void Main()
{
List dinosaurs = new List();

dinosaurs.Add(“Compsognathus”);
dinosaurs.Add(“Amargasaurus”);
dinosaurs.Add(“Oviraptor”);
dinosaurs.Add(“Velociraptor”);
dinosaurs.Add(“Deinonychus”);
dinosaurs.Add(“Dilophosaurus”);
dinosaurs.Add(“Gallimimus”);
dinosaurs.Add(“Triceratops”);

Console.WriteLine();
foreach(string dinosaur in dinosaurs)
{
Console.WriteLine(dinosaur);
}

Console.WriteLine(“nTrueForAll(EndsWithSaurus): {0}”,
dinosaurs.TrueForAll(EndsWithSaurus));

Console.WriteLine(“nFind(EndsWithSaurus): {0}”,
dinosaurs.Find(EndsWithSaurus));

Console.WriteLine(“nFindLast(EndsWithSaurus): {0}”,
dinosaurs.FindLast(EndsWithSaurus));

Console.WriteLine(“nFindAll(EndsWithSaurus):”);
List sublist = dinosaurs.FindAll(EndsWithSaurus);

foreach(string dinosaur in sublist)
{
Console.WriteLine(dinosaur);
}

Console.WriteLine(
“n{0} elements removed by RemoveAll(EndsWithSaurus).”,
dinosaurs.RemoveAll(EndsWithSaurus));

Console.WriteLine(“nList now contains:”);
foreach(string dinosaur in dinosaurs)
{
Console.WriteLine(dinosaur);
}

Console.WriteLine(“nExists(EndsWithSaurus): {0}”,
dinosaurs.Exists(EndsWithSaurus));
}

// Search predicate returns true if a string ends in “saurus”.
private static bool EndsWithSaurus(String s)
{
if ((s.Length > 5) &&
(s.Substring(s.Length – 6).ToLower() == “saurus”))
{
return true;
}
else
{
return false;
}
}
}

/* This code example produces the following output:

Compsognathus
Amargasaurus
Oviraptor
Velociraptor
Deinonychus
Dilophosaurus
Gallimimus
Triceratops

TrueForAll(EndsWithSaurus): False

Find(EndsWithSaurus): Amargasaurus

FindLast(EndsWithSaurus): Dilophosaurus

FindAll(EndsWithSaurus):
Amargasaurus
Dilophosaurus

2 elements removed by RemoveAll(EndsWithSaurus).

List now contains:
Compsognathus
Oviraptor
Velociraptor
Deinonychus
Gallimimus
Triceratops

Exists(EndsWithSaurus): False
*/

Hopefully we remember this at some point :)

Source : . Thanks!

Choosing The Right Printer Paper For Your Needs | printer paper,paper weight,paper brightness rating,printer paper weight

Many people think that it isn’t important what kind of printer paper they use. Paper is paper right? I would have to disagree. First, you need to figure out what you are going to use the paper for. The second thing to determine is the right kind of paper for the kind of printer you own. Not all paper is suitable for all kinds of printers.

When buying printer paper, there are a number of factors to consider. These include the brightness rating, the weight of the paper and the purpose it was designed for. We will consider each of these factors in turn below.

What is the brightness rating?

Brightness of the paper refers to how well the paper reflects light. Many people confuse whiteness with brightness. The higher the brightness rating of a page, the more vibrant and alive the colors printed on it will appear. The brightness rating of the page can make the difference between a dull looking picture and a picture that looks alive and ready to jump off the page. Whiteness refers to the actual shade of color of the paper and how close it is to pure white.

Paper weight – What does it matter?

The paper weight rating is determined by the weight in pounds of a ream of 500 sheets of that particular paper type. In most other countries other than the United States, the weight rating is in grams instead of pounds.

The heavier the paper rating, the thicker and heavier each sheet of paper will be. What does that mean in practical terms? First, the paper will feel more substantial in your hand. The heavier the paper, the stiffer it will feel in your hand. Second, it is less likely to jam in the printer while printing. Third, it tends to feel more professional to the average person. Combining a good paper weight with a high brightness rating makes for a good foundation for printing that important presentation of yours on.

Choosing the right Paper on Purpose

To get the very best results, you choose look to choose paper based on what you plan to do with it. All purpose paper is generally the cheapest kind of paper but it also tends to give you poorer results when printing pictures or color on it. Printer paper designed to go through an inkjet printer will generally preform better on an inkjet printer than general purpose paper will. It is more expensive but the results speak for themselves. Inkjet printer paper is also usually treated with a special coating that will allow the color to stay bright and not simply get absorbed into the paper leading to a dull photo. Remember the purpose of the paper when you make your next paper purchase.

Understanding the paper brightness rating, the paper weight rating and the papers’ stated purpose will go a long way towards your being able to get the most from your printer paper now and in the future.