?
Solved

Changing control colours - simple question

Posted on 2000-03-20
1
Medium Priority
?
137 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

650 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