Solved

Changing control colours - simple question

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

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

867 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

15 Experts available now in Live!

Get 1:1 Help Now