![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | How to save a file in Vista's Windows Folder I have Excel VB code that saves a tiny ini file in the Windows Directory. Worked a treat on XP for years. It won't run on Vista because of the security permissions for the Windows folder. I can work around it for new files but all the hundreds of existing examples of my spreadsheet crash on opening on a Vista machine. I don't want to reprogram every instance - all I need is to save a tiny file in the Windows Directory! But how??? -- Oxfordshire, UK |
My System Specs![]() |
| | #2 (permalink) |
| Vista x64 Ultimate SP2, Windows 7 Ultimate x64 | Re: How to save a file in Vista's Windows Folder I have Excel VB code that saves a tiny ini file in the Windows Directory. Worked a treat on XP for years. It won't run on Vista because of the security permissions for the Windows folder. I can work around it for new files but all the hundreds of existing examples of my spreadsheet crash on opening on a Vista machine. I don't want to reprogram every instance - all I need is to save a tiny file in the Windows Directory! But how??? -- Oxfordshire, UK You can enable the Built-in Administrator account and run the program in that account. This account does not need permission to do anything like in XP. This tutorial will show you how to do it. Administrator Account Shawn |
My System Specs![]() |
| | #3 (permalink) |
| | Re: How to save a file in Vista's Windows Folder The Windows folder is for operating system files, and nothing else. We have tightened the security on that folder to reflect this fact. I would encourage you to store the .ini files in a folder that you create. Then look for a way to do some kind of (possibly programmatic) search-and-replace in your spreadsheet to change the existing references to the new location. -- Steve Riley steve.riley@xxxxxx http://blogs.technet.com/steriley http://www.protectyourwindowsnetwork.com "Broadband Al" <BroadbandAl@xxxxxx> wrote in message news:719EAE33-963E-487A-8DCB-CE6ABD098F6C@xxxxxx Quote: > I have Excel VB code that saves a tiny ini file in the Windows Directory. > Worked a treat on XP for years. It won't run on Vista because of the > security permissions for the Windows folder. I can work around it for new > files but all the hundreds of existing examples of my spreadsheet crash on > opening on a Vista machine. I don't want to reprogram every instance - all > I > need is to save a tiny file in the Windows Directory! But how??? > -- > Oxfordshire, UK |
My System Specs![]() |
| | #4 (permalink) |
| | Re: How to save a file in Vista's Windows Folder On Sep 27, 3:02 pm, Broadband Al <Broadban...@xxxxxx> wrote: Quote: > I have Excel VB code that saves a tiny ini file in the Windows Directory. > Worked a treat on XP for years. It won't run on Vista because of the > security permissions for the Windows folder. I can work around it for new > files but all the hundreds of existing examples of my spreadsheet crash on > opening on a Vista machine. I don't want to reprogram every instance - all I > need is to save a tiny file in the Windows Directory! But how??? > -- > Oxfordshire, UK Command Prompt as administrator and copy it there. So far, I've had nothing but success with this technique. -- Munchie |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Missing Folder Names in Vista's Windows Explorer | Vista General | |||
| Save File dialog default folder location | General Discussion | |||
| File and Folder Directory List - Print and Save | Tutorials | |||
| Include shared folder/file in "save" file list | Vista General | |||
| Can't save file in localized folder | Vista file management | |||