• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 320
  • Last Modified:

Read and Write Registry key

Hi all,

Basically i'd like to know how to read and write registry keys for windows 2000/XP
More specifically i'd like to create two things:

- An uninstall item for an application i made in the add and remove programs menu
- Create an ODBC Connection to a DB (SQL Server or Oracle)

Of course if you know any other work around to achieve these things then i'm all hears open.

Cheers,
Miraodb
0
miraodb
Asked:
miraodb
  • 4
  • 3
1 Solution
 
aozarovCommented:
Use 1.5 java.util.prefs.Preferences
0
 
aozarovCommented:
0
 
miraodbAuthor Commented:
Thanks for that, but do u have any idea on how to achieve the two goals of mine ?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
miraodbAuthor Commented:
Also i'd like to say that i use 1.4.2 and not 1.5.
Cheers
0
 
aozarovCommented:
For JVM < 1.5 -> http://www.bayequities.com/downloads/jreg/ (a library that uses JNI)

>> An uninstall item for an application i made in the add and remove programs menu
http://support.microsoft.com/?kbid=314481

>> - Create an ODBC Connection to a DB (SQL Server or Oracle)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcregistry_entries_for_odbc_components.asp
0
 
CEHJCommented:
You'd probably be better trying to introduce that functionality through an installer rather than in the app itself:

http://www.izforge.com/izpack/
0
 
miraodbAuthor Commented:
I'm actually working with izpack and developping this feature for them ;-)
0
 
miraodbAuthor Commented:
Thanks for the links... that's perfect !
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!

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