AboutSyed 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.
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.