Error Writing Key to W2K Workstation [RESOLVED]
I have code that works fine under XP, but is throwing an error, and not writing the key under W2K Workstation. Is there anything that should be done differently? It creates a key and some settings.
Code:
SaveSetting App.EXEName, "Registration", "User", Trim(txtRegisterTo)
SaveSetting App.EXEName, "Registration", "Registration Key", _
txtRegKey(0) & txtRegKey(1) & txtRegKey(2)
It gets installed under VB and VBA Programs under XP, but there is not a key in W2K. It's not under the app.name under Software, so I'm stumped.
Re: Error Writing Key to W2K Workstation
I *think* that I've found something. It shouldn't be going there, but it is doing the same under XP. Happy days are ahead...
Yup. It was doing a routine that I had modified, and it didn't have a variable assigned that it needed. Setting it to "000000000" solved it. Now to the W2K machine...
Re: Error Writing Key to W2K Workstation
Nope. It's still crashing when trying to write a registry setting.
Operation cannot be performed on this platform.
What does that mean?
I've tried adding the key myself, but under XP there is a VB and VBA Program Settings, while under W2K, there is only Visual Basic -> 6.0, and I don't know where the program is looking for it.
Re: Error Writing Key to W2K Workstation [RESOLVED]
CAPICOM problem... :cry:
Registry written successfully.