473,657 Members | 2,771 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Changing folder options and icon

Hi,

is there any way to accomplish the following two tasks in .net code?

- How can I change the icon for an existing folder?

- How can I set the access permissions (e.g. only admin access) of the folder?

Thanks a lot
Peter
Jul 21 '05 #1
0 910

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

Similar topics

4
1384
by: Marina | last post by:
Hi, When right clicking a project in Solution Explorer, and chosing the 'Add' menu, a bunch of choices come up depending on the project type. So there might be 'Add Module', 'Add Class', 'Add Windows Form', etc. Is there a way to modify what is on this menu? I would like to include a custom file type in that menu, that is already defined and appears in the 'Add New Item' dialog box. That way instead of chosing 'Add New Item' and...
1
1509
by: David Burkinshaw | last post by:
I have a form and I assigned an icon to it. For arguements sake let's say the icon is a smiley face. I compile, run, and save the program. The icon on the form shows up as a smiley face. At a later date I reopen the project and decide to change the smiley icon to a frown. I edit the icon using the VS.NET editor, and save it. The build action for the icon is "Embedded Resource". I rebuild the project and the icon remains as a smiley. I then...
4
14397
by: yxq | last post by:
Hello I found a icon Class, i have tested the code, it can get file and drive icons, but not folder icons, How to get a folder icon? Thanks ************************************************************************* '=========================================================================== ========== ' clsIcon
14
2135
by: Kishan Hathiwala | last post by:
Hi i have kept a statusbar in the form with panels = true. and total there 3 panels. whenever i click on the 3rd panel a menu appears showing online and offline and either is enable at a time. once i clic on online its icon changes to connecticon (assume its there) and whenever i click on offline, its icon changes to disconnection (assume this is also there). now the problem is i have kept one icon for connection (ie when its online -...
16
7401
by: Phil Hey | last post by:
Hi, I can change the icon for a folder by right clicking on it > going to the customize tab > and selecting Choose Picture. Does anyone know if it is possible to do this programmatically from a windows forms application?
0
725
by: Peter Schmitz | last post by:
Hi, is there any way to accomplish the following two tasks in .net code? - How can I change the icon for an existing folder? - How can I set the access permissions (e.g. only admin access) of the folder? Thanks a lot Peter
5
1295
by: al jones | last post by:
Normally I have some idea of where in the MSDN to start looking but on this one I have absolutely no idea. A fellow who uses my 'toy' asked if would be possible to drop a folder of files / folders to be processed onto the desktop icon ( well, of course it would ;) ) My question is how do I detect that in a vb 2005 program?? //al (( Cor, I'm working of the question .... ))
4
7648
by: kiwichick | last post by:
Hi there, can someone please tell me how I change the default file manager program Windows uses (Explorer) if the program I want to use (freeCommander) doesn't have an option to set it as the default manager? It can't be done via Explorer/Folder Options/File Types as there are no "Opens with" options for File Folder or Folder. I don't want to change the entire Windows shell just the file manager program. Any help is greatly appreciated.
4
1668
by: mikkoO8 | last post by:
hi. im actually making a desktop cleaner that can move the files and icons to a folder inside the listview box. i can make the listview box filled with files contains at the desktop and i can make a new folder which suppose to be move the files on that folder i have 3 problems: 1. is how to get last access time of the FILE and put it column2 of the listview 2. i want to view that are unused icon and document last week, 2weeks, 1month...
0
8394
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8306
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8825
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6164
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1615
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.