0

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.

Yasser Shaikh
  • 44,064
  • 44
  • 190
  • 271
Afsal Mp
  • 1
  • 1
  • 1

5 Answers5

1

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

Conrad Lotz
  • 7,324
  • 3
  • 21
  • 26
  • Hi when i tried to do this i get an error "This file could not be found. ("C:\...\db_design_for_bbm (1).docx")" – Afsal Mp Aug 07 '12 at 06:23
  • Have a look at a related post to ensure that the location and generation of the file is correct. [http://stackoverflow.com/questions/275781/server-mappath-server-mappath-server-mappath-server-mappath](http://stackoverflow.com/questions/275781/server-mappath-server-mappath-server-mappath-server-mappath) – Conrad Lotz Aug 07 '12 at 12:37
1

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.

Mark
  • 11
  • 1
0

Uploading document must have specific path.So try:

Dim objFile as System.IO.File
Dim sReader as System.IO.StreamReader
sReader = objFile.OpenText(“YourUploadedFilePAth”)
Shree
  • 18,997
  • 28
  • 86
  • 133
0

I am sure you can find much on this topic via Google as this is a consistently recurring topic . Here are a few options:

  1. Opening/Editing of Word Documents via ActiveX Controls - Word/Excel ActiveX Controls in ASP.NET

  2. Via Office Object Model (basically a wrapper around COM Objects) - Automating Applications Using the Office Object Model

  3. Via 3rd Party Libraries e.g. NetOffice (netoffice.codeplex.com)

Van Dame
  • 150
  • 4
  • 12
0

You may use:

Dim filePath As String = "C:\Attachments\fileName.xls" -- any file format

System.Diagnostics.Process.Start(filePath)

Raj
  • 740
  • 7
  • 7
  • You are leaving lots of these answers which aren't related to the question being asked. You need to pay **much** closer attention to the question before posting any further. – Andrew Barber May 22 '14 at 15:06