?
Solved

How to Change Registry Key Value using Java?

Posted on 2003-03-04
13
Medium Priority
?
373 Views
Last Modified: 2008-02-01
Without using regedit manually, using Java Code, I need to change the Registry Key Value . Pls tell me how to do that ?
0
Comment
Question by:subha_chennai_id
  • 4
  • 3
  • 3
  • +1
11 Comments
 
LVL 8

Expert Comment

by:tncbbthositg
ID: 8071403
I may be wrong, but I dont think you can change reg-key values on the user machine.  That would be a bad thing.
0
 
LVL 4

Expert Comment

by:swinslow
ID: 8076604
It's VBscript instead of Java ....

http://www.ss64.demon.co.uk/wsh/

0
Independent Software Vendors: 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!

 
LVL 8

Expert Comment

by:tncbbthositg
ID: 8077308
It's still not going to change a clients machine.  That's a security risk.
0
 
LVL 8

Expert Comment

by:tncbbthositg
ID: 8077350
0
 
LVL 17

Expert Comment

by:dorward
ID: 10371555
I would suggest that the points go to me (as all the other comments use different technologies). Its a shame that my references have died in the meantime.
0
 
LVL 4

Expert Comment

by:swinslow
ID: 10373359
I dissagree with dorward. He did not offer any solutions. The links that he has posted are dead links.
However, VBScript will work and the link I posted is live and gives a thorough reference guide on how to do it.

Soren
0
 
LVL 17

Expert Comment

by:dorward
ID: 10373547
(1) What exactly do you disagree about?
(2) There are no solutions to the question
(3) I said they are now dead links
(4) Java and VB Script have nothing whatsoever in common
(5) Solutions using Windows Scripting Host, as far as I know (I could be wrong about this), don't run from the web - and this is the Web Development topic

recommendation: PAQ, no refund.
0
 
LVL 4

Expert Comment

by:swinslow
ID: 10373673
1- I disagree that you didnt even hint to a resolution. But instead left dead links.
2- You are right there are not any "real" solutions posted, but at leat the link I left is live.
3- Yes, you did say that they are now dead. If you can post the code or solution to use. I will gladly conceed to you.
4- Yes, it is true that VBScript and JavaScript are completely different. So if one lanquage will not do the trick, you can use the other.
5- Yes, WSH can be run from the web. I have used it on several ocasions on our intranet to get computer names and user names of the people accessing some of the pages.
0
 
LVL 17

Expert Comment

by:dorward
ID: 10373747
1. Looking at the first URI I posted in the way back machine will prove that I did post a useful solution - however the code samples are not preserved, only the covering text, so it is no longer helpful.
4. JavaScript? Who mentioned JavaScript?

My recommendation standards - PAQ, no refund.
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 10463254
PAQed - no points refunded (of 20)

GhostMod
Community Support Moderator
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

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

Over time, the online landscape has altered considerably, but that’s nothing compared to the up-and-coming trends that will shape the web design industry in the coming year. Keep reading to find out which trends will shape B2B web design in 2018.
No other job is as rewarding and demanding as building an iPhone app is. It is not really in the hands of the developer for the success of an iPhone app. Many factors operate jointly for every iOS application's success in the market.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

621 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