ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Deploying a application which uses Excel primary interop assemblie (https://www.excelbanter.com/excel-programming/346391-deploying-application-uses-excel-primary-interop-assemblie.html)

Ajey Ayachit

Deploying a application which uses Excel primary interop assemblie
 
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 dont want to install the entire office setup on Client machine.
Any idea for getting the runtime office dlls 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.

--
With Regards
Ajey Ayachit

Leith Ross[_322_]

Deploying a application which uses Excel primary interop assemblie
 

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


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=487554


Ajey Ayachit

Deploying a application which uses Excel primary interop assem
 
Yes definately I will appreciate to know the API's to the get height and
width of
Slide,Worksheet and word document.
--
With Regards
Ajey Ayachit


"Leith Ross" wrote:


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


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=487554




All times are GMT +1. The time now is 02:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com