Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

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.
WebBrowser.docx
0
jampost
Asked:
jampost
  • 3
  • 2
1 Solution
 
Paul JacksonCommented:
You are getting the NotImplemented exception because of the line :

    Throw New NotImplementedException

which is doing exactly that creating an NotImplemented Exception.
0
 
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.
0
 
jampostGeneral MaanagerAuthor Commented:
Paul,

I don't know if this helps:

I just removed the class WebBrowser1

The new error is -- Type 'WebBrowser1' is not defined.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Paul JacksonCommented:
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 :

http://msdn.microsoft.com/en-us/library/3s8ys666(v=vs.110).aspx
0
 
käµfm³d 👽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.
0
 
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.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now