A
Abhishek
Hi!
I have a problem. I need to convert word doc pages to Jpegs and I am facing
a very starnge issue.
I have tried an approach that fails on windows server 2K3 where as works
fine on XP systems. Since I need to deploy my app on the server I am facing
this issue.
I have tried the following code in C# as well as VB6 and VBA. It fails in
all 3 on the win2K3 server where as works perfectly in WinXP.
Dim oPageStart As Word.Range
oPageStart.Sections(1).Range.Bookmarks("\page").Range.Select
Clipboard.Clear
oPageStart.Sections(1).Range.Bookmarks("\page").Range.Copy '(Both The
option s Copy as well as Copy ASPicture)
oPageStart.Sections(1).Range.Bookmarks("\page").Range.CopyAsPicture
SavePicture Clipboard.GetData(), ImgName 'This gives an error "Invalid
Property Value" in Win2K3
Is there something that I am missing that is required for Win2K3
Does anyone have a better or a different solution. Please help.
I have a problem. I need to convert word doc pages to Jpegs and I am facing
a very starnge issue.
I have tried an approach that fails on windows server 2K3 where as works
fine on XP systems. Since I need to deploy my app on the server I am facing
this issue.
I have tried the following code in C# as well as VB6 and VBA. It fails in
all 3 on the win2K3 server where as works perfectly in WinXP.
Dim oPageStart As Word.Range
oPageStart.Sections(1).Range.Bookmarks("\page").Range.Select
Clipboard.Clear
oPageStart.Sections(1).Range.Bookmarks("\page").Range.Copy '(Both The
option s Copy as well as Copy ASPicture)
oPageStart.Sections(1).Range.Bookmarks("\page").Range.CopyAsPicture
SavePicture Clipboard.GetData(), ImgName 'This gives an error "Invalid
Property Value" in Win2K3
Is there something that I am missing that is required for Win2K3
Does anyone have a better or a different solution. Please help.