473,800 Members | 2,518 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

icons disappear from buttons when app runs

Hi,

We have recently added some icons onto buttons for a windows app
(VS2005). While we are in the designer they all look ok, but
once we run the program some of the icons disappear from the buttons on
some screens. Other changes, such as text changes do appear ok.
Strangely, on the same screens icons for link labels come up ok.

Any ideas?

Thanks in advance,

Kristian

Jan 22 '07 #1
0 1147

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

Similar topics

5
2434
by: drum118 | last post by:
Has anyone experience problems with firewall blocking some icons and not others. I am using Zone alarm and have the popup set for medium and it was blocking some of the icons for some strange reason that I have not seen before. Any reason why they are been blocked as well not showing up on view source as I am at a lost?
1
1266
by: Dave | last post by:
Hello, I have an issue with images that appear and then seem to disappear depending on the compile and exectution sequence I use. I haven't been able to narrow down a repeateable sequnce. I suspect this is an initialization problem. I wonder if anyone else knows how to fix this? In my C# Form Load() method, I include the following (m_ToolBarImageList is defined as a instance ImageList):
24
3823
by: Crom | last post by:
Ok. I want to settle this once and for all. After looking at the source for various, rather sizeable (but not all were so big) web sites that use icons that show up in the addressbar beside the address itself. Just about all websites that use said icons use one of these two methods (some use both even) to make them appear (in the code of a webpage.) : <LINK REL="icon" HREF="/icon.ico" TYPE="image/ico"> <LINK REL="SHORTCUT ICON"...
3
3200
by: sto | last post by:
look at this picture http://upload.cs99.net/e.gif i use the function SHGetFileInfo to get file icons. but these icons are not very nice. there are some black things round of the icons. many applications use system icons for files. how did their programmers solve this problem in these apps?
3
2473
by: Al | last post by:
Hi All, I am trying to get a 24x24 "Windows XP" icon to display correctly on a button in my toolbar. My icon has 8 layers (16x16, 16x16, 24x24, 24x24, 32x32, 32x32, 48x48, 48x48) with each size having a 256 and windows xp colored image. When my application runs, the icon with 256 colors appears rather than the xp icon. I have tried using a manifest as well as Application.EnableVisualStyles. No luck. I have seen numerous articles...
7
3115
by: Siv | last post by:
Hi, I have an MDI application that uses a generic "ShowPage" routine in a module that is called when I want to display a child form. The basic idea is that in the module I have declared each form as follows: Friend F0 As frmMain Friend F1 As frmStart Friend F2 As frmSearch Then in my ShowPage routine (which is passed a string "pageToShow" which is the name of the form I wish to open), I first check to see if we already have an instance...
0
824
by: Kristian | last post by:
Hi, We have recently added some icons onto buttons for a windows app (VS2005, VB.NET). While we are in the designer they all look ok, but once we run the program some of the icons disappear from the buttons on some screens. Other changes, such as text changes do appear ok. Strangely, on the same screens icons for link labels come up ok. Any ideas?
1
1412
by: drewski526 | last post by:
Hi, I wrote a small part of a larger program, and oddly enough, when i try to run it, the icons spontaneously appear and disappear when i mouse over them. background_img = Image.open('icons\\background.bmp') background = ImageTk.PhotoImage(background_img) buttons = Label(root, image=background, height=100, width=400) buttons.pack() exitB = Button(buttons, width=32, height=32, image=exit_Button, text="Exit", command=root.quit).pack() ...
2
1464
by: chupcha | last post by:
Hello all, I'm very new to java script and I need help. I have a couple of buttons on a page that I need to disappear when one of the buttons is clicked. What I found is this: onclick="this.setStyle('display', 'none') It works great, but only for the button that is clicked. How would I make it for all the buttons to disappear?
0
9550
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
10501
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
10273
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...
1
10250
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10032
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5469
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5603
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
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
3
2944
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.