From: Geoff Schaller on 21 Jun 2010 18:45 Simon. You are missing the point. An application user would NOT normally have any rights to anything outside of public and private folders. A new folder at the root of C:\ is the same. Generally with a DBF style app you are expecting to write to them. Yes? <g> The other applications work because generally they don't write to stuff. UAC or not, unless you are an administrator on that PC (not recommended of course), users do not have rights to folders at the root of C: drive. You will need to assign those rights. Geoff "Simon Goodman" <simon.spam(a)spam.abersoftware.co.uk> wrote in message news:DgGTn.142985$eS7.28300(a)newsfe25.ams2: > Hi Darmadi / Geoff, > > That's the weird part - my main programs run fine in the same folders, with > the same startup code etc. > > Local folder is C:\AppDevelop\Estimating > > Other programs work fine in the same location. The ones that dont are really > basic programs - they have a main shell, one window with one option so they > can update DBF file structures > > No COM, No registry writing, No where near the Program Files folders. > > I can live with this as it's a program users will use rarely and it could be > good that they need admin rights to run it! > > But here's where I'm at: > > I've created a new MDI app from the samples. > > By just amending the name for the Exe on the properties page I can make it > ask for Admin rights or not. > > Just trying to work out where / what security settings are on the folder and > any relation between names that work and those that dont. > > Thanks for the reply though. > > Simon > > > > "Darmadi" <support(a)gfsoftindo.com> wrote in message > news:hvkge4$agm$1(a)speranza.aioe.org... > > > Hi Simon, > > > > Try to set Security Rule for the folder where you put your application > > (maybe C:\CAVO28). > > > > Darmadi > > > > "Simon Goodman" <simon.spam(a)spam.abersoftware.co.uk> wrote in message > > news:wMJSn.37421$US6.20841(a)hurricane... > > >> Hi > >> > >> Just moved over to Windows 7 64 bit and everything is running fine except > >> some programs cause UAC messages - "Do you want to allow this > >> program.....". > >> > >> My main programs all run fine without UAC complaining. > >> > >> I have a few maintenance programs that all give the same problem - > >> whether run from the IDE or EXE. Even if I say Yes I want to allow it to > >> run it then it disappears and needs killing from the task manager. > >> > >> The programs run fine when UAC is switched off. > >> > >> I've been looking for differences between the main apps and these other > >> and cant find any. > >> > >> Any pointers would be very helpful. > >> > >> TIA > >> > >> Simon > >> > >>
From: Simon Goodman on 22 Jun 2010 05:05 Hi Geoff, I do get your point. Its just not relevant in this case. My main programs all work in the same folder structures and do an awful lot more reading and writing than the problem apps - so if the folder structure or security was the issue they would / should ALL fail. Why these particular apps fail is still a mystery but must be down to something on my PC. Generating a new standard MDI app from the samples fails with the name EstUpdates.Exe but works with the name EstUxdates.Exe - Now that's odd. Just changing the name on my problem app doesn't fix the issue unfortunately. It may be something like the Anti Virus or Windows Defender or some other process that's tripping up these programs. As users will only run this program after a program update its actually appropriate for an Admin warning - so I'll probably leave it for the moment and re-write it step by step to see where it falls over. Simon "Geoff Schaller" <geoffx(a)softxwareobjectives.com.au> wrote in message news:UXRTn.4032$Ls1.2361(a)news-server.bigpond.net.au... > Simon. > > You are missing the point. An application user would NOT normally have any > rights to anything outside of public and private folders. A new folder at > the root of C:\ is the same. Generally with a DBF style app you are > expecting to write to them. Yes? <g> The other applications work because > generally they don't write to stuff. > > UAC or not, unless you are an administrator on that PC (not recommended of > course), users do not have rights to folders at the root of C: drive. You > will need to assign those rights. > > Geoff > > > > "Simon Goodman" <simon.spam(a)spam.abersoftware.co.uk> wrote in message > news:DgGTn.142985$eS7.28300(a)newsfe25.ams2: > >> Hi Darmadi / Geoff, >> >> That's the weird part - my main programs run fine in the same folders, >> with >> the same startup code etc. >> >> Local folder is C:\AppDevelop\Estimating >> >> Other programs work fine in the same location. The ones that dont are >> really >> basic programs - they have a main shell, one window with one option so >> they >> can update DBF file structures >> >> No COM, No registry writing, No where near the Program Files folders. >> >> I can live with this as it's a program users will use rarely and it could >> be >> good that they need admin rights to run it! >> >> But here's where I'm at: >> >> I've created a new MDI app from the samples. >> >> By just amending the name for the Exe on the properties page I can make >> it >> ask for Admin rights or not. >> >> Just trying to work out where / what security settings are on the folder >> and >> any relation between names that work and those that dont. >> >> Thanks for the reply though. >> >> Simon >> >> >> >> "Darmadi" <support(a)gfsoftindo.com> wrote in message >> news:hvkge4$agm$1(a)speranza.aioe.org... >> >> > Hi Simon, >> > >> > Try to set Security Rule for the folder where you put your application >> > (maybe C:\CAVO28). >> > >> > Darmadi >> > >> > "Simon Goodman" <simon.spam(a)spam.abersoftware.co.uk> wrote in message >> > news:wMJSn.37421$US6.20841(a)hurricane... >> >> >> Hi >> >> >> >> Just moved over to Windows 7 64 bit and everything is running fine >> >> except >> >> some programs cause UAC messages - "Do you want to allow this >> >> program.....". >> >> >> >> My main programs all run fine without UAC complaining. >> >> >> >> I have a few maintenance programs that all give the same problem - >> >> whether run from the IDE or EXE. Even if I say Yes I want to allow it >> >> to >> >> run it then it disappears and needs killing from the task manager. >> >> >> >> The programs run fine when UAC is switched off. >> >> >> >> I've been looking for differences between the main apps and these >> >> other >> >> and cant find any. >> >> >> >> Any pointers would be very helpful. >> >> >> >> TIA >> >> >> >> Simon >> >> >> >> >
First
|
Prev
|
Pages: 1 2 3 Prev: RightSle only 3 gives the number entered. Next: bBrowser and SQL Server |