Class WebBrowser1 -- Notimplemented exception

This is phase two from my last question. Trying to find a PDF control for Windows forms.  I believe the Web Browser is almost working, but I get this NotImplementedException. Screen shots are attached. Thank you for any help.
jampostGeneral MaanagerAsked:
Who is Participating?
käµfm³d 👽Connect With a Mentor Commented:
You declared the WebBrowser instance within the Button1_Click event. That means it only exists within that method, and no other method in your class can see it. Widen the scope of the variable to be class-level.
Paul JacksonSoftware EngineerCommented:
You are getting the NotImplemented exception because of the line :

    Throw New NotImplementedException

which is doing exactly that creating an NotImplemented Exception.
jampostGeneral MaanagerAuthor Commented:
Paul Jackson,

You are correct in the fact that the throw works. I am sorry that my question was not on track. If you are saying that the throw is misinforming me, then there must be another reason the browser does not work. If I remove the throw the program does not stop at that point, but it does not work an does not give me any clue why.
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

jampostGeneral MaanagerAuthor Commented:

I don't know if this helps:

I just removed the class WebBrowser1

The new error is -- Type 'WebBrowser1' is not defined.
Paul JacksonSoftware EngineerCommented:
Its difficult to see what's wrong without you posting your code, however it looks like your navigate sub should be on the orderform2.vb codebehind rather than in the webbrowser1 codebehind.

See if the following link helps you out any :
jampostGeneral MaanagerAuthor Commented:
Thank you both for your efforts, but Kaufmed nailed it, and there is only one thing to do when that happens. Thanks again.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.