DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: OpenFileDialog in ASP.Net

  1. #1
    Join Date
    Oct 2005
    Posts
    14

    OpenFileDialog in ASP.Net

    I know in VB you can use the openfiledialog box to have a user go through there paths to select a file to open. This filename and/or path can then be used in the program. Can anyone give me an example of how this same thing would be accomplished in ASP.NET? I know in VB there is actually an openfiledialog connection that can be dragged onto the form from the toolbox but in asp.net there isn't one.

    Thanks in advance for your replies.

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    The only similar facility in ASP.NET is the HtmlFileInput control, used to upload a file from the client to the server.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Oct 2005
    Posts
    14
    Thanks for your reply Phil. Could you show me a snippit of code that would accept the directory and or filename entered and upload it to a server. For instance if I login to a server called upload.fcl.net with an id of hmweb and a password of xyz and the file selected is c:/data/pix/abc.jpg

    Thanks

  4. #4
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Replies: 2
    Last Post: 08-01-2005, 03:12 PM
  2. Advantages of ASP.NET over Java/ASP
    By Tricia in forum .NET
    Replies: 0
    Last Post: 04-11-2003, 09:34 PM
  3. Microsoft Revs Its ASP.NET Engines
    By Patrick Troughton in forum .NET
    Replies: 4
    Last Post: 02-12-2003, 02:25 PM
  4. Free ASP.NET Web Matrix Design/Editor Tool Released
    By ASPSmith Training in forum dotnet.announcements
    Replies: 0
    Last Post: 06-18-2002, 03:39 AM
  5. Chicago ASP.NET Class May 15-17
    By ASPSmith Training in forum dotnet.announcements
    Replies: 0
    Last Post: 04-10-2002, 07:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center