473,385 Members | 1,720 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,385 software developers and data experts.

window form contains desktop icon

can a desktop icon, used to launch an application window like windows
explorer, be a child control in a window form? I checked the windows
forms controls in VS2005 and did not see any such control.

I would like my code to display all the .LNK files in a directory on a
form, handle the single and double click events on the icon, launch
the application when double click, ...

thanks,

-Steve
Jan 31 '08 #1
1 1789

"Steve Richter" <St************@gmail.comwrote in message
news:49**********************************@d21g2000 prf.googlegroups.com...
can a desktop icon, used to launch an application window like windows
explorer, be a child control in a window form? I checked the windows
forms controls in VS2005 and did not see any such control.

I would like my code to display all the .LNK files in a directory on a
form, handle the single and double click events on the icon, launch
the application when double click, ...
I guess you are looking for a "Explorer View" control rather like the
ListView common control. Don't know of any.

There are customization callbacks for the File Open dialog that allow
unlimited extensibility. So instead of having a control to embed in your
form, you can use the File Open dialog as your form and add the other
controls you need.
>
thanks,

-Steve

Jan 31 '08 #2

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

Similar topics

2
by: Rookie | last post by:
Hi, I have a C# application which has 3 forms. I want to set the icon for the ..exe to a custom made icon. How do I do this? I tried setting the Icon of the main form. But that didn't work. It...
0
by: sean | last post by:
Hi, I have a C# Winform application. I'm trying to run the application under a custom window station and desktop. First, I have an original (non-dotnet) process that does a...
4
by: utkarsh | last post by:
Hi, I want to develop a Window Service in C# that should be capable of sisplaying the a icon in the window tray. Based on some logic in service, icon should be changed to some other...
2
by: yxq | last post by:
I use "Me.Hide" to hide a window, then show a icon in notify, in icon double-click event, use "Me.Show", but the window only shown on Taskbar, but not shown on desktop, i try Me.Show...
4
by: Blaine | last post by:
Does anyone know how I can hide a form from the TaskManager? I've set the ShowInTaskbar to False, but when using Alt-TAB to switch between applications, it appears as a blank icon. I can set it...
3
by: Nina | last post by:
Hi there, I assigned icon for a window's form using form's Icon property at design time. Now I want to change the icon. I tried to replace the old icon with the new icon using form's Icon...
0
by: FredC | last post by:
I'm using VS C#.Net 2003. I built a simple windows form app. with the following attributes: - has a BackgroundImage set to a jpeg I built a very simple user control that contains a picture box set...
2
by: asif | last post by:
When I add a USB key, system tray icon on Windows XP shows USB icon. It also shows icon that can be used to "Safely Remove Hardware". I would like to use this icon in one of my Visual C++...
10
by: Kiers | last post by:
Hi, I am running A2K7 and want to set the Access window/desktop of my application to the logo of the Company. is this possible?. If yes any pointers would be appreciated TIA Kiers
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.