Using CeTE Software without create a Project

Using CeTE Software without create a Project

Forum member · Mar 15, 2010
Hi... I have a WEB site wich uses C# code embedded on page, I mean, all my pages are not created under a Project or Solution in Visual Studio. The pages are programmed for execute the code "on the fly", no project, no compilation, no "BIN foder". In your documentation, always say "Open References for the project, and add Reference to 'CeTE Dll'", but this doesn't work for me. Is there any way to use CeTE Software (PDF Generator) without a project? Thanks in advance. Regards

Re: Using CeTE Software without create a Project

Support · Mar 15, 2010
Hello, You can use the ceTe dll files without creating the project. But in order to use the API, you will have to add the ceTe DLL file either in the bin folder of your application or in the GAC. Thanks, ceTe Software Support Team

Re: Using CeTE Software without create a Project

Forum member · Mar 17, 2010
I had the ceTe.DynamicPDF.35.dll in my bin folder. Now, when I try to make a new Document, I get an error message "The type or namespace name 'ceTe' could not be found…" This is a sample of my code... Can you say me what I'm doing wrong?? <%@ Page Language="C#" ContentType="text/html" ResponseEncoding="utf-8"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Documento sin t&iacute;tulo</title> <script language="c#" runat="server"> void Page_Load(object sender, System.EventArgs e) { ceTe.DynamicPDF.Document document = new ceTe.DynamicPDF.Document(); ceTe.DynamicPDF.Page page = new ceTe.DynamicPDF.Page(); page.Elements.Add( new Label( "Hello World!", 0, 0, 100, 12, Font.Helvetica, 12 ) ); document.Pages.Add( page ); document.DrawToWeb( this ); } </script> </head> </html> Thanks in advance.

Re: Using CeTE Software without create a Project

Support · Mar 17, 2010
Hello, Can you please make sure that you have placed the ceTe DLL file in the bin folder that resides in the root of the application? The reason you are getting this error is becasue the code is unable to locate the ceTe DLL. Thanks, ceTe Software Support Team

Re: Using CeTE Software without create a Project

Forum member · Mar 17, 2010
Yep... I'm sure that DLL file is on BIN folder... in the root of my Web Site. Maybe I need to "reference" the DLL in any way, but I don't know how can I do that. This have been driving me nuts!! Thanks

Re: Using CeTE Software without create a Project

Support · Mar 17, 2010
Hello, You can refer to the NonVisualStudio examples included with the download. The examples run without needing any project. You will have to follow the same procedure to run examples. The examples are located in the following location: [INSTALLDIR]DynamicPDF v5.1.2 for .NET\Examples\NonVisualStudio\Web_CSharp\GeneratorExamples Refer to the HelloWorld example to get started. Thanks, ceTe Software Support Team