I\'ve got some batch files that I use to help automate the process of creating and reloading development databases. It makes sense to create and maintain these batch files
While this was useful in my quest to solve the issue in Visual basic, the solution is to tell VB to use ASCII encoding as shown below:
Try outFile = My.Computer.FileSystem.OpenTextFileWriter(myPath, True, System.Text.Encoding.ASCII) outFile.WriteLine(macroText) outFile.Close() Catch ex As Exception