Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / change exe Icon

Author
Message
DennisW
16
Years of Service
User Offline
Joined: 15th Jun 2008
Location: Ohio
Posted: 12th Sep 2008 06:11
Hi All

Can someone tell me what you have to do to use the icons in DBPro. I have Icons that I use in VB 2008 with no problem. It has a ico format. Also I notice that in some cases when the icon has been changed and works but has a *.bmp. If I try to put in a ico or bmp it says cant read. I do have a program that will convert images to a ico. That works with no problem in other programs such as vb2008 c# C++ and so on so what is it with DBpro. I am running Vista if that matters.

Dennis W
Quantum Fusion
16
Years of Service
User Offline
Joined: 1st Aug 2008
Location: The Great White North
Posted: 13th Sep 2008 23:41
I've had no problems loading .ico files in various sizes (from 48x48, to 16x16 in 32bit colour) in DBpro. And if I used a .ico file with only one image size contained in it, DBPro automatically made all the other sizes.

The only down side I saw was that DBPro reduced the images quality.

I havent tried load a icon as a .bmp, so I dont know much about that.

Dual-Core Pentium D @ 3.00GHz, 1.0 GB nVidia GeForce 8500 GT, 20" Wide screen LCD @ 10,000:1 Contrast, 4.0 GB DDR2 SDRAM, Triple-boot: 32-bit Windows XP MCE, 64-bit Vista, 64-bit Linux Ubuntu
DennisW
16
Years of Service
User Offline
Joined: 15th Jun 2008
Location: Ohio
Posted: 14th Sep 2008 22:00
I try to go into the Icon area and add the image.ico and it always says cant read. I tried differnt size and color detph bit always the same thing.

Dennis W
DennisW
16
Years of Service
User Offline
Joined: 15th Jun 2008
Location: Ohio
Posted: 15th Sep 2008 02:07
I am sorry I will look a lot more next time before I post I thought this was the beginner site. My mistake


Dennis W

Oh and with even that it don't work
Quantum Fusion
16
Years of Service
User Offline
Joined: 1st Aug 2008
Location: The Great White North
Posted: 15th Sep 2008 18:23
I think we need to ask him what version of DBPro he is using.

From what I've read on the forum about .ico trouble seems to happen with older versions of DBPro.

I use the 1.069 version, and I clearly ignored the minimum requirements for .ico files (I've tried all of these: 32-bit, 24-bit, 16-bit .... at various sizes 48x48,32x32 etc etc) and they all worked.

Dual-Core Pentium D @ 3.00GHz, 1.0 GB nVidia GeForce 8500 GT, 20" Wide screen LCD @ 10,000:1 Contrast, 4.0 GB DDR2 SDRAM, Triple-boot: 32-bit Windows XP MCE, 64-bit Vista, 64-bit Linux Ubuntu
DennisW
16
Years of Service
User Offline
Joined: 15th Jun 2008
Location: Ohio
Posted: 16th Sep 2008 17:33
Quantum Fusion

Ok this is what I came up with after much trial and error. I was under the imperssion that if you clicked on the icon button that you can browse to a dir and then click on your Icon. For some reason I have to put the icon in the project folder. Then when I click the icon there is no problem. I can use ico or bmp format.

Thanks for your Help

Dennis W
Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 6th Oct 2008 23:57
Here's the deal - the IDE always says that it can't read the icon file (at least most of the time).
Allthough, if you compile it with a proper icon (ie. 8-bit 32x32 bitmap), it will actually get attached.
At least that's the way it works for me; give it a try

"I kören hörs de brummande busarna Björnligan och Gondolen"
faizeq
16
Years of Service
User Offline
Joined: 13th Oct 2008
Location: Under the table
Posted: 30th Oct 2008 03:17
Have you tried putting the ico files in the same directory with your dbpro and dba files... that should help..dont know why but it just wont accept ico files which are not located in the main source root ...

Login to post a reply

Server time is: 2024-11-25 16:52:29
Your offset time is: 2024-11-25 16:52:29