xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Page1">
//File:Window.xaml.vb
Imports System
Imports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Documents
Imports System.IO
Namespace WpfApplication1
Public Partial Class Page1
Inherits Page
Public Sub New()
InitializeComponent()
Dim SW As StreamWriter
SW = File.CreateText("c:\s.txt")
SW.WriteLine("A!")
SW.WriteLine("B")
SW.Close()
End Sub
End Class
End Namespace