473,815 Members | 2,744 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2574
On Aug 11, 11:46*am, Kiers <kie...@leasema nager.co.ukwrot e:
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...@gma il.comwrote:
On Aug 11, 11:46*am, Kiers <kie...@leasema nager.co.ukwrot e:
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****@leasema nager.co.ukwrot e in message
news:b1******** *************** ***********@r66 g2000hsg.google groups.com...
On 11 Aug, 21:14, jonceramic <joncera...@gma il.comwrote:
On Aug 11, 11:46 am, Kiers <kie...@leasema nager.co.ukwrot e:
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:

SizeFormToWindo w 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****@leasema nager.co.ukwrot e in message
news:54******** *************** ***********@a1g 2000hsb.googleg roups.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

ChangeMDIBackGr ound.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****@leasema nager.co.ukwrot e in message
news:49******** *************** ***********@26g 2000hsk.googleg roups.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****@leasema nager.co.ukwrot e in message
news:cc******** *************** ***********@m36 g2000hse.google groups.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

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

Similar topics

3
23881
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 to use a database table but all I want to do now is to click a command button to display this access report. Any suggestions please ?????
7
3304
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 access denied using resizeTo. I am having the same issue but the explanations in this article don't seem to apply here. I am not trying to resize a window with content from a different server. This issue lies here. What I do is make a popup...
6
4766
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 appreciated. Thanks in advance
3
2556
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. Shell("c:\windows\calculator.exe", vbNormalNoFocus) In other words are there Win2000/XP api's that would allow you to control the functionality of the calculator. I'm just using the calculator application as an example I am actually trying to control a main frame app...
7
5479
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 = oPPT.ActivePresentation oPPT.WindowState = ppWindowMinimized Then I do the copy and paste part: With oPres
2
14138
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 database? Thanks, Dean Slindee
5
4333
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 VBA. (Working, meaning it hasn't crashed on me yet... ;-). I Would anybody know how to take this VB.NET Winform (using it's handle, subclassing, or other means) and set it's parent to be the Access MDI client area so that it will behave as if...
4
6416
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 to look a and I am loosing tremendious amounts of time trying to organize it so that I could view it. Regards, Alexandre Brisebois
1
5744
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 database - containing a list of addresses. Sequence of events is = (1) Excel template opens in its default XXX.xls filename. (2) Code runs to save the spreadsheet as XXX.xls. (3) User clicks a button to open an Access database containing an
2
3121
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 form open inside the Access window so that it fills the window completely without borders? I have seen some databases that open and there is no outside borders and the forms all work neatly inside. It looks like the database form is
0
9610
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10672
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10408
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9225
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7687
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5710
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4358
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3886
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3030
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.