.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

save uploaded file in folder

Posted By: rashmi     Posted Date: July 01, 2011    Points:5   Category :C#
hi
I am uploading pdf file in my windows project and i want this file has to be saved in my created project folder

can any one help me for this..

Responses
Author: Palani Kumar A             
Posted Date: July 02, 2011     Points: 20   

hi,


Dim OpenFile1 As New OpenFileDialog()
OpenFile1.InitialDirectory = System.Environment.SpecialFolder.Personal
OpenFile1.Filter = "PDF,Text and RichText Files (*.pdf,*.txt,*.rtf)/*.pdf,*.txt;*.rtf" & _
If (OpenFile1.ShowDialog() = System.Windows.Forms.DialogResult.OK) _
AndAlso (OpenFile1.FileName.Length > 0) Then
Dim RtbSType As RichTextBoxStreamType = RichTextBoxStreamType.PlainText
If IO.Path.GetExtension(OpenFile1.FileName) = ".rtf" Then _
RtbSType = RichTextBoxStreamType.RichText
RichTextBox1.LoadFile(OpenFile1.FileName, RtbSType)



Refer Below Link:
http://vbcity.com/forums/t/50925.aspx

With Regards
Palani Kumar A
Author: rashmi             
Posted Date: July 04, 2011     Points: 20   

hi
how to save uploaded pdf file in project folder in c# windows application

Author: Gowthammanju             
Posted Date: July 05, 2011     Points: 20   

Hey try this link as


http://stackoverflow.com/questions/6139275/is-it-possible-to-save-uploaded-files-in-content-asp-net-mvc2

Thanks & Regards,
GowthamManju
Chennai



Mark if the answer is true
Author: Gowthammanju             
Posted Date: July 05, 2011     Points: 20   

This also helps u


http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=115

Thanks & Regards,
GowthamManju
Chennai



Mark if the answer is true
Author: Gowthammanju             
Posted Date: July 05, 2011     Points: 20   

hey try these project as



http://www.c-sharpcorner.com/UploadFile/munnamax/FileUploader02102006073548AM/FileUploader.aspx

Thanks & Regards,
GowthamManju
Chennai



Mark if the answer is true
Author: rashmi             
Posted Date: July 05, 2011     Points: 20   

thanks Gowthammanju
But the prob is that you r giving links that all represent the articals based on web project and i want solution for windows project

plz help me to get solution for this..
how to save uploaded pdf file in project folder in c# WINDOWS APPLICATION

Author: arronlee             
Posted Date: March 02, 2016     Points: 20   

I wonder do you have any expeience about extracting text from pdf?
http://www.pqscan.com/extract-text/from-pdf-csharp.html
How about the method abovementioned? Any suggestion will be appreciated. Thanks in advance.

Next Tomorrow is Another Day .


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend