Solved

Class WebBrowser1  --   Notimplemented exception

Posted on 2014-03-23
6
202 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Ever wondered why Windows 8 and 10 don't seem to accept your GPO-based software deployment while Windows 7 does? Read on.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…
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…

623 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