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!
I recently took a class titled: Dreamweaver CS3 wih PHP and MySQL, the class is over and I am trying to do what we did in the class on my own,
We used XAMPP which I installed and is running fine, the problem is we used DBTools Converter to convert and import our Microsoft Access database into MySql server. DBTools converter does not appear to be compatible with Vista, does anyone know what will work?
i am working on a php based project and i am facing a problem in dealing with the java script radio button, actually i have teo text fields one is for simple search adn other is for advance search i want when i select the radio button "simple" then text field of simple search get enabled and at the same time text field for the advance search gets disabled vice versa. but i try to do on my own both of them gets disabled and other one not gets enabled. i am just unable to understand whts the problem is there and wht should be the exact code to write if pleeeeeeeeeeeeeeeeeeeez any person with such a kind heart will take me out from this problem i will b really thankful for the person ........waiting for a kind help
the code that i tried is:
in html file:
First at all happy new year of all of you.All the best in next one.))
Cloud you help me please.I will describe the problem.It seens stupid but i did not use VS from 1 year and just now start it again.
So we have GridView inside of it are templates for example label and text box for edit mode which are connected with some db.So the problem is appear when i try to update that data exactly in updating event.After pressing update button in quick watch i see that it is give me old value not what i had change ready!!!For example in label value is 1 and when you press button edit in text box is 1 too but my goal is to be changed to 2 so in text box value is changed to 2 but after pressing of bot ton the value which is extract is 1???Pleas cloud you tell me some body why.Unfortunately the at the moment i am not in-front of my pc but let try the code.
And result is 1;
Please tell me why
Now the project on which i work it use net.3.5 can you explain me if there is some changes and why if i catch the text box the value is old one not the value which i already type on it.
Thanks in advance.
when i want to read something good just seat and type it
So far the control implementation by Infragistics looks to be the best control out there. Does anyone have a favorite that is not Infragistics? I've cruised through articles here and I need some that is all the way tuned out that I can style using CSS and such. I am doing a quick and dirty site for someone and they don't want to spend a lot of money and I don't want to reinvent the wheel for something that there are at least 3 decent ones I've run across.
Is there a scheduling control out there you like more than Infragistics and if so what is it?
John Cardinal I am pretty sure you have used Infragistics right? Have you used this control and do you have any comments?
modified on Saturday, January 05, 2008 12:18:00 AM
"I am doing a quick and dirty site for someone" - If you are willing to wind of the task in a cheaper way - use javascipt calender control which you can find at many places on the net and when the user selects a date get the date into a text field and the task on that date into another store them into db for future ref.,
I got the following problem when i try to deploy my web site in IIS7 on Vista machine.(Developed in Visual Studio 2005 .Net 2.0).
HTTP Error 500.19 - Internal Server Error<br />
Description: The requested page cannot be accessed because the related configuration data for the page is invalid. <br />
Error Code: 0x80070021 <br />
Notification: BeginRequest <br />
Module: IIS Web Core <br />
Requested URL: http://localhost:80/TestWeb <br />
Physical Path: E:\TestWeb <br />
Logon User: Not yet determined <br />
Logon Method: Not yet determined <br />
Handler: Not yet determined <br />
Config Error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false". <br />
Config File: \\?\E:\TestWeb\web.config <br />
Config Source: 79: </modules><br />
80: <handlers><br />
81: <remove name="WebServiceHandlerFactory-Integrated"/>
If any one knows please reply me as soon as possible.
Hello. The Requested URL cannot display your website because the files arent there. The files in the Physical Path: E:\TestWeb should be uploaded to the server, then the website will show. However, the IIS server must be running.
Both optimists and pessimists are important in technology. The optimist invented the aeroplane; the pessimist invented the parachute.