the story goes something like this:

i have embedded resource file, a vbs script.
i have an error when i use writeallbytes and it says dimensional error cannot be converted to bytes something like that so i decided to make a module instead of writeallbytes,

what my program does is it writes the content of the script to textbox and after that
this data will be written in a script and will be save on drive C:\ as .vbs.
that is perfectly working on my codes
Code:
Friend Sub writeToFile(ByVal txt As String)
       Dim FILE_NAME As String = "C:\myvbs.vbs"
       My.Computer.FileSystem.WriteAllText(FILE_NAME, txt & vbnewline, True)
       MsgBox("bla blah" & vbCrLf & _
              "blah blah" & vbCrLf & _
              "Press Okey To Continue...")

   End Sub
and the Go Button will call the vbs script
the creation of vbs in drive C:\ is succesfull
even the data inside of it is perfect.

but why if im going to execute and call it with process.start it has an error?
while the original vbs script when i run it doesn have error?

although they have same data inside why?
whats wrong with that?

regards