Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object reference not set to an instance of an object #5

Open
GroovyGrovesy opened this issue Sep 2, 2021 · 1 comment
Open

Object reference not set to an instance of an object #5

GroovyGrovesy opened this issue Sep 2, 2021 · 1 comment

Comments

@GroovyGrovesy
Copy link

Hi,

After installing via Nuget when I try to view my Form (designer) in Visual Studio 2019 I get the following error message:

image

Any idea how to solve this as it keeps appearing even after restarting VS2019?

Thanks

@GroovyGrovesy
Copy link
Author

I uninstalled the NuGet package and added it as a project to my solution and still get the error message but now it provides some more details as below:

image

which points to the 'Me.ParentForm.KeyPreview = True' line below:

Private Sub TabControl_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Me.ParentForm.KeyPreview = True
        AddHandler Me.ParentForm.KeyDown, AddressOf Owner_KeyDown
End Sub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant