I would suggest recursion, I'm not confident in their skills VB, but here's a solution in C #
static String[] letters = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z" }; static void Main(string[] args) { Console.Writeline("Enter the amount of characters"); int count = Int32.Parse( Console.ReadLine() ); outputStrings("", count); Console.ReadLine(); } static public void outputStrings(String startString, int letterCount) { for (int i = 0; i < letters.Length; i++) { String temp = startString; temp += letters[i]; if (temp.Length == letterCount) { Console.WriteLine(temp); } else { outputStrings(temp, letterCount); } } } a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k" static String[] letters = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z" }; static void Main(string[] args) { Console.Writeline("Enter the amount of characters"); int count = Int32.Parse( Console.ReadLine() ); outputStrings("", count); Console.ReadLine(); } static public void outputStrings(String startString, int letterCount) { for (int i = 0; i < letters.Length; i++) { String temp = startString; temp += letters[i]; if (temp.Length == letterCount) { Console.WriteLine(temp); } else { outputStrings(temp, letterCount); } } } , static String[] letters = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z" }; static void Main(string[] args) { Console.Writeline("Enter the amount of characters"); int count = Int32.Parse( Console.ReadLine() ); outputStrings("", count); Console.ReadLine(); } static public void outputStrings(String startString, int letterCount) { for (int i = 0; i < letters.Length; i++) { String temp = startString; temp += letters[i]; if (temp.Length == letterCount) { Console.WriteLine(temp); } else { outputStrings(temp, letterCount); } } } "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z static String[] letters = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z" }; static void Main(string[] args) { Console.Writeline("Enter the amount of characters"); int count = Int32.Parse( Console.ReadLine() ); outputStrings("", count); Console.ReadLine(); } static public void outputStrings(String startString, int letterCount) { for (int i = 0; i < letters.Length; i++) { String temp = startString; temp += letters[i]; if (temp.Length == letterCount) { Console.WriteLine(temp); } else { outputStrings(temp, letterCount); } } } "); static String[] letters = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z" }; static void Main(string[] args) { Console.Writeline("Enter the amount of characters"); int count = Int32.Parse( Console.ReadLine() ); outputStrings("", count); Console.ReadLine(); } static public void outputStrings(String startString, int letterCount) { for (int i = 0; i < letters.Length; i++) { String temp = startString; temp += letters[i]; if (temp.Length == letterCount) { Console.WriteLine(temp); } else { outputStrings(temp, letterCount); } } } ); static String[] letters = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z" }; static void Main(string[] args) { Console.Writeline("Enter the amount of characters"); int count = Int32.Parse( Console.ReadLine() ); outputStrings("", count); Console.ReadLine(); } static public void outputStrings(String startString, int letterCount) { for (int i = 0; i < letters.Length; i++) { String temp = startString; temp += letters[i]; if (temp.Length == letterCount) { Console.WriteLine(temp); } else { outputStrings(temp, letterCount); } } } int letterCount) static String[] letters = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z" }; static void Main(string[] args) { Console.Writeline("Enter the amount of characters"); int count = Int32.Parse( Console.ReadLine() ); outputStrings("", count); Console.ReadLine(); } static public void outputStrings(String startString, int letterCount) { for (int i = 0; i < letters.Length; i++) { String temp = startString; temp += letters[i]; if (temp.Length == letterCount) { Console.WriteLine(temp); } else { outputStrings(temp, letterCount); } } }