A bug?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • yxq

    #1

    A bug?

    My OS is WindowsXP + SP2 + VS2003

    When i write the value into Registry, it is not successful.

    'it is not successful.
    Registry.Curren tUser.OpenSubKe y("Software\Mic rosoft\Internet
    Explorer\Main", True).SetValue( "FormSugges t Passwords", "no")

    But if change "FormSugges t Passwords" to "FormSuggestPas swords" (remove the
    blank), it is OK.

    'it is OK
    Registry.Curren tUser.OpenSubKe y("Software\Mic rosoft\Internet
    Explorer\Main", True).SetValue( "FormSuggestPas swords", "no")

    Why?


  • Steve Schroeder

    #2
    Re: A bug?

    It's unlikely a bug.

    I'm on 2000 and that registry key is named: FormSuggest PW Ask on my system.

    I would suggest a different route to access that setting as apparently you
    won't be able to rely on it being named something cosistent version to
    version of windows.

    What that alternate route is exactly I couldn't say.

    "yxq" <gayxq@163.ne t> wrote in message
    news:eWTeFxRYFH A.3356@TK2MSFTN GP15.phx.gbl...[color=blue]
    > My OS is WindowsXP + SP2 + VS2003
    >
    > When i write the value into Registry, it is not successful.
    >
    > 'it is not successful.
    > Registry.Curren tUser.OpenSubKe y("Software\Mic rosoft\Internet
    > Explorer\Main", True).SetValue( "FormSugges t Passwords", "no")
    >
    > But if change "FormSugges t Passwords" to "FormSuggestPas swords" (remove[/color]
    the[color=blue]
    > blank), it is OK.
    >
    > 'it is OK
    > Registry.Curren tUser.OpenSubKe y("Software\Mic rosoft\Internet
    > Explorer\Main", True).SetValue( "FormSuggestPas swords", "no")
    >
    > Why?
    >
    >[/color]


    Comment

    • yxq

      #3
      Re: A bug?

      Why?

      "Steve Schroeder" <sschroeder@som ewhere.com> дÈëÏûÏ¢ÐÂÎÅ:%2 33tRllUYFHA.140 4@TK2MSFTNGP09. phx.gbl...[color=blue]
      > It's unlikely a bug.
      >
      > I'm on 2000 and that registry key is named: FormSuggest PW Ask on my
      > system.
      >
      > I would suggest a different route to access that setting as apparently you
      > won't be able to rely on it being named something cosistent version to
      > version of windows.
      >
      > What that alternate route is exactly I couldn't say.
      >
      > "yxq" <gayxq@163.ne t> wrote in message
      > news:eWTeFxRYFH A.3356@TK2MSFTN GP15.phx.gbl...[color=green]
      >> My OS is WindowsXP + SP2 + VS2003
      >>
      >> When i write the value into Registry, it is not successful.
      >>
      >> 'it is not successful.
      >> Registry.Curren tUser.OpenSubKe y("Software\Mic rosoft\Internet
      >> Explorer\Main", True).SetValue( "FormSugges t Passwords", "no")
      >>
      >> But if change "FormSugges t Passwords" to "FormSuggestPas swords" (remove[/color]
      > the[color=green]
      >> blank), it is OK.
      >>
      >> 'it is OK
      >> Registry.Curren tUser.OpenSubKe y("Software\Mic rosoft\Internet
      >> Explorer\Main", True).SetValue( "FormSuggestPas swords", "no")
      >>
      >> Why?
      >>
      >>[/color]
      >
      >[/color]


      Comment

      Working...