0

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.

1
Contributor
1
Reply
6
Views
4 Years
Discussion Span
Last Post by shermags
0

Got it!!!

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

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.