Solved

Points for KeefeJohnson!

Posted on 2004-03-22
4
164 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
[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
  • 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

734 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