themanfromthesea
asked on
Disabling things in webbrowser?
how do i disable image and javascript and such form being showed when navigating with the webbrowser? is it even possible?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I'll work something out for you but you'll have to wait until this evening. I have to go ;-).
See you later.
See you later.
ASKER
sounds nice thx :)
Sorry, I did not forgot you, I was totally busy during this last week and did not make my daily visit to EE ;-).
Try this: http://www.euromind.com/iedelphi/embeddedwb.htm
If you have problems, tell me, I'll look out the source code and make something out. I'll try however but as I'm still busy I won't make any promises :-).
Sorry again. Hope it solves your problem.
Try this: http://www.euromind.com/iedelphi/embeddedwb.htm
If you have problems, tell me, I'll look out the source code and make something out. I'll try however but as I'm still busy I won't make any promises :-).
Sorry again. Hope it solves your problem.
Use the DownloadOptions to set what you wanted.
EmbeddedWeb is a component that wraps the ActiveX component of WebBrowser plus the DISPID_AMBIENT_DLCONTROL (what I pointed out above) so it should do what you wanted.
ASKER
The zipfile contains 3 pas-files but how do I import them?
ASKER
The zipfile contains 3 pas-files but how do I import them?
In Delphi:
Component | Install Component and browse for Unit File Name to one of the 3 files 'embeddedwb.pas' and click Ok!
Should work. Tell me if you still have problems with that.
Component | Install Component and browse for Unit File Name to one of the 3 files 'embeddedwb.pas' and click Ok!
Should work. Tell me if you still have problems with that.
ASKER
I can not install a component without a component. I only have to 3 pasfiles. (need a dkp file)
ASKER
I can not install a component without a component. I only have to 3 pasfiles. (need a dkp file)
No, you don't need a dpk to install a component. Components are .pas in reality. DPK are components package. You can add a component (.pas) into a already existent package such as Delphi Component User (.dpk) such as described above.
:-)
You use the 'embeddedwb.pas' which is the components. The other 2 '.pas' are needed for the component.
Hope it helps.
:-)
You use the 'embeddedwb.pas' which is the components. The other 2 '.pas' are needed for the component.
Hope it helps.
So, need more help with this?
themanfromthesea:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
ASKER