473,385 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Set the Access window to a bmp

Hi,

I am running A2K7 and want to set the Access window/desktop of my
application to the logo of the Company. is this possible?. If yes any
pointers would be appreciated

TIA

Kiers
Aug 11 '08 #1
10 2521
On Aug 11, 11:46*am, Kiers <kie...@leasemanager.co.ukwrote:
Hi,

I am running A2K7 and want to set the Access window/desktop of my
application to the logo of the Company. is this possible?. If yes any
pointers would be appreciated

TIA

Kiers
Unless it's changed (I don't have A2K7), it was Tools->Startup...-
>Application Icon.
If you'd just like a background image, you just put that on your form
in the proper spot. Make sure it's set behind your controls by going
to "Format" on the toolbar and choosing "Send to Back".

Thanks,

Jon
Aug 11 '08 #2
On 11 Aug, 21:14, jonceramic <joncera...@gmail.comwrote:
On Aug 11, 11:46*am, Kiers <kie...@leasemanager.co.ukwrote:
Hi,
I am running A2K7 and want to set the Access window/desktop of my
application to the logo of the Company. is this possible?. If yes any
pointers would be appreciated
TIA
Kiers

Unless it's changed (I don't have A2K7), it was Tools->Startup...-
Application Icon.

If you'd just like a background image, you just put that on your form
in the proper spot. *Make sure it's set behind your controls by going
to "Format" on the toolbar and choosing "Send to Back".

Thanks,

Jon
Hi Jon,

thanks for responding, though just to clarify: i don't want to put the
logo on a form, but rather the background of the Access window so it
is visible when no forms/reports are open.

Thanks

Kiers
Aug 12 '08 #3
"Kiers" <ki****@leasemanager.co.ukwrote in message
news:b1**********************************@r66g2000 hsg.googlegroups.com...
On 11 Aug, 21:14, jonceramic <joncera...@gmail.comwrote:
On Aug 11, 11:46 am, Kiers <kie...@leasemanager.co.ukwrote:
Hi,
I am running A2K7 and want to set the Access window/desktop of my
application to the logo of the Company. is this possible?. If yes any
pointers would be appreciated
TIA
Kiers

Unless it's changed (I don't have A2K7), it was Tools->Startup...-
Application Icon.

If you'd just like a background image, you just put that on your form
in the proper spot. Make sure it's set behind your controls by going
to "Format" on the toolbar and choosing "Send to Back".

Thanks,

Jon
Hi Jon,

thanks for responding, though just to clarify: i don't want to put the
logo on a form, but rather the background of the Access window so it
is visible when no forms/reports are open.

Thanks

Kiers

AFAIK it's not possible to put a bitmap on the mdi background. You need to
use API code to even just change the colour.

However there is a way using a form and a bit of code to _simulate_ what you
want.

Create a new unbound form. Call it say 'Background'. Set the form's
borderstyle to 'None'. Set it's Picture property to your logo bitmap. Then
grab this piece of code:

http://www.smccall.demon.co.uk/Windows.htm#WinManip

Open the background form in design view and put this code into the OnOpen
event procedure:

SizeFormToWindow Me

Open this form before whatever you normally load up first. The user will not
be able to affect the background form in any way because it has no title bar
(and hence no system menu or close button).

HTH
Aug 12 '08 #4

Hi Stuart,

this helps a real lot - almost there now - thank you.

just a couple of questions;

despite the fact that i have disabled scroll bars they still apear -
do you know why? and secondly, if the user resizes the Access window,
is it possible to automatically resize the form, otherwise if the
window is made larger i get an unwanted border (back to the default)?

Thanks Again.

Kiers
Aug 12 '08 #5
Comments inline:

"Kiers" <ki****@leasemanager.co.ukwrote in message
news:54**********************************@a1g2000h sb.googlegroups.com...
>
Hi Stuart,

this helps a real lot - almost there now - thank you.

just a couple of questions;

despite the fact that i have disabled scroll bars they still apear -
do you know why?
Probably because your bitmap is too big. Try reducing the size a bit (if you
have the wherewithall)
and secondly, if the user resizes the Access window,
is it possible to automatically resize the form, otherwise if the
window is made larger i get an unwanted border (back to the default)?
No, unfortunately there's no event fired when Access resizes (TTBOMK). I
should have mentioned before that this technique only works well if Access
is run maximized.

