Solved

Changing Registry Settings...

Posted on 2004-08-10
3
132 Views
Last Modified: 2010-05-19
Hello Friends,

I am looking for a code snippet that would allow me to change registry settings, especially the short date format (sDateFormat, i believe) in VBA for Access. I think even VB would be the same. Can someone please help me with that...

Thanks,
Srinivas
0
Comment
Question by:srinivas_vemla
3 Comments
 
LVL 8

Assisted Solution

by:bramsquad
bramsquad earned 45 total points
ID: 11764233
it would be the SaveSetting() function, but you would need to know the location of the data you want to change

~b

0
 

Author Comment

by:srinivas_vemla
ID: 11764350
Hello bramsquad,

This is what I want to change:

SDate in
HKEY_USERS\.DEFAULT\Control Panel\International\

And I want the change to be affected across the whole application...

Any ideas...

Thanks
Srinivas
0
 
LVL 49

Accepted Solution

by:
Ryan Chong earned 80 total points
ID: 11769396
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now