Go Back   Forum Care Forums > Development Reference Area > Visual Basic

Reply
 
LinkBack Thread Tools Display Modes
Icons in a module
Old
  (#1)
QuickHare
Guest
 
Posts: n/a
Default Icons in a module - 06-04-2007, 08:52 AM

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.


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Icons in a module
Old
  (#2)
Randy Birch
Guest
 
Posts: n/a
Default Re: Icons in a module - 06-04-2007, 08:52 AM

If you have the resource editor add-in, use it, add the icon there, set it's
name to ***ure 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" <EMAIL REMOVED> wrote in message
news:bq2sft$137u2l$EMAIL REMOVED...
: 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.
:
:


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Icons in a module
Old
  (#3)
Steve Gerrard
Guest
 
Posts: n/a
Default Re: Icons in a module - 06-04-2007, 08:52 AM


"QuickHare" <EMAIL REMOVED> wrote in message
news:bq2sft$137u2l$EMAIL REMOVED...
> 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.


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Icons in a module
Old
  (#4)
Randy Birch
Guest
 
Posts: n/a
Default Re: Icons in a module - 06-04-2007, 08:52 AM

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" <EMAIL REMOVED> wrote in message
news:xoCdnWWzVYH2x1iiRVn-EMAIL REMOVED...
:
: "QuickHare" <EMAIL REMOVED> wrote in message
: news:bq2sft$137u2l$EMAIL REMOVED...
: > 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.
:
:


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top