Solved

Changing control colours - simple question

Posted on 2000-03-20
1
122 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 20 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

760 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

21 Experts available now in Live!

Get 1:1 Help Now