Board Logo
« suggestion for revision to Just BASIC beyond v1.01 »

Welcome Guest. Please Login or Register.
Nov 21st, 2009, 9:24pm



Conforums Terms of Service | Membership Rules | Home | Help | Search | Recent Posts | Notification | Format Your Message | Vista/Win7 FAQ


Pages: 1  Notify Send Topic Print
 thread  Author  Topic: suggestion for revision to Just BASIC beyond v1.01  (Read 105 times)
tooanalytical
Senior Member
ImageImageImageImageImage

member is offline

Avatar




PM


Posts: 1088
xx suggestion for revision to Just BASIC beyond v1.01
« Thread started on: Nov 2nd, 2009, 8:39pm »

Modify Just BASIC to allow writing any one of a small set of altenate program icons; so our distributable programs need not be stuck with the current "B" image. Maybe give us three or four alternate icons and each of them may/might still contain a "B", but more interesting image designs. The images could use shape features different than the current stacked rotated two squares.
User IP Logged

Stefan Pendl
Administrator
ImageImageImageImageImage

member is offline

Avatar

Let's talk JB ...


PM

Gender: Male
Posts: 2158
xx Re: suggestion for revision to Just BASIC beyond v
« Reply #1 on: Nov 3rd, 2009, 02:25am »

Only the first icon resource inside an executable file will be used as the program icon, if you have no way to specify a different one from within the application, which needs access to Windows API functions.

A more general way to change the icon of an executable is by using a resource editor.
  1. use IcoFX to create icons of your own
  2. you can find freeware icons on the net, but make sure to check the license to make sure the icons are really free for use with a distributed application
  3. finally you replace the current icon resource in the runtime engine with a new one by using XN Resource Editor
User IP Logged

Stefan

Any code I post can be used by others in their own projects, there is no need to ask for permission, just give credit if you like

Just BASIC 1.01, Windows Vista Home Premium SP2, AMD Turion X2 RM-70 2GHz, 4GB RAM
JohnDavidson
Administrator
ImageImageImageImageImage

member is offline

Avatar




Homepage PM


Posts: 3745
xx Re: suggestion for revision to Just BASIC beyond v
« Reply #2 on: Nov 3rd, 2009, 3:01pm »

It would be handy for JB to recognize a Default.Ico in an application's folder.
If it is in the folder use it for the window's icon, if not, use JB's default icon.

Sorta like LB's old Splash.Bmp.

John
User IP Logged

John Davidson
e-me: johnshomeport@yahoo.com
My JB Page: http://john.jbusers.com/
Did ya Libby yet? http://lblibby.com/
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Conforums Terms of Service | Membership Rules | Home | Help | Search | Recent Posts | Notification | Format Your Message | Vista/Win7 FAQ


New Monthly Ad-Free Plan!

$6.99 Gets 50,000 Ad-Free Pageviews!
| Free Shoutboxes | Hookah |

This Board Hosted For FREE By Conforums ©
Get Your Own Free Message Board!