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.
"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
None
0 Points
1 Post
Error while constructing the Culture Class
May 17, 2005 06:22 AM|zsilence|LINK
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?
Star
8431 Points
5736 Posts
MVP
Re: Error while constructing the Culture Class
May 17, 2005 07:47 AM|bmains|LINK
What type is UserCulture?
http://msdn.microsoft.com/library/3yf2hk6b(en-us,vs.80).aspx
"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).