Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - How to store XPS in SQL

 
 
Old 07-31-2006   #1 (permalink)
Sam Jost


 
 

How to store XPS in SQL

I'd like to store XPS documents in an SQL database.

In the Package/ZipPackage documentation is a hint that a package could
be created to store XPS in SQL, but there is no clue how to do this -
maybe someone can point me to an example here?

Or might it be easier just to store the xps in a tmpfile and copy these
binary file into the database?

Thanks,
Sam


My System SpecsSystem Spec
Old 08-10-2006   #2 (permalink)
Feng Yuan [MSFT]


 
 

Re: How to store XPS in SQL

XPS files are just binary files in .zip format, so storing them in SQL would
be the same as storing any binary file.

--
Feng Yuan [MSFT] http://blogs.msdn.com/fyuan

"Sam Jost" <radeldudel@gmail.com> wrote in message
news:1154338804.687478.209120@75g2000cwc.googlegroups.com...
> I'd like to store XPS documents in an SQL database.



My System SpecsSystem Spec
Old 08-17-2006   #3 (permalink)
Sam Jost


 
 

Re: How to store XPS in SQL

as I wrote, according to the Package/ZipPackage docs a better way to
store XPS into a SQL database might be to subclass Package for
SqlPackage.

Creating the ZipPackage as temporary file and insert it into the
database as blob does work as well, but is a bit inconvenient since one
always needs to create the temporary storage for this.

Pity is, the docs just hint at SqlPackage, there is not much
information what a subclass of package would need to do.


Feng Yuan [MSFT] schrieb:

> XPS files are just binary files in .zip format, so storing them in SQL would
> be the same as storing any binary file.
>
> --
> Feng Yuan [MSFT] http://blogs.msdn.com/fyuan
>
> "Sam Jost" <radeldudel@gmail.com> wrote in message
> news:1154338804.687478.209120@75g2000cwc.googlegroups.com...
> > I'd like to store XPS documents in an SQL database.


My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Message Store Vista mail
Virtual Store Vista General
Store location Live Mail
MS Message Store Vista mail
Virtualized Store??? Vista file management


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46