473,569 Members | 2,880 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Icons in a module

Does anyone know how to use an icon in the Project Properties (for the icon
in Explorer) when all the project consists of is a module? I cannot find any
help in the help files. I'm using VB5 (no service packs) and no forms or
controls.
--
QuickHare
Remove the NOT HERE to email direct.
Jul 17 '05 #1
3 2289
If you have the resource editor add-in, use it, add the icon there, set it's
name to assure it's the first to be found, ie "aaaaaa", and compile.

--

Randy Birch
MVP Visual Basic
http://www.mvps.org/vbnet/
Please respond only to the newsgroups so all can benefit.
"QuickHare" <Qu**********@H EREHotmail.com> wrote in message
news:bq******** *****@athena.ex .ac.uk...
: Does anyone know how to use an icon in the Project Properties (for the
icon
: in Explorer) when all the project consists of is a module? I cannot find
any
: help in the help files. I'm using VB5 (no service packs) and no forms or
: controls.
: --
: QuickHare
: Remove the NOT HERE to email direct.
:
:
Jul 17 '05 #2

"QuickHare" <Qu**********@H EREHotmail.com> wrote in message
news:bq******** *****@athena.ex .ac.uk...
Does anyone know how to use an icon in the Project Properties (for the icon in Explorer) when all the project consists of is a module? I cannot find any help in the help files. I'm using VB5 (no service packs) and no forms or controls.
--
QuickHare
Remove the NOT HERE to email direct.

Do what Randy said; or do it the lazy way:
add a form, put an icon in it, get the icon from it for your project,
then continue to use Sub Main as start up, and don't show the form
anywhere in your code. No one says you have to use the form.
Jul 17 '05 #3
But the task switcher will show the default "form" icon unless one is set in
a res file.

--

Randy Birch
MVP Visual Basic
http://www.mvps.org/vbnet/
Please respond only to the newsgroups so all can benefit.
"Steve Gerrard" <no************ *@comcast.net> wrote in message
news:xo******** ************@co mcast.com...
:
: "QuickHare" <Qu**********@H EREHotmail.com> wrote in message
: news:bq******** *****@athena.ex .ac.uk...
: > Does anyone know how to use an icon in the Project Properties (for the
: icon
: > in Explorer) when all the project consists of is a module? I cannot
: find any
: > help in the help files. I'm using VB5 (no service packs) and no forms
: or
: > controls.
: > --
: > QuickHare
: > Remove the NOT HERE to email direct.
: >
: >
: Do what Randy said; or do it the lazy way:
: add a form, put an icon in it, get the icon from it for your project,
: then continue to use Sub Main as start up, and don't show the form
: anywhere in your code. No one says you have to use the form.
:
:
Jul 17 '05 #4

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

Similar topics

5
2424
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?
24
3788
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...
6
2353
by: B-Dog | last post by:
Does anyone know where I can find some professional looking icons that are the standard windows collection for developers? The ones that came on the VS cd are pretty lame. Thanks
7
3093
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"...
17
14662
by: Brett | last post by:
I'd like references on where to find some good (quality) icons to use for form and application icons (for the EXE). Most of the free stuff isn't that great looking and there isn't a good selection. A site offering previews of icons or purchase of a single icon would be nice. Thanks, Brett
2
3430
by: SharpCoderMP | last post by:
i'm trying to embed multiple program icons in my executable. the only way so far i managed to do that is to embed native win32 resource file with multiple icons. it works, but... when i create a native win32 resource file with the VS 2005 and put there my icons, VS always converts some of the 32bit icons into 24bit - so i loose alpha blending...
4
4908
by: JR | last post by:
Hi, How can I add multible icons into 1 file likeSHELL32.dll from windows it has about 50 Jan
4
1304
by: gslm | last post by:
Hi! I want to do close-minimize icons unvisible in python.How can I do this?I want to do this especially for printing. And is it possible to provide .exe file for any program in python or only we can change the file as .pyw?
4
2447
by: Sanoski | last post by:
This might be a dumb question. I don't know. I'm new to all this. How do you find icons for your programs? All GUI applications have cool icons that represent various things. For instance, to save is often represented as a disk, etc. You know, the small little picture references that give meaning to the phrase 'Graphical User Interface'. But...
5
2117
by: Alexnb | last post by:
Hello I am sure most of you are familiar with py2exe. I am having a bit of a problem. See the program has a few pictures involved and the .ico it uses for the windows. However, the pictures are stored in the same directory as the source, something like: C:\Docs and settings\me\My docs\python\program. When I run the program for the...
0
7703
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7619
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...
0
7930
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. ...
0
8138
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...
1
7681
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...
0
5228
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3662
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...
1
2118
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
1
1229
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.