Error while constructing the Culture Class RRS feed

  • Question

  • User1697392177 posted
    Hi there,
      I am developing a site which will support multilanguages. I am facing a strange problem. Here is a part of the code that is causing the porblem:

    Thread.CurrentThread.CurrentUICulture = New CultureInfo(UserCulture)

    I get the following error:
    Error    5    SelectCulture.aspx.vb(98): error BC30057: Too many arguments to 'Public Sub New()'.   

    I tried both sending the code or the string to the constructor .. but no use.
    I am using VS.NET2005 beta 2.

    Can any 1 help?

    Tuesday, May 17, 2005 6:22 AM

All replies