Solved

Class WebBrowser1  --   Notimplemented exception

Posted on 2014-03-23
6
201 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

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 …
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
The goal of this Micro Tutorial is to help navigate beginning users with the app store on Windows 8. It will explain exciting features how to maximize your PC through these apps. This will be demonstrated using Windows 8 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

738 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