Free Support Forum - aspose.com

Newbie- need help installing

Received : 2007/09/27 10:16:42
Message : I just downloaded the trial software. I need to make sure I know how to make this work before I can commit $$$. I guess I have to install the trial software in the sql server and what should I do from there? I am still learning .NET... How complicated it is to implement this? Tutorials? Instructions? Help please


This message was posted using Aspose.Live 2 Forum

Hi

Thanks for your request. Please tell what exact you want to do. Then I will try to help you. Also see API reference to learn more about Aspose.Words.

Best regards.

Hi Vitaly,

My app is located at a remote server where I have a SQL 2005 DB + hosting space running .NET

My app is in VB.NET and I need to know:

-How to install this (I've read the instructions but I do not have permissions to install anything. Most likelly will have to ask the ISP to do it for me)

- Once installed how to actually call the component from the code and have customized word files generated from specific records (accoding to user input) in the DB?

Thanks

Hi

Install the component on your local machine. Then add reference to Aspose.Words.dll assembly.
http://www.aspose.com/Products/Aspose.Words/Api/ReferencingAsposeWordsfromaNETProject.html

Then you can call the Aspose.Words component using Aspose.Words namespace. See the following code.

‘create new document

Dim doc As Aspose.Words.Document = New Aspose.Words.Document()

Dim builder As Aspose.Words.DocumentBuilder = New Aspose.Words.DocumentBuilder(doc)

builder.Write(“Hello World!”)

‘save document

doc.Save("out.doc")

To generate the report using Aspose.Words you should use the Mail Merge feature. See the following links for more information.
http://www.aspose.com/Products/Aspose.Words/Api/PreparingaDocument.html
http://www.aspose.com/Products/Aspose.Words/Api/ExecuteSimpleMailMerge.html
http://www.aspose.com/Products/Aspose.Words/Api/ExecuteMailMergewithRegions.html

I hope that this information will help you.

Best regards.