Thanks for your response. I am getting this error message in 64bit OS. Also while deploying my application I tried by setting the Target Platform as x86, but still it's throwing the same error.
Know is Drop, Unknown is Ocean
Thanks for your response. I am getting this error message in 64bit OS. Also while deploying my application I tried by setting the Target Platform as x86, but still it's throwing the same error.
Know is Drop, Unknown is Ocean
Hi, I am developing a Windows application using C# 3.0, in that I have to open a pdf document. Using the Adobe PDF Reader com component I am able to open the PDF document, then deployed the application and created the setup. When I install the application in Win XP it's working fine, but when I install the same in Windows 7 or Vista, Adobe PDF Reader com component is throwing error as "Com Class not registered". Even thought I run that exe file as "Run as Administrator", it's throwing the same error. Any one guide me how to solve this, how to make my application to work in all Windows OS? Please suggest me. Thanks in Advance
Know is Drop, Unknown is Ocean
Hi all, Please suggest me how to convert a word document to xsl/xslt (.doc file to xsl file). Please provide me some sample code or URL from where I can do this using C# 2.0 without using any third party tools. Below is sample template document, in this Date, Name, Age, Address are merge field. I have to convert this template document to XLS. <Date> <Name>, <Age> <Address> Dear <Dr./Mr./Ms. Last Name>: Below is the sample XLS for above template. (We created this manually) <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:ibex="http://www.xmlpdf.com/2003/ibex/Format"> <xsl:template match="InvitationContemplateInfo"> <fo:block margin-left="0.785in" margin-top="0.7in" margin-right="0.88in" color="gray" font-family="'Times New Roman'" font-size="11.5pt" letter-spacing="0.15pt"><xsl:value-of select="//Date"/> <xsl:if test="//Name[. != '']"> <xsl:value-of select="//Name"/></xsl:if> <xsl:if test="//Age[. != '']"> <xsl:value-of select="//Age"/></xsl:if> </fo:block> </xsl:template> </xsl:stylesheet> Like this we have to create for all different kind of template documents dynamically. Thanks in advance.
Know is Drop, Unknown is Ocean
Hi, Thanks for you response. Below is sample template document, in this Date, Name, Age, Address are merge field. I have to convert this template document to XLS. <Date> <Name>, <Age> <Address> Dear <Dr./Mr./Ms. Last Name>: Below is the sample XLS for above template. (We created this manually) <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:ibex="http://www.xmlpdf.com/2003/ibex/Format"> <xsl:template match="InvitationContemplateInfo"> <fo:block margin-left="0.785in" margin-top="0.7in" margin-right="0.88in" color="gray" font-family="'Times New Roman'" font-size="11.5pt" letter-spacing="0.15pt"><xsl:value-of select="//Date"/> <xsl:if test="//Name[. != '']"> <xsl:value-of select="//Name"/></xsl:if> <xsl:if test="//Age[. != '']"> <xsl:value-of select="//Age"/></xsl:if> </fo:block> </xsl:template> </xsl:stylesheet> Like this we have to create for all different kind of template documents dynamically. Thank you once again.
Know is Drop, Unknown is Ocean
No, actually our requirement is to generate XSL file based on the word document (word document is an template with mail merge, later we merge data with this template document retrieved from database). We have different kind of document, for each selected document we have to create XSL file dynamically using C#.
Know is Drop, Unknown is Ocean
Hi all, Please suggest me how to convert a word document to xsl/xslt (.doc file to xsl file). Please provide me some sample code or URL from where I can do this using C# 2.0 without using any third party tools. Thanks in advance
Know is Drop, Unknown is Ocean
modified on Tuesday, July 20, 2010 9:16 AM
Hi all, In my application I am creating a word document using a default template doc and later adding dynamic content, this is working fine. My problem is now i am askd to create multiple copies of the same document as single document, for example in my word document i have one page with some content, based on the number of copies, the same page should be repeated in the same document and as single document (strictly as single document only, i tried by creating multiple documents and finally merging all the doc as single, this solution was rejected). To say when we take print out, we specify number of copies, so that we get that number of hard copies, i want the same logic. Binarywriter/streamwriter is not helping me, because my document contains images, please help me to solve this. Give me some URL or samples. Kindly execuse if i am not clear in my point. Thanks in advance.
Know is Drop, Unknown is Ocean
Hi all, I have an scenario, I have to merge some dynamic content (to say data retrived from DB) in an existing word document without losing the existing content in that document. So that when ever there is a new conent, i use the same word document file and append my content. Please suggest me how to do this, else provide me some URL to learn and do using C#. Thanks in advance
Know is Drop, Unknown is Ocean
Hi all, I have developed my web site using Visual Studio 2008 and Framework 3.5, but the web server where I have registered contains only framwork 2.0, I have created the web site, that interacts with class lib to fetch and store data from and to database. So, my question is if i compail all this class lib in 2008 environemt and reconstruct a new site using the 2005, will all these class lib will work with the new site in 2005 and Framework 2008? When i tried to convert the project to Framework 2.0 by Right clicking the Project->and changed the Frame work from 3.5 to 2.0 from the drop down, i got more erros with the reversing of List<> ASSEMBLY REFERENCE MISSING, some of the namespace missing errors. How to handel this suitaion and solve the issue with in less time Else is there any good solution with this, insted of installing Framework 3.5 in server, Please suggest me Thanks in advance
Know is Drop, Unknown is Ocean
Hi all, I have developed my web site using Visual Studio 2008 and Framework 3.5, but the web server where I have registered contains only framwork 2.0, I have created the web site, that interacts with class lib to fetch and store data from and to database. So, my question is if i compail all this class lib in 2008 environemt and reconstruct a new site using the 2005, will all these class lib will work with the new site in 2005 and Framework 2008? When i tried to convert the project to Framework 2.0 by Right clicking the Project->and changed the Frame work from 3.5 to 2.0 from the drop down, i got more erros with the reversing of List<> ASSEMBLY REFERENCE MISSING, some of the namespace missing errors. How to handel this suitaion and solve the issue with in less time Else is there any good solution with this, insted of installing Framework 3.5 in server, Please suggest me Thanks in advance
Know is Drop, Unknown is Ocean
Thankyou very much for your suggestion. But please explain me with a sample. THank you again
Know is Drop, Unknown is Ocean
Hi all, I want to change the paper settings to customized one based on the culture info, I mean for now it is coming as A4 by default. For eg, if they try to do print using some other culture info, it should change to letter formate, how to set like that. Please suggest me Thanks in advance
Know is Drop, Unknown is Ocean
Hi all, we are calling a swf inside a asp.net page(.aspx), when I click the print button(in flash) it's not detecting the printer, it shows the message Detecting Printer...., but nothing happens. But if i call the same page inside a html page it's working fine. There is some reason to call the swf inside the aspx page. I am not a flash action script programmer, am a .Net developer, the developer who done this work not here now. They askd me to fix this. Suggest me how to fix this. Thank you all.
Know is Drop, Unknown is Ocean
Hi all, In my repeater control i have done a simple if condition as below <%if(((Estate)Container.DataItem).Invoiced) %> <%{ %> <td> Invoiced </td> <%}else{ % > <td> Not Invoiced </td> <%} % > Estate is my DTO class When i run this code i am getting a error as below The name 'Container' does not exist in the current context What is the reason for this error. Please suggest me. Thank you
Know is Drop, Unknown is Ocean
Hi all, In my repeater control i have done a simple if condition as below ]]> <%{ %> <td> Invoiced </td> <%}else{ %> <td> Not Invoiced </td> <%} %> When i run this code i am getting a error as below The name 'Container' does not exist in the current context What is the reason for this error and how to solve this. Please suggest me. Thank you
Know is Drop, Unknown is Ocean
Hi, Thank you very much for your suggestion. I am using AJAX, please give me a link to learn this binding.
Know is Drop, Unknown is Ocean
Hi all, In my web page, i am retrieving data for select element using Ajax. My webservice return me a collection of values as Ilist. How to bind that collection to the select control, that DTO class has ID(bind to the value) and Name(bind to text). Please suggest me or give me some like to learn how to do this. Thank you
Know is Drop, Unknown is Ocean
Hi all, In my web page, i am retrieving data for select element using Ajax. My webservice return me a collection of values as Ilist. How to bind that collection to the select control, that DTO class has ID(bind to the value) and Name(bind to text). Please suggest me or give me some like to learn how to do this. Thank you
Know is Drop, Unknown is Ocean
Hi all, Please any one suggest me how to get values from dynamically generated HTML control in server side code. In my web page on clicking a button i am adding HTML select control using JavaScript, when I hit save button I have to store the selected values of dynamically generated controls. How to get all the HTML controls values from server side. Thank you
Know is Drop, Unknown is Ocean
Hi all, Any one suggest me how to edit my url and submit the page on button click with out using Response.redirect. for eg: www.mysite.com/default.aspx this is my page, on button click the page should submit and reload, the url should look like www.mysite.com/default.aspx?step=1 (no response.redirect, because i am losing the viewstate even though i set the EnableViewState="true") Thank you
Know is Drop, Unknown is Ocean