The best way would be to handle the error in the code. Use the 'On Local Error' trap to handle it within the subroutine. If you get the conversion error you can do whatever makes sense to your application. 'Erwin Bormans' wrote in message news:42***********************@news.skynet.be. Hello I want to convert a value in a text propertie to a double. I can use CDbl(grid1.text) for this, but the problem is that some text properties are empty and when they are the code give errors. Is there a way to convert text to double, but if the text is empty he just returns zero? Kind Regards Erwin. I am trying to save this HTML to a HTML file. Nch express accounts keygens. There are 2 problems with this code. It thinks that the 'refresh' part is not part of the string I have tried a fix for this buy using Chr(34) instead of ' but it still bring me onto error 2 2. When I open the HTML File it has quotes around all the text and it looks rubbish How would I go about fixing these errors? ![]() ![]() Dim myList As New List(Of String) myList.Add('hello') cgraus solution creates a List of objects and it's ok but if what you want is a list of string just say List(Of String) obviously you already solved the problem (i hope 6 years is quite a while:-) ), but I'm posting in case someone else is googleing about it. Full array of mathematical, string handling, and graphics functions. Double-click the tool in the toolbox and it is created with a default size on the form. Stylus bt bold font free. The names you assign to objects are used by Visual Basic to set up a framework of.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |