The meaning of life...?

--- In [email protected], "ozzyapeman" <zoopf...@...> wrote:
>
> UAC turned off, now all scripts work again. No more mystery. Only the cold 
> hard facts of micro circuits and computer code.
> 
> You have taken all the mystery out of my life! Now what should I ponder on 
> rainy days?  :-)
> 
> 
> --- In [email protected], "Tomasz Janeczko" <groups@> wrote:
> >
> > Arghh... there is NO such thing as "mystery" in computers. You are 
> > attempting to do operation that requires elevation and you get 
> > the error because
> > Vista does not allow you to do that. That's all. It does not matter what 
> > version of AB you are using. All it matters is that you are
> > trying to do priviliged op. And "No files are written outside of the 
> > AmiBroker directory" is simply not true, because if you are not 
> > setting the current working directory
> > explicitely it may easily be C:\windows\ if you are using OLE from such 
> > folder and then all your relative paths may land there.
> > You may consult Microsoft web site about what operations require elevation 
> > in Vista (links were listed in my previous post).
> > That is entire story to it.
> > Short resolution: turn this stupidest "feature" of Vista (i.e. UAC) off or 
> > run AmiBroker with correct working directory set (from 
> > the shortcut, for example).
> > 
> > Best regards,
> > Tomasz Janeczko
> > amibroker.com
> > ----- Original Message ----- 
> > From: "ozzyapeman" <zoopfree@>
> > To: <[email protected]>
> > Sent: Sunday, September 06, 2009 7:27 PM
> > Subject: [amibroker] Re: Problem using Automation with AB 5.28.1
> > 
> > 
> > > Thanks TJ. I appreciate your feedback, as always.
> > >
> > > But the point I was trying to make is that I have been running AB fine 
> > > for many months on this Vista PC (starting with 5.10 FULL 
> > > install, then 5.20 FULL install, then upgrade to the various betas 
> > > thereafter).
> > >
> > > On each install and upgrade there were no problems - I could run my 
> > > automation scripts without incident. It's only with the latest 
> > > 5.28.1 that the scripts stopped working, giving the elevation error.
> > >
> > > No files are written outside of the AmiBroker directory. Everything was 
> > > installed there (again, FULL install). And then the 5.28.1 
> > > Beta upgrade was run, in the exact same way that I have run every other 
> > > upgrade since 5.20 (and I've installed all the betas, one 
> > > after another, as soon as they were available). Never had any problems 
> > > before, and that's why the current problem is a mystery.
> > >
> > >
> > >
> > >
> > > --- In [email protected], "Tomasz Janeczko" <groups@> wrote:
> > >>
> > >> Hello,
> > >>
> > >> No, you completely miss how User Access Control works on Vista. The fact 
> > >> that you are logged as admin on vista means NOTHING.
> > >> Admin is normally degraded on vista and has NO rights other than normal 
> > >> user unless it is elevated. On Vista unelevated Admin
> > >> account means nothing.
> > >> Admin can NOT even create single
> > >> file in C:\Program Files\ without elevation, you can not register OLE 
> > >> servers, ActiveX controls, and you can not write to 
> > >> registry
> > >> HKEY_LOCAL_MACHINE.
> > >> You really NEED to read about UAC.
> > >> http://en.wikipedia.org/wiki/User_Account_Control
> > >>
> > >> You are getting prompts because you either did not run FULL (not 
> > >> upgrade) setup of 5.20,
> > >> or you are attempting to create files inside C:\Program Files\ write to 
> > >> registry or such.
> > >>
> > >> You must run FULL setup and you MUST NOT write anything outside 
> > >> AmiBroker directory (as installed by FULL 5.20 setup) on the C:
> > >> drive,
> > >> otherwise you need elevation.
> > >>
> > >> Best regards,
> > >> Tomasz Janeczko
> > >> amibroker.com
> > >> ----- Original Message ----- 
> > >> From: "ozzyapeman" <zoopfree@>
> > >> To: <[email protected]>
> > >> Sent: Sunday, September 06, 2009 5:50 PM
> > >> Subject: [amibroker] Re: Problem using Automation with AB 5.28.1
> > >>
> > >>
> > >> >I had googled. My point is that I have always been using Vista, 
> > >> >automation has always worked with AB, and I've made no changes 
> > >> >on
> > >> >my PC to any Vista settings, and yet automation no longer works with AB 
> > >> >5.28.1
> > >> >
> > >> > So something might have changed with AB 5.28.1 vs 5.27 and previous 
> > >> > versions that somehow affects that script call.
> > >> >
> > >> > The elevation error usually refers to the requirement to run something 
> > >> > with administrator privileges. But I am already logged 
> > >> > in
> > >> > as administrator, and AB has always been installed under Admin.
> > >> >
> > >> >
> > >> >
> > >> > --- In [email protected], "paultsho" <paul.tsho@> wrote:
> > >> >>
> > >> >> google your message, you'll get a lot of hits. its a Vista problem. 
> > >> >> not a AB problem.
> > >> >>
> > >> >> --- In [email protected], "ozzyapeman" <zoopfree@> wrote:
> > >> >> >
> > >> >> > I recently upgraded to the 5.28.1 beta. I just notice that it no 
> > >> >> > longer
> > >> >> > works with my various scripts (which all worked fine with previous
> > >> >> > versions of AB).
> > >> >> >
> > >> >> > When I try to launch an external VBscript, to do some batch 
> > >> >> > optimizing,
> > >> >> > I get this script error:
> > >> >> >
> > >> >> > "The requested operation requires elevation"
> > >> >> >
> > >> >> > for this line in my script:
> > >> >> >
> > >> >> > set AB = CreateObject("Broker.Application")
> > >> >> >
> > >> >> > Never seen this error before, and I've been running scripts like 
> > >> >> > this
> > >> >> > for months. I am using Vista 64-bit, logged in as Administrator, and
> > >> >> > nothing has changed on my PC except for upgrading AB.
> > >> >> >
> > >> >> > Anyone else see this issue, or have any ideas why it is happening, 
> > >> >> > and
> > >> >> > what can be done to correct it?
> > >> >> >
> > >> >>
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > ------------------------------------
> > >> >
> > >> > **** IMPORTANT PLEASE READ ****
> > >> > This group is for the discussion between users only.
> > >> > This is *NOT* technical support channel.
> > >> >
> > >> > TO GET TECHNICAL SUPPORT send an e-mail directly to
> > >> > SUPPORT {at} amibroker.com
> > >> >
> > >> > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> > >> > http://www.amibroker.com/feedback/
> > >> > (submissions sent via other channels won't be considered)
> > >> >
> > >> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > >> > http://www.amibroker.com/devlog/
> > >> >
> > >> > Yahoo! Groups Links
> > >> >
> > >> >
> > >> >
> > >>
> > >
> > >
> > >
> > >
> > > ------------------------------------
> > >
> > > **** IMPORTANT PLEASE READ ****
> > > This group is for the discussion between users only.
> > > This is *NOT* technical support channel.
> > >
> > > TO GET TECHNICAL SUPPORT send an e-mail directly to
> > > SUPPORT {at} amibroker.com
> > >
> > > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> > > http://www.amibroker.com/feedback/
> > > (submissions sent via other channels won't be considered)
> > >
> > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > > http://www.amibroker.com/devlog/
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> >
>


Reply via email to