Click here to Skip to main content
15,936,677 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am a beginner in Winfroms. I am using C# , Visual Studio 2010.

Controls in Form: A TextBox and a ListBox
Buttons for - Browse, Add, View, Remove, Clear All and Upload(to a Specified Folder)

I am given a task to create a screen along with the functionality from which the user should be able to Add, view and remove an attachment.

The attachment can be any kind of file txt, pdf, doc, gif, audio, video .....

On clicking the Browse Button the user should be able to browse the file and once the user browses and selects the file and clicks ADD. The file should get saved in a Specified Folder.

On click of the the View Button, the user attachement file should be shown to the User .

On clicking of the Remove Attachement Button , the attachement should be deleted from that Folder.

I am very new to programing... Can any one please help me out with this..

will be waiting for the reply....
Updated 11-Jun-12 20:13pm
Sergey Alexandrovich Kryukov 12-Jun-12 2:11am    
Do you mean Systtem.Windows.Forms? If so, tag: "Forms".
What is an "attachment"? Is it something related to e-mails?

1 solution

Any effort? This looks like typical homework/assignment. It is never encouraged that some else does your assignment.

As you said, you are beginner; you can start looking at the various tutorials/documentation to come up with your assignment. If you are stuck somewhere please come back and someone should be able to help you. Anyway, here are some links which could give you direction.

1.) Basic C# examples[^]

2.) How to: Create a C# Windows Forms Application[^]

3.) How to: Copy, Delete, and Move Files and Folders[^]
Share this answer
adithya.hari 13-Jun-12 0:00am    
Thanks Manas,
That was more than enough, the 3rd Link Helped me a lot. and i never wanted anybody to give me the full Functionality. I just need a hint, not the whole procedure.
VJ Reddy 13-Jun-12 12:57pm    
Good references. 5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900