Solved

Changing control colours - simple question

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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…
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…
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 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…

770 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