Resources » Code Snippets » C# Syntax

creating notepad in VB.NET


Posted Date: 03-Jun-2008  Last Updated:   Category: C# Syntax    
Author: Member Level: Silver    Points: 1



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


Did you like this resource? Share it with your friends and show your love!

Responses to "creating notepad in VB.NET"
Author: Abhijit Jana    13 Jun 2008Member 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 Dhawan    16 Jun 2008Member 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 Shivaswamy    16 Jun 2008Member Level: Silver   Points : 0
I've learned one more thing in dot net.thanks,


Author: RamyaNaidu    06 Aug 2008Member 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



Feedbacks      

Post Comment:




  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)



    Type the numbers and letters shown on the left.


    Submit Article     Return to Article Index

    Subscribe to Subscribers
    Active Members
    TodayLast 7 Daysmore...

    Awards & Gifts
    Talk to Webmaster Tony John

    Online Members

    Hassan sittar
    More...
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India