''''Write Text into the file
Dim df
Set df=Dotnetfactory.CreateInstance("System.IO.File")
df.writealltext "d:\online\data.txt","this is sample"
'''Read text from the file
Dim df,s
Set df=Dotnetfactory.CreateInstance("System.IO.File")
s=df.readalltext("d:\online\data.txt")
msgbox s
'''Convert the date into req format
Dim df , d
Set df=Dotnetfactory.CreateInstance("System.DateTime")
Set d=df.Parse("Tue, 12 Apr 2011")
msgbox d.Day & "/" & d.Month & "/" & d.Year
Note : for more Classes, Methods Refer msdn.microsoft.com
Dim df
Set df=Dotnetfactory.CreateInstance("System.IO.File")
df.writealltext "d:\online\data.txt","this is sample"
'''Read text from the file
Dim df,s
Set df=Dotnetfactory.CreateInstance("System.IO.File")
s=df.readalltext("d:\online\data.txt")
msgbox s
'''Convert the date into req format
Dim df , d
Set df=Dotnetfactory.CreateInstance("System.DateTime")
Set d=df.Parse("Tue, 12 Apr 2011")
msgbox d.Day & "/" & d.Month & "/" & d.Year
Note : for more Classes, Methods Refer msdn.microsoft.com
Comments
Post a Comment