?
Solved

Changing control colours - simple question

Posted on 2000-03-20
1
Medium Priority
?
138 Views
Last Modified: 2010-05-02
Can any body tell me if it is possible to change the colour of the status bar and toolbar in the way you can edit the background colours of othe rcontrols?

Is it even possible?  Is it set by windows?

Cheers,

Matt.
0
Comment
Question by:Matt_Unsworth
1 Comment
 
LVL 5

Accepted Solution

by:
Voodooman earned 80 total points
ID: 2635438
Yes you can do anything with Access
Put this behind a button.
This renames a table in my database called EXEPOS32 the name in my table is Test and I changed it to NewTest.

You must have the relevant Data object Library added in the references. In my case it is Access7 I have added the 3.51 object Library.  This works! Thank you in advance for the points - VoodooMan

Private Sub B_Rename_Click()

Dim db As Database
Dim rs As DAO.Recordset
Dim ws As Workspace
Set db = OpenDatabase("C:\Exepos32\exepos32.mdb")

db.TableDefs("Test").Name = "NewTest"



End Sub
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…
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…
Suggested Courses
Course of the Month16 days, 9 hours left to enroll

864 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