Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #1029

Operation Requires Elevation

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From R C Nesbit <spam@ukrm.net>
Newsgroups comp.lang.basic.visual.misc
Subject Operation Requires Elevation
Date Thu, 29 Mar 2012 13:42:05 +0100
Organization SpamTrap
Lines 28
Message-ID <VA.00003a8b.3e017238@ukrm.net> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-1
Content-Transfer-Encoding 8bit
X-Trace individual.net F2G/ZvnQotXsdhuTJ4hoqgDqRwP+pqXH2WxiXzfuSlrcw1eCZj
Cancel-Lock sha1:lLKu2iF0PkBVaCZgP5/yUGYMRM4=
X-Newsreader Virtual Access Open Source http://www.virtual-access.org/
Xref csiph.com comp.lang.basic.visual.misc:1029

Show key headers only | View raw


I have a VB6 app which is running quite happily in a number 
of mixed (XP/Vista?W7/2008) environments in a number of 
sites.

One W7 machine recently fried it's HDD and had to be 
completely re-installed from scratch.

It is running my app. from a share on a Vista machine.  
After a few stumbles we finally persuaded it to run Fine, 
except when it wants to generate an output via an excel 
template.

Code snipet:

Set oExcel = New Excel.Application
Set oWB = oExcel.Workbooks.Open(sFile)
Set oWS = oWB.ActiveSheet

'sFile' is a .xlt file in app.path\Templates on the server.

This machine fails every time, and my error log reports:
"the requested operation requires elevation"

-- 
Rob Pearson


Back to comp.lang.basic.visual.misc | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Operation Requires Elevation R C Nesbit <spam@ukrm.net> - 2012-03-29 13:42 +0100
  Re: Operation Requires Elevation "Mayayana" <mayayana@invalid.nospam> - 2012-03-29 09:34 -0400
  Re: Operation Requires Elevation ralph <nt_consulting64@yahoo.net> - 2012-03-29 08:33 -0500

csiph-web