It's by no means an ideal solution, but it works well within its limits.
>
Thanks Again.

Kiers

Aug 12 '08 #6
See:
http://www.lebans.com/changemdibackground.htm
Updated May 03,2003 Now allows you to select a Bitmap Image to place in the
background of the MDI window. No Subclassing required

ChangeMDIBackGround.zip is a database containing a function to allow you to
specify a color or Bitmap Image for the background of the main Access MDI
window. NO SUBCLASSING REQUIRED!

Release Notes:

Version 3

Added support to allow you to specify a Bitmap Image to be placed into the
background of the MDI window.

Version 2

Added support to change the Background and Text colors for the Access Status
Bar.

Version 1

Initial Release. Only supports solid colors.

Search Keywords:

MDI Document window Bitmap Status Bar color
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.

"Kiers" <ki****@leasemanager.co.ukwrote in message
news:49**********************************@26g2000h sk.googlegroups.com...
Hi,

I am running A2K7 and want to set the Access window/desktop of my
application to the logo of the Company. is this possible?. If yes any
pointers would be appreciated

TIA

Kiers

Aug 12 '08 #7
Hi Stephen

I had an idea you'd have something for this. Thanks for jumping in. I'll
take a look at your database soon.
Aug 13 '08 #8
Hi Stephen,

I downloaded the db and copied in the modules/forms as instructed, but
couldnt get it to work in either A2K3 or A2K7.

In A2K3, it looks like it works, in that the bitmap is displayed, but
when the db is reopened it has disappeared.

In A2K7, the bitmap selected just doesnt apear in the MDI when
selected.

Have i missed something?

Thanks for your help.

Rgds

Kiers
Aug 13 '08 #9
You have to set the background for the MDI window each time your MDB is
started. Most folks place the required code inthe Load event of the first
form they open.

I have no idea as to whether it will work in A2007 or not.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Kiers" <ki****@leasemanager.co.ukwrote in message
news:cc**********************************@m36g2000 hse.googlegroups.com...
Hi Stephen,

I downloaded the db and copied in the modules/forms as instructed, but
couldnt get it to work in either A2K3 or A2K7.

In A2K3, it looks like it works, in that the bitmap is displayed, but
when the db is reopened it has disappeared.

In A2K7, the bitmap selected just doesnt apear in the MDI when
selected.

Have i missed something?

Thanks for your help.

Rgds

Kiers

Aug 13 '08 #10
Thanks Stephen,

I now realise how dumb the A2K3 question was.......

Kiers
Aug 13 '08 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Nicola | last post by:
Hi Everyone, I am new to programming and would like to know how to open an access Report from within vb 6. I am trying to write a program to organise cross stitch threads. I have found out how...
7
by: George Hester | last post by:
Please take a look at this google artcle: http://groups.google.com/groups?hl=en&lr=&frame=right&th=55d6f4b50f5f9382&seekm=411f370d%241%40olaf.komtel.net#link9 The op was having trouble with...
6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
3
by: Pete | last post by:
Is there any possiblity of writing an Access or Visual Basic application that provides a method of sharing the window focus between Access and the Shell application? i.e....
7
by: Colleyville Alan | last post by:
I have an app that uses Access to grab various PowerPoint slides using the followhyperlink command. I have set the PPT window to run in a minimized state: FollowHyperlink link Set oPres =...
2
by: Dean Slindee | last post by:
Anybody written code in VB.NET to: 1) show a print preview window of reports already written and stored in an Access 2002 database; or 2) execute the print of a report stored in an Access 2002...
5
by: Matthew Hood | last post by:
Here's a interesting question for the guru's out there. I've created a VB.NET class library with a couple of forms that I have successfully got to work from within MS Access using COM interop and...
4
by: alexandre.brisebois | last post by:
Hi, I am using access 2003, I would like to know if there is an option to reorganize the tables in a maner that is readable, as we can do in sql sever 2000 or 2005. I have been given a database...
1
by: garry.oxnard | last post by:
Can anyone help me to solve a problem which involves switching from Access to Excel (then back to Access) programatically please? I have an Excel template which, on open, also opens an Access...
2
by: Samuel | last post by:
I have some questions that are sort of connected. I use Access 2003. Is it possible to set some properties that can make the Access window open at a particular size? Is it possible to make a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.