473,412 Members | 2,994 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

How to remove a window-Icon

I have programmed a window with an icon.
Now I want, that this window has NO Icon.

But I can not remove the icon within VS.NET.
I can only select an other ICON !
How can I remove the icon from the window ?

Is a window without Icon possible ?
Thanks
Peter

Nov 21 '05 #1
2 1242
Play with FormBorderStyle or set ControlBox to false.
HTH
rawCoder

"Peter Stojkovic" <Pe*************@gmx.net> wrote in message
news:e1**************@tk2msftngp13.phx.gbl...
I have programmed a window with an icon.
Now I want, that this window has NO Icon.

But I can not remove the icon within VS.NET.
I can only select an other ICON !
How can I remove the icon from the window ?

Is a window without Icon possible ?
Thanks
Peter


Nov 21 '05 #2
"Peter Stojkovic" <Pe*************@gmx.net> schrieb:
I have programmed a window with an icon.
Now I want, that this window has NO Icon.

But I can not remove the icon within VS.NET.
I can only select an other ICON !
How can I remove the icon from the window ?
You can remove a custom icon from a window by either placing the cursor over
the "(Icon)" text in the properties window and pressing the Delete key or by
selecting "Reset" from the property's context menu.
Is a window without Icon possible ?


Set the 'FormBorderStyle' property to 'FixedDialog', the 'ShowInTaskbar'
property to 'False' and the 'Icon' property to 'Nothing' (at runtime).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3

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

Similar topics

1
by: Wayne | last post by:
Is there a way to remove the "Type a question here for help" window from the menu bar with code? I don't want this window available to the user and would like to hide it when the database starts....
7
by: No Spam | last post by:
Dear Access 2003 users, Can anyone assist me with creating either code (preferred) or a query that would remove a single field (called ID) from a table? And as a bonus question, can anyone...
0
by: satish jupalli via .NET 247 | last post by:
Hi all, I have a word Add-in from which i will open a word new document. For this document I want to remove maximize, resize option. I'm able to remove the resize option using stsyle &=...
0
by: msnews.microsoft.com | last post by:
Hello, I am trying to remove the scrollbars from any page I load up into the browser control on a window form. I first tried the following: browserDoc = (mshtml.HTMLDocument)browser.Document;...
2
by: moondaddy | last post by:
How can I remove all menu and toolbars from a web page (aspx) and fix the size of the page? Thanks. -- moondaddy@newsgroup.nospam
1
by: ck | last post by:
What should I program in order to close window and remove a text file as soon as users click on "Abort" button. Thanks.
1
by: abyclassic | last post by:
Dear All, I am making a Windows Control Library(user control) using VS.NET & C#.NET. Now, i am facing 3 problems: 1.In this control, i wants to remove some of the properties which are available...
2
by: =?Utf-8?B?R3JlZw==?= | last post by:
I have the following code the dynamically adds a specific number of controls. for x as integer = 1 to 10 Dim btn as Windows.Forms.Button = New Windows.Forms.Button btn.Name = "btn" & x btn.Text...
4
by: sasimca007 | last post by:
Hello friends, In my project, i am opening a window with javascript, in that new window i am providing a link to close that window, then there is no use of default close...
1
by: LVenkatrao | last post by:
how to remove toolbar and menubar of a jsp page i tried to use window.toolbar.visible=false not working and giving some javascript error window.open(attributes) will not because i don't want to open...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
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,...
0
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...
0
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,...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.