AllExperts > Experts 
Search      

VB.NET

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More VB.NET Answers
Question Library

Ask a question about VB.NET
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Syed Rizwan Muhammad Rizvi
Expertise
I can answers questions regarding web based and desktop based programming in VB.Net. Which can include SOAP, XML, Custom Controls, COM Interoperability etc.

Experience
Have been working in this specific area for last 2 years previously I was a VB 6 Developer with experties in other languages as well. Total 10 years of programming experience.

 
   

You are here:  Experts > Computing/Technology > Basic > VB.NET > help me ;please urgent

Topic: VB.NET



Expert: Syed Rizwan Muhammad Rizvi
Date: 1/2/2008
Subject: help me ;please urgent

Question
Hi,

I'm currently doing my final year project. And I had encountered a major obstacle:

I'm using VB.net and currently I want to do a depositary form which allow people to upload files to it. I researched and found a lot of resources, which are all based on using ASP.NET

1) Can VB.net (window form) create depositary (upload files (.doc, .txt), etc?) [I found a lot on ASP.net, but the way ASP.net does is quite different from VB.net]

2) If yes, how do I do it? (cos' ASP.net uses localhost, how about general VB.net's window form)? My project I'm doing now would be used by a few users, like admin, manager and users. So, for example when one upload, others could also see files in the window form. And when double clicking, the file would open.

Where would the files be uploaded to (say, if I put the directory as my C:\ drive, the other users could not see/open the files)?

I hope I'm not too vague. Any help is appreciated. Thanks in advance.

Answer
What you are trying to do is normally achieved very easily.

In vb.net you can use a simple copyfile operation to copy a selected file, selected lets say using CommonDailog or FileDialog control.

The only real problem is where to keep the files, there are various options available:

1. Store them in a database
2. Store them in a password protected zip file.
3. Store them in a hidden folder
4. Or anywhere in the world you like.

Hope it clarifies.

Let me know if you have further questions.

Regards,
Riz

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.