Thursday, 21 October 2010 13:51

Word merge event handler in C#, VB.NET

The sample demonstrates how to handle merge event.

Thursday, 21 October 2010 13:47

Word to pdf in C#, VB.NET

The sample demonstrates how to export doc document to PDF file.

Thursday, 21 October 2010 13:44

Word to xml in C#, VB.NET

The sample demonstrates how to export doc document to XML file.

 

Thursday, 21 October 2010 13:34

Word to Tiff image in C#, VB.NET

The sample demonstrates how to export doc document to TIFF image.

Thursday, 21 October 2010 13:25

Word table in C#, VB.NET

The sample demonstrates how to create table in word document.

Thursday, 21 October 2010 13:20

Word indent in C#, VB.NET

The sample demonstrates how to indent paragraph.

Thursday, 21 October 2010 12:31

Word font and color in C#, VB.NET

The sample demonstrates how to set font and color.

Monday, 13 September 2010 15:09

Spire.DataExport for .NET Quick Start

In this document, we will quickly help you finish a simple demo about Spire.DataExport using Visual Studio. Before you get started, please make sure the Spire.DataExport and Visual Studio (2008 or later) are installed on your computer.

1. In Visual Studio, click File, New, and then Project, If you want to create a C# project, select Visual C#, Windows and choose Windows Forms Application and name the project SimpleCellExport. Click OK. If you want to create a Visual Basic project, select Visual Basic, Windows Forms Application and name the project SimpleCellExport. Click OK.

2. In Solution Explorer, right-click the project SimpleCellExport and click Properties. In the Application tab, check the Target framework, the target framework can must be a full version not a client profile version.

3. In Solution Explorer, right-click the project SimpleCellExport and click Add Reference. In the Browse tab, find the folder which you installed the Spire.DataExport in, default is "C:\Program Files\e-iceblue\Spire.DataExport", double-click the folder Bin. If the target framework of the project SimpleCellExport

  • is .NET 2.0, double-click folder NET2.0
  • is .NET 3.5, double-click folder NET3.5
  • is .NET 4.0, double-click folder NET4.0

select these two assemblies: Spire.DataExport.dll and Spire.DataExport.ResourceMgr.dll, and click OK to add it to the project.

4. In Solution Explorer, double-click the file Form1.cs/Form1.vb to open the form design view, add a button into the form, and change its name to 'btnRun', change its text to 'Run'.

5. Open the ToolBox window, select the control 'CellExport' in the 'Spire.DataExport' tab and drag it into the form.

6. Select the new control object under the form in the design window, open the Properties window, change the name of the control 'CellExport' to 'cellExport', set the property ActionAfterExport to OpenView, set the property FileName to any file path you wanted, for example: D:\temp\sample.xls.

7. Double-click the button 'Run', you will see the code view and the following method has been added automatically

