From: dvholten on 17 Jun 2010 01:38 hi there, i try to control excel from vb.net to fill some cells and print a worksheet. after lots of searching everything works - almost: the whole thing works fine when the app is started by an administrator. i get error-message E_NOINTERFACE when running it as normal user. Somewhere in the docs for the office-interop-libs i found a remark 'using the interop-dlls requires administrator privilegs'. i assume, the problem is a dll-usage- or registry-lookup-right. any chance to bypass the admin-requirement for interop-dll? my environment is: vs2008, vb.net, xp sp3, office xp (2002) greetings dvh
From: kevinp on 21 Jun 2010 19:15 I use it in my program and none of my users is an administrator. Excel has to be installed on all the computers it's used on. And if you're users have Vista or Win7, you have to make sure to create the Excel file in the user's local folder and not under Program Files. On Thu, 17 Jun 2010 07:38:18 +0200, dvholten <info(a)dvholten.de> wrote: >hi there, >i try to control excel from vb.net to fill some cells and print a >worksheet. after lots of searching everything works - almost: the >whole thing works fine when the app is started by an administrator. >i get error-message E_NOINTERFACE when running it as normal user. >Somewhere in the docs for the office-interop-libs i found a remark >'using the interop-dlls requires administrator privilegs'. >i assume, the problem is a dll-usage- or registry-lookup-right. >any chance to bypass the admin-requirement for interop-dll? >my environment is: vs2008, vb.net, xp sp3, office xp (2002) >greetings >dvh
|
Pages: 1 Prev: Simple hack to get $600 to your home. Next: Correction needed in Copy File code |