Save Form2 As A Program appart
hey so i wanted to know if there is a way to, from form1 , save form2 as a .exe appart on desktop.
like when i press a button if form1 , form2 is created on the desktop appart.
like when i press a button if form1 , form2 is created on the desktop appart.
I thought about something like that but it doesnt work:
Dim Filename As String = My.Computer.FileSystem.SpecialDirectories.Desktop & "\Form2.exe"
IO.File.WriteAllBytes(Filename, Form2)

