472,129 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,129 software developers and data experts.

how to save a picture object embed in word as a file ?help!!

ÇçÌì
I have a word document and it has a picture object, I want save the picture
object as other single picture file by C# program. I have a idea, by
clipboard, copy the picture to clipboard, and then save as a file from
clipboard, it is work well in application,but don't work in a web
application. how can I to do? and are there other ideas to save the picture
object in web application?
help me !!
Nov 21 '05 #1
2 2346
zheng,

You aren't going to be able to access a running program from a web
application. The security restrictions are pretty overwhelming.

I would resort to unmanaged code, and an active x control embedded in
the page to do this, since you won't have to worry about security then (but
it's a tough sell, since Active X controls have free reign to do what they
want, and people should avoid them when possible, at least, for embedding in
web pages).

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"zheng" <cc****@163.com> wrote in message
news:O0**************@tk2msftngp13.phx.gbl...
ÇçÌì
I have a word document and it has a picture object, I want save the
picture
object as other single picture file by C# program. I have a idea, by
clipboard, copy the picture to clipboard, and then save as a file from
clipboard, it is work well in application,but don't work in a web
application. how can I to do? and are there other ideas to save the
picture
object in web application?
help me !!

Nov 21 '05 #2
Nicholas Paldino ,
Thanks for your helps.
I think I don't describe my question exactly.and the question is, I will
upload a word
file to web server, and then web application import the contents in the word
file to the database, if the word file contains picture object ,and the web
application will save the picture object to a picture file. all the process
will run in the web server ,not in client, and when I get the characters in
the word file it is ok,so I think there is less the probability of the
security reason.
Wish your answer. thanks!

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> дÈëÏûÏ¢
news:e#*************@TK2MSFTNGP15.phx.gbl...
zheng,

You aren't going to be able to access a running program from a web
application. The security restrictions are pretty overwhelming.

I would resort to unmanaged code, and an active x control embedded in
the page to do this, since you won't have to worry about security then (but it's a tough sell, since Active X controls have free reign to do what they
want, and people should avoid them when possible, at least, for embedding in web pages).

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"zheng" <cc****@163.com> wrote in message
news:O0**************@tk2msftngp13.phx.gbl...
ÇçÌì
I have a word document and it has a picture object, I want save the
picture
object as other single picture file by C# program. I have a idea, by
clipboard, copy the picture to clipboard, and then save as a file from
clipboard, it is work well in application,but don't work in a web
application. how can I to do? and are there other ideas to save the
picture
object in web application?
help me !!


Nov 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by danny van elsen | last post: by
2 posts views Thread by Lyn | last post: by
11 posts views Thread by sandeepkedlaya | last post: by
reply views Thread by =?Utf-8?B?S2ltIFM=?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.