Reputation: 1
I am under the development of a job portal application.
For that I need resume upload functionality.
Now problem is how can I view the uploaded resume?
I am using ASP.NET with VB.
Upvotes: 0
Views: 6916
Reputation: 808
You may use:
Dim filePath As String = "C:\Attachments\fileName.xls" -- any file format
System.Diagnostics.Process.Start(filePath)
Upvotes: 0
Reputation: 11
You can try a third party library called "Doconut", here is a demo which actually shows a resume DOC opened in an asp.net website, similar to your requirements http://try.doconut.com/Ribbon.aspx This could help anyone else having similar requirements.
Upvotes: 1
Reputation: 159
I am sure you can find much on this topic via Google as this is a consistently recurring topic . Here are a few options:
Opening/Editing of Word Documents via ActiveX Controls - Word/Excel ActiveX Controls in ASP.NET
Via Office Object Model (basically a wrapper around COM Objects) - Automating Applications Using the Office Object Model
Via 3rd Party Libraries e.g. NetOffice (netoffice.codeplex.com)
Upvotes: 0
Reputation: 22321
Uploading document must have specific path.So try:
Dim objFile as System.IO.File
Dim sReader as System.IO.StreamReader
sReader = objFile.OpenText(“YourUploadedFilePAth”)
Upvotes: 0
Reputation: 8838
A good example of viewing word documents on a asp.net page can be viewed at http://www.aspsnippets.com/Articles/Display-Word-document-on-web-page-in-ASP.Net.aspx
Upvotes: 1