Hi,
- Is there a way to that every form in my app use the same icon withouth
adding it to the Icon property one form by one ?
- Do I must add to my app the icon(s) I will use in my forms as embedded
resource, then I must use the assembly.GetManifestResourceStream in order to
assign to my forms ? Is that the correct way ?
- Can I use 24 bit icons ?
Regards
Luis Arvayo 5 2249
Luis,
You should be able to use 24 bit icons if you are using Windows XP (I
believe it is an OS-dependent feature).
As for an easy way to solve this, create a class that derives from Form,
and set the icon in the constructor.
Then, have all of your classes derive from that new Form type that you
have defined, and it should work fine.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Luis Arvayo" <am**********@prodigy.net.mx> wrote in message
news:uz**************@TK2MSFTNGP11.phx.gbl... Hi,
- Is there a way to that every form in my app use the same icon withouth adding it to the Icon property one form by one ?
- Do I must add to my app the icon(s) I will use in my forms as embedded resource, then I must use the assembly.GetManifestResourceStream in order to assign to my forms ? Is that the correct way ?
- Can I use 24 bit icons ? Regards Luis Arvayo
Hello Luis,
I found the idea to have icons for all forms not very good, cuz there are
dialogs that don't have icons at all (modals one).
LA> - Is there a way to that every form in my app use the same icon
LA> withouth adding it to the Icon property one form by one ?
LA>
LA> - Do I must add to my app the icon(s) I will use in my forms as
LA> embedded resource, then I must use the
LA> assembly.GetManifestResourceStream in order to assign to my forms ?
LA> Is that the correct way ?
LA>
LA> - Can I use 24 bit icons ?
LA>
LA> Regards
LA> Luis Arvayo
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Thank you. That gave me a good hint to what to do.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> escribió
en el mensaje news:O5**************@TK2MSFTNGP10.phx.gbl... Luis,
You should be able to use 24 bit icons if you are using Windows XP (I believe it is an OS-dependent feature).
As for an easy way to solve this, create a class that derives from Form, and set the icon in the constructor.
Then, have all of your classes derive from that new Form type that you have defined, and it should work fine.
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard.caspershouse.com
"Luis Arvayo" <am**********@prodigy.net.mx> wrote in message news:uz**************@TK2MSFTNGP11.phx.gbl... Hi,
- Is there a way to that every form in my app use the same icon withouth adding it to the Icon property one form by one ?
- Do I must add to my app the icon(s) I will use in my forms as embedded resource, then I must use the assembly.GetManifestResourceStream in order to assign to my forms ? Is that the correct way ?
- Can I use 24 bit icons ? Regards Luis Arvayo
But the icon of that form will be seen anyway in the windows main toolbar
"Michael Nemtsev" <ne*****@msn.com> escribió en el mensaje
news:9c**************************@msnews.microsoft .com... Hello Luis,
I found the idea to have icons for all forms not very good, cuz there are dialogs that don't have icons at all (modals one).
LA> - Is there a way to that every form in my app use the same icon LA> withouth adding it to the Icon property one form by one ? LA> LA> - Do I must add to my app the icon(s) I will use in my forms as LA> embedded resource, then I must use the LA> assembly.GetManifestResourceStream in order to assign to my forms ? LA> Is that the correct way ? LA> LA> - Can I use 24 bit icons ? LA> LA> Regards LA> Luis Arvayo --- WBR, Michael Nemtsev :: blog: http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche
Hello Luis,
modal dialog boxed are not showed there, and *generally* have no icons.
But it's up to u whether create icons for all windows or not. I've seen a
lot of samples where dialog boxes were with icons
LA> But the icon of that form will be seen anyway in the windows main
LA> toolbar
LA>
LA> "Michael Nemtsev" <ne*****@msn.com> escribió en el mensaje
LA> news:9c**************************@msnews.microsoft .com...
LA> Hello Luis,
I found the idea to have icons for all forms not very good, cuz there are dialogs that don't have icons at all (modals one).
LA> - Is there a way to that every form in my app use the same icon LA> withouth adding it to the Icon property one form by one ? LA> LA> - Do I must add to my app the icon(s) I will use in my forms as LA> embedded resource, then I must use the LA> assembly.GetManifestResourceStream in order to assign to my forms ? LA> Is that the correct way ? LA> LA> - Can I use 24 bit icons ? LA> LA> Regards LA> Luis Arvayo --- WBR, Michael Nemtsev :: blog: http://spaces.msn.com/laflour "At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Beatrice Rutger |
last post by:
Hi,
I am a previous Micro$oft desertee (moved from VB/VC++ to Java before
this whole DOTNET thing) because I had several issues with Micro$oft. I
am not completely in love with Windoze, but I...
|
by: Elhanan |
last post by:
hi.. all
a client of ours is considering to move from a dos application to
windows desktop application.
the application is for traveling agency, the database is rather large.
their current...
|
by: Kevin |
last post by:
A couple of easy questions here hopefully. I've been working on two
different database projects which make use of multiple
forms.
1. Where's the best/recommended placement for command buttons...
|
by: M.Siler |
last post by:
Let me clarify from my last post. I am not using these 4 questions as the
sole screening method. Currently in, the Tampa Bay area (Florida) there is
an extreme shortage of C# developers. We have...
|
by: jeremy |
last post by:
I have an ASP.Net 2.0 application running on Windows Server 2003. The
application displays properly in Internet Explorer, however, when I use
a browser control embedded in a .net form, I get an...
|
by: shamirza |
last post by:
Question
Do ActiveX DLLs made in VB still need the VB runtimes on
the
machine?
________________________________________
Answer
In a word, Yes.
Visual Basic does not support what is known...
|
by: Jules Winfield |
last post by:
Guys,
I've been designing applications for the financial services industry using
MSFT technologies for many years (Win32 API, MFC, and now .NET WinForms).
All applications are Internet-based,...
|
by: Eric B. |
last post by:
1) Where the heck are the icons stored in VS? I know there are not a lot,
but I used the "Insert Standard Items" command on the menubar and lo and
behold, icons!
2) How do set a child/parent...
|
by: Derek Hart |
last post by:
Am I allowed to copy the icons from Visual Studio, or Standard Office
toolbars and use in my winforms apps? If so, how can I do that? Have not
found code to use the FaceID property in dotnet, and...
|
by: MeoLessi9 |
last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: Aftab Ahmad |
last post by:
Hello Experts!
I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
|
by: Aftab Ahmad |
last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below.
Dim IE As Object
Set IE =...
|
by: marcoviolo |
last post by:
Dear all,
I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
| |