Deploying a application which uses Excel primary interop assemblie

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have developed a windows application in vb.net which generates thumbnails
(JPG Files) for the word, excel and PowerPoint files.
In the application I retreive height and width of a slide,document and
worksheet.
When I deploy this application using a setup on client machine which does
not have Office installed on it the application fails.
I don’t want to install the entire office setup on Client machine.
Any idea for getting the runtime office dll’s or any other method through
which I can achieve this functionality.
I have already tried with installing MS Office viewers, Web components setup
for Office and Primary Interop assemblies for Office without office setup
installed.

Is there any other method through which I can get the height and width for a
office document.

Please let me know on the same.
 
Hello Ajey Ayachit,

To retrieve the height and width of the document would require using
various Windows API calls. You should be able to invoke them through
VB.Net. I can't tell you how, because I am not a VB.Net user. If you
are interested in using API calls to find this information, I will be
glad to assist you.

Sincerely,
Leith Ross
 
Yes definately I will appreciate to know the API's to the get height and
width of
Slide,Worksheet and word document.
 
Back
Top