Hi,

I am new with the WPF Browser Application in VB.Net. I would like to know if how can I execute a windows form or a page.

I had tried to this code:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles Button1.Click
        Dim Form As New Window1
        Form.Show()
    End Sub

Unfortunately, I am receiving this error:
SecurityException

Upon checking the Security Tab:
Security

May I know the reason why I am getting this type for error.

By the way, I am using Visual Studio Express 2008.

Hoping someone can help me on this.

Thank you in advance.

Got it!!!

All you have to do in Security Tab is select the "This is a full trust application"...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.