.net - VB6's vbNull equivalent in VB.Net? -


I would like to use VB.Net to search and it should have seen the value of VbNull VB6 , But I can not find the proper value that represents zero value.

  NumberFormatInfo = DirectCast as Dim formatProvider (CultureInfo.GetCultureInfo ("es-ES"). NumberFormat.Clone, NumberFormatInfo) with FormatProvider .NumberDecimalSeparator = Microsoft.VisualBasic.vbNull with End String = Math.PI.ToString (String.Epty, Format Provider) as a slow PI  

NumberDecimalSeparator property does not accept empty values, but it < Code> vbNull also stores the value and it works completely (the separator has been deleted), so ... I think I get the same result again in VB6 thing Not on the net class library to avoid resort.

I have tried to replace vbNull with those codes, but all the exceptions are due to the blanket restriction of the pro, I mentioned above that perty:

  "" string. Empty control charge. >  

I have also tried these solutions, none of these throws an exception to the empty value, but instead it does not give me the expected results because it is used to format a decimal number Is used as a separator. is defective.

  Convert. Kochar (0) char.ConvertFromUtf32 (0) New String (char.ConvertFromUtf32 (0))  

Source:

VariantType = VariantType.Null as public vbNull

Please see


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -