Solved

Class WebBrowser1  --   Notimplemented exception

Posted on 2014-03-23
6
199 Views
Last Modified: 2014-03-23
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
Comment
Question by:jampost
  • 3
  • 2
6 Comments
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 39949144
You are getting the NotImplemented exception because of the line :

    Throw New NotImplementedException

which is doing exactly that creating an NotImplemented Exception.
0
 

Author Comment

by:jampost
ID: 39949215
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
 

Author Comment

by:jampost
ID: 39949228
Paul,

I don't know if this helps:

I just removed the class WebBrowser1

The new error is -- Type 'WebBrowser1' is not defined.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 29

Expert Comment

by:Paul Jackson
ID: 39949236
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
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 39949237
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
 

Author Closing Comment

by:jampost
ID: 39949275
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With Windows evolving further, the built-in protective mechanisms get better and better. Still, Microsoft is not very good at introducing those to the technical community. This article is about a new bitlocker functionality that could revolutionize …
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question