[C#]
private void btnRun_Click(object sender, EventArgs e)
[VB.NET]
***Private Sub btnRun_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRun.Click

8. Add the following codes to the top of the file

[C#]
using System.Data;
using System.Data.OleDb;
[VB.NET]
Imports System.Data
Imports System.Data.OleDb

9. Add the following codes to the method btnRun_Click

[C#]
using (IDbConnection conn = new OleDbConnection())
{
//the data source demo.mdb was installed during installing Spire.DataExport,
//so the path of the data source may be different yours.
conn.ConnectionString
= @"Provider=Microsoft.Jet.OLEDB.4.0;"
+ @"Data Source=C:\Program Files\e-iceblue\Spire.DataExport\Demos\Database\demo.mdb";
conn.Open();

IDbCommand command = new OleDbCommand();
command.Connection = conn;
command.CommandText = "select * from parts";

this.cellExport.SQLCommand = command;
this.cellExport.SaveToFile();
}
[VB.NET]
Using conn = new OleDbConnection()
'the data source demo.mdb was installed during installing Spire.DataExport,
'so the path of the data source may be different yours.
conn.ConnectionString _
= "Provider=Microsoft.Jet.OLEDB.4.0;" _
& "Data Source=C:\\Program Files\\e-iceblue\\Spire.DataExport\\Demos\\Database\\demo.mdb"
conn.Open()

Dim command As New OleDbCommand()
command.Connection = conn
command.CommandText = "select * from parts"

Me.cellExport.SQLCommand = command
Me.cellExport.SaveToFile()
End Using

10. In Solution Explorer, right-click the project SimpleCellExport and click Debug, then Start new instance, you will see the opened window Form1, click the button 'Run', an Excel workbook will be generated, and opened. It looks the same as the following picture:

Tuesday, 17 August 2010 16:33

How to Use Spire.Doc in a .NET Applicaiton

In this document, we will quickly help you finish a simple demo about Spire.Doc using Visual Studio. As usual, it's a HelloWorld demo. Before you get started, please make sure the Spire.Doc and Visual Studio (2008 or later) are installed on your computer.

1. In Visual Studio, click File, New, and then Project, If you want to create a C# project, select Visual C#, Windows and choose Windows Forms Application and name the project HelloWorld. Click OK. If you want to create a Visual Basic project, select Visual Basic, Windows Forms Application and name the project HelloWorld. Click OK.

2. In Solution Explorer, right-click the project HelloWorld and click Add Reference. In the Browse tab, find the folder which you installed the Spire.Doc in, default is "C:\Program Files\e-iceblue\Spire.Doc", double-click the folder Bin. If the target framework of the project HelloWorld

  • is .NET 2.0, double-click folder NET2.0
  • is .NET 3.5, double-click folder NET3.5
  • is .NET 4.0, double-click folder NET4.0

select assembly Spire.Doc.dll and click OK to add it to the project.

3. In Solution Explorer, double-click the file Form1.cs/Form1.vb to open the form design view, add a button into the form, and change its name to 'btnRun', change its text to 'Run'.

4. Double-click the button 'Run', you will see the code view and the following method has been added automatically:

[C#]
private void btnRun_Click(object sender, EventArgs e)
[VB.NET]
Private Sub btnRun_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRun.Click

5. Add the following codes to the top of the file:

[C#]
using Spire.Doc;
using Spire.Doc.Documents;
[VB.NET]
Imports Spire.Doc
Imports Spire.Doc.Documents

6. Add the following codes to the method btnRun_Click

[C#]
//Create word document
Document document = new Document();

//Create a new paragraph
Paragraph paragraph = document.AddSection().AddParagraph();

//Append Text
paragraph.AppendText("Hello World!");

//Save doc file.
document.SaveToFile("Sample.doc", FileFormat.Doc);

//Launching the MS Word file.
try
{
System.Diagnostics.Process.Start("Sample.doc");
}
catch { }
[VB.NET]
'Create word document
Dim document_Renamed As New Document()

'Create a new paragraph
Dim paragraph_Renamed As Paragraph = document_Renamed.AddSection().AddParagraph()

'Append Text
paragraph_Renamed.AppendText("Hello World!")

'Save doc file.
document_Renamed.SaveToFile("Sample.doc", FileFormat.Doc)

'Launching the MS Word file.
Try
System.Diagnostics.Process.Start("Sample.doc")
Catch
End Try

7. In Solution Explorer, right-click the project HelloWorld and click Debug, then Start new instance, you will see the opened window Form1, click the button 'Run', a Word document will be created, edited and opened. The string "Hello, World" is filled in the first line of page 1.

Tuesday, 17 August 2010 13:51

Purchase FAQS

E-ICEBLUE Product License FAQs

Q: What is the difference between Developer Small Business License, Developer OEM License, Site Small Business License, Site OEM License?

One Developer Subscription authorizes One developer to utilize our product to create an unlimited number of applications which can be deployed at One geographic location in your organization (internal use only). It does not allow distribution of your custom applications to third parties, public-facing websites, or SaaS/PaaS/IaaS projects.

One Developer OEM Subscription authorizes One developer to create an unlimited of custom applications using our product, and the applications are allowed to be distributed in any form to any number of geographic locations.

One Site Enterprise Subscription authorizes up to 10 developers to create an unlimited number of applications which can be deployed at up to 10 geographic locations. It does not allow distribution of your custom applications to public-facing websites, or SaaS/PaaS/IaaS projects.

One Site Enterprise OEM Subscription authorizes up to 10 developers to create an unlimited number of custom applications using our product, and the applications are allowed to be distributed in any form to any number of geographic locations.

Note: Only OEM subscription works for public-facing websites and cloud-based applications.

Q: Do all developers should be licensed or just the one working directly using the e-iceblue components?

A: All developers who are working on the project need to be licensed

Q: Can the licensed components be used on multiple machines ?

A: Yes, the licensed version can be installed on multiple machines. If a single developer license is purchased, the licensed version can be installed on all machines owned by and exclusively used by the developer holding the license.

Q: How long can I get free updates & free support ?

A: Free updates & free priority support is provided for a full version cycle or maximum 1 years. if version 3.5 is purchased, the last free update is v4.4 or the version when available at the end of the 1 year period.

Q: Why Renew Subscription ?

A: When you buy a license you get a full year's subscription to software updates. When your subscription is near to its end, we send you an email to remind you to renew your subscription. Without a subscription you can still use the product and get support, but you do not get new features or fixes. If you have a problem that requires a hot fix but do not have a current subscription, you will have to renew before you can benefit from the fix. You can renew your subscription either when we send you a reminder, or at any other time. If your subscription expires in December and you buy a renewal early, say in September, the renewal adds twelve months to your subscription from the expiry date. Renewing an existing subscription is cheaper than renewing an expired subscription. While your subscription is still running, adding a year to the subscription costs 60% of the current product price. To re-activate an expired subscription costs 75% of the current product price.

Q: What will happen for a license beyond 1 year?

Can our existing clients continue using the solution without having to purchase a new license?

A: Yes, your clients can continue using the solution without having to purchase a new license

Can we continue deploying to new customers?

A: You can still use the license and of course including deploy to new customers. But the service of free product update and priority support is not available until you renew your license.

Will the 'Evaluation Warning' messages reappear?

A: After one year, if you download and install the latest version, the 'Evaluation Warning' messages will appear. If you keep using the old version, it won't.

Do we need to buy a new license to continue any development (i.e. do we simply lose support & access to any new versions)?

A: We offer life-time free technical support but 1 year free update service only. We recommend you renew your license because some new functions/features/hotfix can only be used in new version. And after renew your license you will have our free priority technical support.

Q: I have purchased Spire.Doc and Spire.XLS, but when I use them in the same project, it failed. How to use your Spire.XLS and Spire.Doc in the same project?

A: Please download our Spire.Office to get the dlls of Spire.Doc and Spire.Xls. Please refer to how to apply two license files to use Spire.Office normally by applying the license files you purchased.

FYI: If you want to use any other two products in Spire.Office in the same project, such as Spire.Doc and Spire.PDF, Spire.Presentation and Spire.XLS, please download our Spire.Office to use them together and there is no need for you to purchase Spire.Office.


E-ICEBLUE Product Sales FAQs

Q: What benefits are available if I purchase your products?

  • 1 Business day Guaranty e-mail Response - Email Us
  • 1 Business days Guaranty forum questions Reply - Ask Now
  • 3 Business days Guaranty hotfix version publish - HotFix
  • 30-day Free Trial
  • 1 Year Free Update and Free Prior Technology Support
  • Free Customized Service for OEM users

Q: Can I evaluate prior to purchasing?

A: Yes! All e-iceblue components have a risk free, evaluation version available. We strongly encourage developers to download and try our components prior to purchasing in order to ensure that they will fill your needs 100%.

Q: Do you offer technical support when I'm evaluating a product?

A: Yes! Anything you want to consult you can contact us via email, forum and skype (iceblue-support) at any time.

Q: Can I request a special feature?

A: Yes! We are always trying to improve our products. Your request will be a huge help!

Q: Is there any possible to get a discount?

A: Yes! We offer up to 47% discount for our customers. More details about discount can be consulted here. And how to use our coupon code can be consulted here.

Q: Is it safe to purchase product via your website?

A: It is 100% secure to do business with us. The Payment platform we utilize is ShareIT, which is one of the most trusted ecommerce companies in the world. The order of your private information, such as credit card number, addresses and so on will never be disclosed without your specific permission.

Q: What payment method do you accept?

A: We recommend our users to use PayPal or credit card. And any other payment solutions supported by Avangate we also accept. Such as Bank/Wire Transfer, PO, Check/Money Order, Fax, etc.

Q: When and how can I get the software I ordered?

A: Once you complete the online order, our technical support will send you license information within 24 hours (usually it is very fast).

Q: What is your refund policy?

A: We'll hold the 14-day money back guarantee if our products cannot normally work with error or bug. But sometimes the software doesn't work well due to improper operation. We strongly suggest you contact our support team for help first with detailed problem description. In addition, we do not accept irrational and no reason refund.

Q: I didn't receive the license code for several hours after my purchase. Why?

A: The possible reasons might be:

  • Due to your email setting, the letter with license code went to Trash directly. Please check the folder there.
  • You provided invalid email address when you ordered the software.
  • Your email service provider rejects emails from unknown senders.

Please contact us to ask license again for reason 2/3 or other reasons.

Q: I tried to purchase your products through Paypal, but after I entered my credit card info, it just hung. I tried two different browsers, it didn't work. Will you charge me twice?

A: Please don't worry about the double charge on your account. It is secured by Paypal and it seldom happens. If it really happens, we will make the refund to you once we confirm the double charge on your account.