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


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

Operation Requires Elevation

From R C Nesbit <spam@ukrm.net>
Newsgroups comp.lang.basic.visual.misc
Subject Operation Requires Elevation
Date 2012-03-29 13:42 +0100
Organization SpamTrap
Message-ID <VA.00003a8b.3e017238@ukrm.net> (permalink)

Show all headers | 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


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