In .Net Package Class act as a container that holds multiple types of objects in the hierarchical manner. Each object in hierarchy of Package is known as its Part. Essentially, this Class eases the access of a package and its parts in more efficient and useful manner. .Net 3.0 introduced a new assembly named windowsbase.dll which contains the System.IO.Packaging Namespace. This assembly is required for accessing the functionality of Packaging Classes. You may need to reference the assembly in Visual Studio before adding the namespace in your Asp.Net page. The default location is C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0 Once reference is added you can use open method of Package class to open a package. Given below is the method to open a XLSX Document using the Package class open method.

Public Function OpenPackage(ByVal XLSXPath As String) As Boolean
    Dim oXlPackage As Package
    If XLSXPath <> "" Then
        oXlPackage = Package.Open(oPath, FileMode.Open, FileAccess.ReadWrite)
    End If
End Function

Package is a abstract class, ZipPackage is derived from Package that is used by the open method by default. Its mean ZipPackage is default type of Package and this is used by open method.

Posted on Monday, September 17, 2007
comment Comments [0]

ALTOVA’s XMLSpy is now supporting working with Open XML Formats

“XMLSpy allows you to extract, edit, transform, and process the XML data stored in Office 2007 files (as well as any other zipped archive). These capabilities allow developers to work with the vast amount of data stored as XML in Word 2007 and Excel 2007 documents with full validation, intelligent entry helpers, and other useful features, and develop XSLT and XQuery transformations to publish the data or utilize it in other applications.”

ScreenShots of application:



Apart from intelligent editing feature it has functionality to add/delete document directly in the zip document. This is really cool.



Download the free version of XMLSpy
Posted on Friday, June 15, 2007
comment Comments [3]


Navigation


Calendar Archives

<August 2008>
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456

Post Timeline
Calendar with Post


Tags Cloud of Tags

.Net (10) dasBlog (8) Geek Stuff (6) Google (2) Microsoft (10) Misc (11) Musings (21) News (15) Office Open XML (2) Personal (30) Technical (8) Tweaking (2) Windows (1)

External Favorites Blogroll

Last.Fm Recent Tracks

  1. Neil Young - Rockin' in the Free World
  2. Neil Young - After the Gold Rush
  3. Neil Young & Crazy Horse - Down By The River
  4. Neil Young - Harvest Moon
  5. Neil Young - Rockin' in the Free World
  6. Neil Young & Crazy Horse - Hey Hey, My My (Into the Black)
  7. Neil Young & Crazy Horse - Cinnamon Girl

Aakash's Last.Fm Profile Powered by Audioscrobbler

Last.Fm Shoutbox

  1. SINTU: hi
  2. GOOD: good
  3. GOOG: goof
  4. JAYANT @: hii,when i connect internet in my compaq presario c700 my orkut site and youtube.com are hacked a msg is open with laughing sound and say u are hacked. pls... give me an solution for remove it.
  5. LLLAAAQ: i am using the A933tu presario lap. my problem is when i am connecting internet through my lap the data receiving is so slow.but when i connecting internet thru my pc its on its best speed.what is my problem?is there any solution? reply pls...
  6. SHAFI @: i want to install xp on comapq prsario a933tu . please tell me where i can find the audio drivers for the same
  7. VICKY: help me plz?
  8. VICKY: I have installed XP in Compaq Presario 707TU Laptop. I have configured audio as below. Install Microsoft UAA sp31994, then install High-definition audio driver sp33443. But I get the error message "Driver Installation Failed: Could not find the MEDIA device for this driver."
  9. VICKY: help me?
  10. VICKY: I have installed XP in Compaq Presario 707TU Laptop. I have configured audio as below. Install Microsoft UAA sp31994, then install High-definition audio driver sp33443. But I get the error message "Driver Installation Failed: Could not find the MEDIA device for this driver."
  11. TEST: Hi! Testing
  12. PIYUSH: how did you develop this?
  13. PSC_25: gr8....solved my problems in jiffy....thanx
  14. CHUCK NORRIS: This is a great plugin!
  15. PETER: Who are you?
  16. AAKASH: hi
  17. HARSH: very helpful...link 4 video driver hs expired..cud u pls giv a new link
  18. SURAJIT: You are realy intelegent person.
  19. DINESH @: thank you for your support
  20. HAHA: shits!
  21. ERIC REYES @: i bought compaq c733tu, do you have audio driver?
  22. ROHITASH @: pls send Compaq presario C700 sound and modem drivers
  23. SUMESH @: pls send compaq nx5000 al drivers
  24. S P JAIN: hi
  25. SHADAB @: hi hi hi hi
  26. FARAZ: hi..........
  27. BRZA: Hi
  28. HAMID: hi lee
  29. HAMID: hi..
  30. LEE: hi

View Aakash Jain's profile on LinkedIn
Follow me
My Bookmarks


Powered by

newtelligence dasBlog 2.0.7226.0



Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Sign In