1,105,406 Community Members

WPF forms

Member Avatar
shermags
Newbie Poster
16 posts since Jan 2013
Reputation Points: 6 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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.

Attachments
Member Avatar
shermags
Newbie Poster
16 posts since Jan 2013
Reputation Points: 6 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Got it!!!

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

Question Self-Answered as of 1 Year Ago
You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article