Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 243
  • Last Modified:

Microsoft Internet Controls - IE what?

Hi,
When using the 'Microsoft Internet Controls' in VB6 and place 'WebBrowser1' on a form, does this use the current version of Internet Explorer installed on the operating system, or is it the version of IE that was shipped with VB6.
Do the VB6 service packs update the WebBrowser control?
Is there a way of asking the WebBrowser control what version it is?

Cheers,
gjok
0
gjok
Asked:
gjok
  • 3
  • 3
  • 2
  • +1
1 Solution
 
laurlyCommented:
it runs the version of IE curently installed as the user you are curntly loged on as.

 IE.Application should show you the directory path its running to.

laurly
0
 
gjokAuthor Commented:
To confirm: This would mean that for different people running my software, they would be viewing a WebBrowser control with potentially a different version embedded in my exe? so my exe could possibly perform slightly differently on diferent machines depending on the DHTML/javascript coding?

Does this mean that when I 'package and deploy' my project with a form containing a WebBrowser conrtol, the setup exe will not install that particular component because it already exists in the OS?

gjok
0
 
laurlyCommented:
I dont think your setup will refuse to install. I just think that you may get diffrent results for diffrent users depending on which version of IE they curntly have installed on there machine.  You may also notice a diffrence depending on what security settings they may have changed in there browser settings.  It kind of depends on what it is exactly you are using the webbrowser for.

Im not sure if there is a way to detect what version of IE is curntly installed there should be i will have to look around for you. In the mean time maybe someone else will have the anwser.  

If there is when they start your program you could check the settings or the version and pop up a message telling them they need to run a difrent version of IE to get the best results from your application.  but i would test your application first with other versions to be sure that there even is a problem it may be that a diffrent version of IE wont matter.


laurly
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
JMoon5FTMCommented:
Windows provides two Internet Explorer versions - the one currently installed and IE3.0.

IE3.0 isn't compatible with IE4, so Windows continues to support it using the WebBrowser_v1 component.  All later versions of Internet Explorer are _supposed_ to be backwards compatible, so Windows does not provide other versions.

It's IE3 or whatever is installed - there are no other choices, in Visual Basic or any other language.
0
 
gjokAuthor Commented:
JMoon5FTM,

(I have IE6 on my machine)

Are you saying that if someone with IE3 on their OS installs my program, then the version of the WebBrowser1 control in my exe running on their machine will be IE3 ? and not the version of IE on my Machine (IE6) at the time of compilation?
0
 
laurlyCommented:
I think what jmoon means is if you use the WebBrowser_v1  controler insted of the normal webbrowser controler you are using IE version 3.0

laurly
0
 
JMoon5FTMCommented:
Here, let me clarify:

If you are using the WebBrowser control, you are using whatever version of Internet Explorer is installed PROVIDED ITS 4.0 OR LATER.  The WebBrowser control won't work if IE4 isn't installed.

If you use the WebBrowser_v1 component, you are using IE3.0, provided that IE3 or later is installed.

Hope this helps.
0
 
gjokAuthor Commented:
Thanks for the clarification, JMoon5FTM.
You have both been helpful.

gjok
0
 
softlutionCommented:
FYI

I used the same technique and found that I was dependant of the CLient Setup. I found it only because one on my clients PC had been move to SP1 on IE6... and a feature wasn't working anymore... So it means that even service pack can matter
...
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

  • 3
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now