|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Full Control to Users programmaticallyMy VB6 program is installed by setup created in InstallShield 12.
Before Vista everything was working fine. On Vista one of the operations (replace file located in c:\program files\my program with another file) fails - my research showed me than there is an error 70, 'Access denied' After I set manually Full Control to Users of that machine everything works fine. Any advice how to set Full Control to Users programmatically from VB6 or from InstallShield project. Thank you Vovan I need a full control for Users on "C:\Program Files\My Program" folder.
I had it for more than 10 years with no problem (before Vista). What's wrong with my wish now? It looks like you lived your live with 2 legs, you drove many cars. Now somebody created a new kind of car requirening you to have 3 legs. And they say that it's much better for you not allowing you to have any choice. They are going to replace all existing models with new ones. I found some way (using Windows script) to give Users full control on "C:\Program Files\My Program", not on entire "C:\Program Files\". Just on my folder. It looks like adjustment will take much less time than full redesign. What is wrong with this approach? Thank you Vovan Show quoteHide quote "vovan" <some***@vovan.com> wrote in message news:eIggYsLTHHA.5060@TK2MSFTNGP06.phx.gbl... > My VB6 program is installed by setup created in InstallShield 12. > Before Vista everything was working fine. > On Vista one of the operations (replace file located in c:\program > files\my program with another file) fails - my research showed me than > there is an error 70, 'Access denied' > After I set manually Full Control to Users of that machine everything > works fine. > Any advice how to set Full Control to Users programmatically from VB6 or > from InstallShield project. > > Thank you > Vovan > I need a full control for Users on "C:\Program Files\My Program" folder.
I had it for more than 10 years with no problem (before Vista). What's wrong with my wish now? It looks like you lived your live with 2 legs, you drove many cars. Now somebody created a new kind of car requirening you to have 3 legs. And they say that it's much better for you not allowing you to have any choice. They are going to replace all existing models with new ones. I found some way (using Windows script) to give Users full control on "C:\Program Files\My Program", not on entire "C:\Program Files\". Just on my folder. It looks like adjustment will take much less time than full redesign. What is wrong with this approach? Thank you Vovan Show quoteHide quote "vovan" <some***@vovan.com> wrote in message news:eIggYsLTHHA.5060@TK2MSFTNGP06.phx.gbl... > My VB6 program is installed by setup created in InstallShield 12. > Before Vista everything was working fine. > On Vista one of the operations (replace file located in c:\program > files\my program with another file) fails - my research showed me than > there is an error 70, 'Access denied' > After I set manually Full Control to Users of that machine everything > works fine. > Any advice how to set Full Control to Users programmatically from VB6 or > from InstallShield project. > > Thank you > Vovan > > I found some way (using Windows script) to give Users full control on That sounds like a good idea to me.> "C:\Program Files\My Program", not on entire "C:\Program Files\". Just on my > folder. > It looks like adjustment will take much less time than full redesign. > What is wrong with this approach? How do you achieve that? (My best idea for a solution so far is a note saying something like: "If you have the misfortune to be using Windows Vista, and you want to use this software, then you will need to give yourself permission to fully use your PC." :) > I found some way (using Windows script) to give Users full control on That sounds like a good idea to me.> "C:\Program Files\My Program", not on entire "C:\Program Files\". Just on my > folder. > It looks like adjustment will take much less time than full redesign. > What is wrong with this approach? How do you achieve that? (My best idea for a solution so far is a note saying something like: "If you have the misfortune to be using Windows Vista, and you want to use this software, then you will need to give yourself permission to fully use your PC." :)
Show quote
Hide quote
"mayayana" wrote: Or you could say this:> > > I found some way (using Windows script) to give Users full control on > > "C:\Program Files\My Program", not on entire "C:\Program Files\". Just on > my > > folder. > > It looks like adjustment will take much less time than full redesign. > > What is wrong with this approach? > > That sounds like a good idea to me. > How do you achieve that? > > (My best idea for a solution so far is a note saying > something like: "If you have the misfortune to be using > Windows Vista, and you want to use this software, > then you will need to give yourself permission to > fully use your PC." :) > I'm to lazy to code this correctly so I am trying to hack it and in the process I will destroy your windows security. Sorry. Show quoteHide quote > >
Show quote
Hide quote
"mayayana" wrote: Or you could say this:> > > I found some way (using Windows script) to give Users full control on > > "C:\Program Files\My Program", not on entire "C:\Program Files\". Just on > my > > folder. > > It looks like adjustment will take much less time than full redesign. > > What is wrong with this approach? > > That sounds like a good idea to me. > How do you achieve that? > > (My best idea for a solution so far is a note saying > something like: "If you have the misfortune to be using > Windows Vista, and you want to use this software, > then you will need to give yourself permission to > fully use your PC." :) > I'm to lazy to code this correctly so I am trying to hack it and in the process I will destroy your windows security. Sorry. Show quoteHide quote > >
There seems to be a bug in Vista's file sharing that causes the ADO Database open command to hang if
Localized Error Messages Shell on Vista MS Winsock Control ports don't free up End If without block If Shell syntax Help in translating C to VB Find Coords within X Radius VB6 - Saving query results as XML RegAsm.exe on Vista |
|||||||||||||||||||||||