Results 1 to 4 of 4

Thread: Error Writing Key to W2K Workstation [RESOLVED]

  1. #1

    Thread Starter
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Resolved 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.
    Last edited by dglienna; Jan 6th, 2005 at 09:20 PM. Reason: Resolved

  2. #2

    Thread Starter
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    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...
    Last edited by dglienna; Jan 6th, 2005 at 04:57 PM.

  3. #3

    Thread Starter
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    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.
    Last edited by dglienna; Jan 6th, 2005 at 06:39 PM.

  4. #4

    Thread Starter
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Error Writing Key to W2K Workstation [RESOLVED]

    CAPICOM problem...

    Registry written successfully.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width