creating notepad in VB.NET

use this below coding and create a notepad file in VB DOTNET......
Microsoft.VisualBasic.Interaction.Shell("notepad",Microsoft.VisualBasic.Appwinstyle.NormalFocus,false,200)


Comments

Author: Abhijit Jana13 Jun 2008 Member Level: Gold   Points : 1

this is not the coding for creting notepad using .net , this is the way to opening notepad using .net

Author: Kapil Dhawan16 Jun 2008 Member Level: Gold   Points : 2

Hey,
I am confused to see your code
Its not working
please check your code again
and u must test your code before posting and code here.
it may be wrong guidence to someone.
Regards,
Kapil

Author: Mahesh H Shivaswamy16 Jun 2008 Member Level: Silver   Points : 0

I've learned one more thing in dot net.thanks,

Author: RamyaNaidu06 Aug 2008 Member Level: Silver   Points : 1

Imports System.IO
Module Module1

Sub Main()

Dim writer As StreamWriter = File.CreateText("E:\myfile.txt")
writer.WriteLine("Out to file.")
writer.Close()

End Sub

End Module