Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Automating browser settings

Posted on 1999-07-06
14
Medium Priority
?
1,281 Views
Last Modified: 2010-05-18
i am writing a program that has links to various internet sites...some of these sites require that java & javascipt be turned on and that SSL V3 is enabled....also i would like to specify a default certificate for the users browser...

i was wondering if it was possible to have a command button that would automate these settings for the user if they wanted too (basically for users who feel intimidated by changing browser settings - really inexperienced users) in both netscape 4 and ie4....if any of u experts out there could help me, or even direct me to where i could learn about it, it would be greatly appreciated....

thanx in advance for your time....
0
Comment
Question by:Caggs
[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
  • 9
  • 5
14 Comments
 

Expert Comment

by:pakos
ID: 1522370
Yes, is the answer, u can change seeting of ur browser, at least those i tried, ie and netscape.
Internet explorer writes it's configuration in the registry , and here's the key : [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
from there a ll u need is read the following values and change them,
as for netscape it's a different way, it writes in a file on ur hard disk , the filename is: "prefs.js"
in the netscape directory, to find the file in ur vb app because user might change the path, u have to read again from the registry the path of netscape , here's the key:
"Software\Netscape\Netscape Navigator\Users\CurrentUser"


0
 

Author Comment

by:Caggs
ID: 1522371
thanx for the answer pakos,

but this is the answer i gave u an "a" for in my last question....when i looked at the registry for ie4, i didn't know which settings to change to enable java & javascript, and how to assign a defualt certificate for the user, so with this question, i was hoping that someone could direct me on how to assign these specific values (java & javascript on, and assign a defualt certificate).....

thanx again for posting an answer tho, i appreciate it...
0
 

Expert Comment

by:pakos
ID: 1522372
Sorry, i didn't see that u are the same person, tho i will try to find it.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Expert Comment

by:pakos
ID: 1522373
can u guide where are these setting in ie ?
are they :
java console enable,
java it compiler
java logging enable???
if no tell me where.

0
 

Author Comment

by:Caggs
ID: 1522374
no probs pakos....like i said i appreciated the fact that u answered the question again for me....

with regards to the settings, yes, i think they are the settings that need to be enabled(maybe not "java logging enable")....i also need to enable SSL 2.0 and SSL 3.0....

i hope u have success; thanx alot for your help with this question
0
 

Accepted Solution

by:
pakos earned 320 total points
ID: 1522375
caggs, i'm back :

here is the addres in the registry when u can find the java stuff :
this will turn'em off:

{HKEY_CURRENT_USER\Software\Microsoft\Java VM]
"EnableJIT"=hex:00,00,00,00
"EnableLogging"=hex:00,00,00,00
"EnableJavaConsole"=dword:00000000

to turn'em on :

[HKEY_CURRENT_USER\Software\Microsoft\Java VM]
"EnableJIT"=hex:01,00,00,00
"EnableLogging"=hex:01,00,00,00
"EnableJavaConsole"=dword:00000001

check the registry in this location
HKEY_CURRENT_USER\Software\Microsoft\Java VM
so u can turn on what u want.

and for ssl stuffs:

"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
find secure protocol

if ssl2 and ssl3 are turned off this is the key
"SecureProtocols"=dword:00000000

if ssl2 and ssl3 are turned on here's the key
"SecureProtocols"=dword:00000028

if ssl2 off and ssl3 on
"SecureProtocols"=dword:00000020

if ssl2 on and ssl3 off
"SecureProtocols"=dword:00000008

hope with this i fullfilled all ur registry needs,
and don't hesitate to ask more, :)
0
 

Author Comment

by:Caggs
ID: 1522376
pakos, you're an absolute legend.....thankyou so much for all your efforts on this question....sorry to be a pain, but i have one more query....

in this section "HKEY_CURRENT_USER\Software\Microsoft\Java VM" i have the "EnableJIT" and "EnableLogging" options but not the "EnableJavaConsole" option.....also i couldn't find the "SecureProtocols" option in "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings"....any idea on why this is?

and thanx again...i wish i could return the favour somehow
0
 

Expert Comment

by:pakos
ID: 1522377
I am using Windows 98 and IE5 and what are u using?, maybe this is the problem!
answer me , if so i'll try to check it on my other computer, soon. :)
no prob about paying back my favour, it's just a matter of headbreaking for me.
0
 

Author Comment

by:Caggs
ID: 1522378
i am using windows 98 and ie4....that is probably why the options don't match up.....if u don't have time to check your other computer just leave a comment and let me know and i will grade your current response....u have already been very helpfull...
0
 

Expert Comment

by:pakos
ID: 1522379
for ssl2:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\CRYPTO\SSL2.0]

for ssl3:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\CRYPTO\SSL3.0]

and there is no "EnableJavaConsole", in ie4

and i think u have both conditions for ie4 or ie5...
good luck in ur project.

0
 

Author Comment

by:Caggs
ID: 1522380
thanx for the locations pakos, but do u know what i have to set to make sure they are on...there were a lot of options in each and i'm not sure which one/s i have to check/set....once again, if u don't have time just let me know and i'll grade the current response (it's already worth more than an A!)
0
 

Expert Comment

by:pakos
ID: 1522381
U will not believe what i did , i wrote a small app to compare two files i retrieve from registry software, to check line by line where Mr bill hides his ie settings.
and here is am i succeded again :
this is the location
and these are the setting for SSl2 & SSL3 turned off:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"SecureProtocols"=dword:00000002

nice game no?

0
 

Expert Comment

by:pakos
ID: 1522382
i forgot this :

To turn SSL2 & SSL3 ON

"SecureProtocols"=dword:0000002a
0
 

Expert Comment

by:pakos
ID: 1522383
hem, the end of this bestseller, hope to hear from u soon. :) and agin good luck in ur project

0

Featured Post

Industry Leaders: 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!

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

705 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