Code Snippet
<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
Title="Window1" Height="300" Width="300" Loaded="Window_Loaded">
<Grid>
<WindowsFormsHost>
<wf:WebBrowser x:Name="browserInput" />
</WindowsFormsHost>
</Grid>
</Window>
Code Snippet
private void Window_Loaded(object sender, RoutedEventArgs e)
{
browserInput.DocumentText = "<HTML><BODY></BODY></HTML>";
(browserInput.Document.DomDocument as IHTMLDocument2).designMode = "On";
}
I want to make simple WYSWYG html editor on .NET Framework 3.0
But in Vista I cannot write other language (except English) in editor.
(in XP it works well)
What's the problem ):
I have 2 OS
XP : .NET Framework 3.0
Vista : .NET Framework 3.5