Click here to Skip to main content
15,911,142 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Java Script doesn't work in my ASP.Net, wrong code? Pin
Malcolm Smart9-Jan-08 3:22
Malcolm Smart9-Jan-08 3:22 
GeneralRe: Java Script doesn't work in my ASP.Net, wrong code? Pin
Nilesh Hapse10-Jan-08 20:32
Nilesh Hapse10-Jan-08 20:32 
GeneralRe: Java Script doesn't work in my ASP.Net, wrong code? Pin
Malcolm Smart10-Jan-08 22:25
Malcolm Smart10-Jan-08 22:25 
AnswerRe: Java Script doesn't work in my ASP.Net, wrong code? Pin
hifiger20049-Jan-08 4:32
hifiger20049-Jan-08 4:32 
GeneralWindows explorer from Iframe - Problem. Pin
ram19747-Jan-08 22:53
ram19747-Jan-08 22:53 
GeneralRe: Windows explorer from Iframe - Problem. Pin
Shog98-Jan-08 6:40
sitebuilderShog98-Jan-08 6:40 
GeneralRe: Windows explorer from Iframe - Problem. Pin
ram19748-Jan-08 16:14
ram19748-Jan-08 16:14 
GeneralConverting Word to PDF via internal website Pin
Kevin Barrett7-Jan-08 3:52
Kevin Barrett7-Jan-08 3:52 
Hi,

I'm working on a solution to convert Word documents to PDFs through an internal website in C# .Net. I've used the conversion code successfully in a Windows app, but as it turns out we're not allowed to install anything on the machines where this conversion is necessary (long story). IE is available on these machines, so I thought a web-based version would work. The web page works fine when I run it through Visual Studio 2005, but when I browse to the page in IE, it won't even open the Word doc.

I get this error: "System.Runtime.InteropServices.COMException: This command is not available."

Here is the line of code that generates the error: "Microsoft.Office.Interop.Word.Document aDoc = WordApp.Documents.Open(ref fileName, ref missing, ref readOnly, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref isVisible, ref missing, ref missing, ref missing, ref missing);

I don't really want to open the Word doc; the user will have already created it and will be uploading it to the website via the FileUpload object.

The conversion program I'm currently working with is PrimoPDF. We haven't actually purchased it yet, so if someone has a better suggestion, I'm open to it.

Sorry for the longwindedness and thanks for any help!
GeneralRe: Converting Word to PDF via internal website Pin
ram19747-Jan-08 22:46
ram19747-Jan-08 22:46 
GeneralRe: Converting Word to PDF via internal website Pin
Kevin Barrett8-Jan-08 2:04
Kevin Barrett8-Jan-08 2:04 
GeneralRe: Converting Word to PDF via internal website Pin
ram19748-Jan-08 16:10
ram19748-Jan-08 16:10 
GeneralRe: Converting Word to PDF via internal website Pin
Kevin Barrett9-Jan-08 2:40
Kevin Barrett9-Jan-08 2:40 
GeneralDBTools Converter alternative for Vista Pin
Glen Conaway6-Jan-08 17:54
Glen Conaway6-Jan-08 17:54 
GeneralINF for CAB Pin
samy1006-Jan-08 10:40
samy1006-Jan-08 10:40 
Generalplease help meeeeeeeeeeee Pin
Smashing_Perfect5-Jan-08 6:11
Smashing_Perfect5-Jan-08 6:11 
GeneralRe: please help meeeeeeeeeeee Pin
Guffa5-Jan-08 10:16
Guffa5-Jan-08 10:16 
GeneralRe: please help meeeeeeeeeeee Pin
Smashing_Perfect6-Jan-08 7:16
Smashing_Perfect6-Jan-08 7:16 
GeneralRe: please help meeeeeeeeeeee Pin
Guffa6-Jan-08 8:13
Guffa6-Jan-08 8:13 
GeneralRe: please help meeeeeeeeeeee Pin
Paul Conrad6-Jan-08 10:05
professionalPaul Conrad6-Jan-08 10:05 
GeneralRe: please help meeeeeeeeeeee Pin
Smashing_Perfect8-Jan-08 7:49
Smashing_Perfect8-Jan-08 7:49 
GeneralRe: please help meeeeeeeeeeee Pin
Paul Conrad7-Jan-08 8:27
professionalPaul Conrad7-Jan-08 8:27 
GeneralGridView problem please help Pin
papa804-Jan-08 18:03
papa804-Jan-08 18:03 
GeneralRe: GridView problem please help Pin
Shog94-Jan-08 18:52
sitebuilderShog94-Jan-08 18:52 
GeneralASP .Net Scheduling Calendar Controls... [modified] Pin
code-frog4-Jan-08 17:35
professionalcode-frog4-Jan-08 17:35 
GeneralRe: ASP .Net Scheduling Calendar Controls... Pin
Shog94-Jan-08 18:50
sitebuilderShog94-Jan-08 18:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.