Solved

Points for KeefeJohnson!

Posted on 2004-03-22
4
162 Views
Last Modified: 2010-05-01
Hi KeefeJohnson...this is for your help

( http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20916940.html )

Please accept!

Krupa
0
Comment
Question by:shankarkrupa
  • 2
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
KeefeJohnson earned 125 total points
ID: 10650247
After figuring out that solution, I started using it in my own program, and it works very well for me too.

Thanks!
0
 
LVL 3

Author Comment

by:shankarkrupa
ID: 10650772
Really?  Great!

I am trying to do it without loading any files, because the user may involuntarily press Refresh key inside the control or may type something and press the refresh key and lose the data.  Involves lots of concatenation...:-))

Thanks anyway, I am working on it.



krupa
0
 
LVL 2

Expert Comment

by:KeefeJohnson
ID: 10663800
About losing the data in the textbox... Your program could keep track of what is in the textbox so when the DocumentComplete event happens, you can put it back.

And some more information that I found out from working on my program:
If you don't want the user to be able to drop a link on the webbrowser control to change pages, set the RegisterAsDropTarget property to False.
If you don't want the menu to popup when you right click in the control, use this code: <BODY oncontextmenu="window.event.returnValue = false">
You can also use the BeforeNavigate2 event to cancel a navigate (clicking on a link), but you'll have to allow the first navigate (loading the page with the textbox)
0
 
LVL 3

Author Comment

by:shankarkrupa
ID: 10694327
Wow...Keefe...this is really cool!

Good to hear this.  This solves the main problem too, disabling the user intervention (other than typing in the textbox) on the browser control.

Thank you so much!

I feel good to have met you. :-)

Krupa
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Question has a verified solution.

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

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

808 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