I'm looking for complete list of options that could be set using Access user profile. All I could found till now are some rather "harmless" options like TitleBar, Icon, StartupScreen and AppHelpFile. Also workgroup file reference and DBEngine settings could be overwritten. IS THAT ALL ? What about all the other settings, like "Behavior Entering Field", "Arrow Key Behavior" ect. ?
8 3626 @dima69
Just a little something to get you started. You will not be able to modify some Properties and Options, but you can experiment. The Database may also have to be Closed and Opened again before some take effect. -
Dim prp As Property
-
Debug.Print "Properties for DBEngine"
-
Debug.Print "---------------------------------------"
-
For Each prp In Application.DBEngine.Properties
-
Debug.Print "Name : " & prp.Name
-
Debug.Print "Value: " & prp.Value
-
Debug.Print "---------------------------------------"
-
Next
-
Debug.Print
-
Debug.Print
-
Debug.Print
-
Debug.Print "Properties for the Current Database"
-
Debug.Print "---------------------------------------"
-
For Each prp In CurrentDb.Properties
-
Debug.Print "Name : " & prp.Name
-
Debug.Print "Value: " & prp.Value
-
Debug.Print "---------------------------------------"
-
Next
-
NOTE: Try the GetOption() Method in the Help Files, then follow the Link to Set Options from Visual Basic.
Thanks for your reply. The problems here are:
1. DEngine options can be set at runtime using DBengine.SetOption method, you don't need a user profile for that.
2. Application.SetOption method really takes care of the settings in question, but it affects ALL Access applications on the client computer, and this is what I'm trying to avoid.
@dima69
Sorry for my misinterpretation. You are looking to set User specific Options, correct?
Yes, that's what I'm looking for - to set options so that this will affect my application only.
Changes made with the SetOption method are only in effect for the current instance of the DBEngine object. For more information about the SetOption method, type SetOption method in the Office Assistant or on the Answer Wizard tab in the Help window, and then click Search.
See this link: Chapter 7: Optimizing Your Application
Yes, this is correct as applied to DBEngine options. But this is quite a different case with Application.SetOption method, as this method is actually changes registry settings for Access.
Ok, if you don't want to use the DBEngine.SetOption method, you can use the profile method as discussed below, which was excerpted from the link I gave you in the previous post.
Excerpt:
If you want changes to Microsoft Jet settings to affect only your application or your session of Access, you can create a custom set of Registry subkeys, called a user profile, that contains settings to override default Registry settings. You use the /profile command-line option when starting Access to specify the user profile you want your application to use.
This is not that I don't want to use DBEngine.SetOption method (actually, I do use it), The issue is that I want to set an options other than DBEngine options, and I was wondering if this can be done by user profile.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Paul |
last post by:
Hi,
I am a self taught VBA programmer, and I'm trying to learn VB2005 Express
(The price was right).
I like the look of the treeview control, and I'd like to use it as a menu
system for my users,...
|
by: shapper |
last post by:
Hello,
I have a profile with multiple profile properties in my Web.Config:
<add allowAnonymous="false" name="Contact" type="Contact"
serializeAs="Binary"/>
<add allowAnonymous="false"...
|
by: shapper |
last post by:
Hello,
I have the following class to be used in profile:
<Serializable()_
Public Class Options
Inherits ProfileBase
Private _Newsletter As Boolean
Public Property Newsletter() As Boolean
|
by: shapper |
last post by:
Hello,
I read everything I could find and still I get an error ... this is not
making much sense.
The objective: Create a profile for an existing user.
I need to use: Multiple classes with...
|
by: shapper |
last post by:
Hello,
In my Page's VB.NET code I am changing the value of the Profile
property NAME.
Profile.Name = tbName.Text
However, I need to change this property value from a class in my
App_Code...
|
by: ruthie |
last post by:
Hi,
I would like to use the profile - so I added the following code to
the
web.config file:
<profile automaticSaveEnabled="true">
<properties>
<add name="ReplyAddress"/>
|
by: Icemokka |
last post by:
Hi,
I've got a table in MsAccess with 100+ fields.
If I fill a tabletable with this table , change some values , get the
update-command via commandbuilder , the update fails.
This because the...
|
by: bbrewder |
last post by:
I am struggling with some MSAccess automation issues. Basically, we
have a .Net application that uses MSAccess for reporting (legacy
code). We are able to launch MSAccess fine and even work with...
|
by: chrisdev3 |
last post by:
How can I open the Access Options Window from "Office Button" in
MSAccess 2007 ? I have a runtime of MSAccess and I need to Add New
Location in Trusted Locations tab.
Thanks a lot in advance.
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |