Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 17, 2010 11:24 AM by pauldaniel
0 Points
2 Posts
May 07, 2010 10:33 AM|LINK
Hi all,
I am newbie here and sorry if I post at wrong section if I did it.
May I know how to do that in vb.net?
I try response.addheader but it seems this can only work but cannot save the image file to my document. Thanks a lot.
All-Star
86665 Points
9634 Posts
Moderator
MVP
May 07, 2010 12:15 PM|LINK
It's very simple. Here is one article in C#:
http://www.codeasp.net/blogs/vivek_iit/microsoft.net/157/export-asp.net-page-to-word--excel-or-pdf
You can translate that to VB using a C# -> VB code translator like this:
http://www.carlosag.net/Tools/CodeTranslator/
May 10, 2010 02:30 AM|LINK
hi Darrell,
Thank you for your solution.
However, I encounter a problem which the image file is not save inside the document file.
How do I include the image inside the document file?
Thanks a lot.
Contributor
2092 Points
342 Posts
May 17, 2010 11:24 AM|LINK
Refer this link
http://geekswithblogs.net/vivek/archive/2006/09/26/92316.aspx
pauletaphoon
0 Points
2 Posts
How to save a web page(image included) as .doc file in vb.net
May 07, 2010 10:33 AM|LINK
Hi all,
I am newbie here and sorry if I post at wrong section if I did it.
May I know how to do that in vb.net?
I try response.addheader but it seems this can only work but cannot save the image file to my document.
Thanks a lot.
DarrellNorto...
All-Star
86665 Points
9634 Posts
Moderator
MVP
Re: How to save a web page(image included) as .doc file in vb.net
May 07, 2010 12:15 PM|LINK
It's very simple. Here is one article in C#:
http://www.codeasp.net/blogs/vivek_iit/microsoft.net/157/export-asp.net-page-to-word--excel-or-pdf
You can translate that to VB using a C# -> VB code translator like this:
http://www.carlosag.net/Tools/CodeTranslator/
Darrell Norton's Blog
Please click "Mark as Answer" if this helped you.
pauletaphoon
0 Points
2 Posts
Re: How to save a web page(image included) as .doc file in vb.net
May 10, 2010 02:30 AM|LINK
hi Darrell,
Thank you for your solution.
However, I encounter a problem which the image file is not save inside the document file.
How do I include the image inside the document file?
Thanks a lot.
pauldaniel
Contributor
2092 Points
342 Posts
Re: How to save a web page(image included) as .doc file in vb.net
May 17, 2010 11:24 AM|LINK
Refer this link
http://geekswithblogs.net/vivek/archive/2006/09/26/92316.aspx
http://www.dotcominfoway.com/