Posted 8 Jun 2023 Hi Anyone knows the correct call to add a "tab" character into a dynamic String in Resources or in VB.Net Code? My tries always with a compiling error : myString = "I need to know how to add an" & vbTab & "tab" myString = "I need to know how to add an" & Convert.ToChar(Keys.Tab) & "tab" myString = "I need to know how to add an" & ControlChars.Tab & "tab" myString = "I need to know how to add an" & Chr(9) & "tab" myString = "I need to know how to add an" & ChrW(9) & "tab" The reason for this is to fill a ListBox dynamically on a subroutine and get elements strings vertically visually right. Share this post Link to post Share on other sites
Posted 7 February I know this is old post but in case someone is wondering the same thing: Microsoft.VisualBasic.Strings.Chr(9) is the call for tab in NA-scripts. for example: myString = "I need to know how to add an" & Microsoft.VisualBasic.Strings.Chr(9) & "tab" Share this post Link to post Share on other sites