Office Development with VS 2010

Get up to date with office development on .net platform with Somasegar’s post here

My personal favourite is simplification of .net’s integration with COM’s OM.

As per the example posted in Somasegar’s blog.

Instead of doing the following

object fileName = “Test.docx”;

object missing = System.Reflection.Missing.Value;

doc.SaveAs(ref fileName,

ref missing, ref missing, ref missing,

ref missing, ref missing, ref missing,

ref missing, ref missing, ref missing,

ref missing, ref missing, ref missing,

ref missing, ref missing, ref missing);

You can do with VS 2010

object fileName = “Test.docx”;

doc.SaveAs(fileName);

3 Comments

  1. CheapTabletsOnline.com. Canadian Health&Care.Special Internet Prices.No prescription online pharmacy.Best quality drugs. Online Pharmacy. Order drugs online

    Buy:Human Growth Hormone.Zyban.Actos.Prednisolone.100% Pure Okinawan Coral Calcium.Lumigan.Mega Hoodia.Zovirax.Valtrex.Petcam (Metacam) Oral Suspension.Accutane.Synthroid.Arimidex.Prevacid.Retin-A.Nexium….

  2. CheapTabletsOnline.com. Canadian Health&Care.No prescription online pharmacy.Special Internet Prices.Best quality drugs. Low price drugs. Buy pills online

    Buy:Lipothin.Benicar.Female Pink Viagra.Zocor.Cozaar.Advair.Buspar.Wellbutrin SR.Nymphomax.Acomplia.Ventolin.Seroquel.Aricept.Prozac.Lasix.SleepWell.Zetia.Lipitor.Female Cialis.Amoxicillin….

  3. NEW FASHION store. Original designers collection at low prices!!! 20 % TO 70 % OFF. END OF SEASON SALE!!!

    BUY FASHION. TOP BRANDS: GUCCI, DOLCE&GABBANA, BURBERRY, DIESEL, ICEBERG, ROBERTO CAVALLI, EMPORIO ARMANI, VERSACE…

Your email address will not be published.