Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Wed Jun 13, 2012 10:03 am

Hello,

I created a simple Word document, saved it as a .xml file, and tried to open it in an .aspx page of a web application. It seems it doesnt work. The page is loading for a while (much more longer as normal) and the compiling doesnt reach my breakpoint on "dim a =true". What could cause it? Thank you

Dim doc As New Document
doc.LoadFromFile("C:\a.xml", FileFormat.xml)
Dim a = True

catalin
 
Posts: 48
Joined: Wed Mar 14, 2012 12:56 pm

Thu Jun 14, 2012 4:48 am

Hello catalin,

I have tested you codes that you posted. Spire.Doc support simple word 2003 xml file. If it is not, the code will lead to the bug.
Please check the xml format if it is word 2003 xml file. If not , save it to word 2003 xml file.

If still can't your problem, please contact me!
-----------------------------------------------------------------------------
nancy,
e-iceblue support
Nancy
e-iceblue support team
contact: nancy.wang@e-iceblue.com
User avatar

nancy
 
Posts: 51
Joined: Wed May 30, 2012 2:02 am

Tue Jun 19, 2012 7:36 am

Yes, it seems that was the problem. In a 2003 format it's working, thank you

catalin
 
Posts: 48
Joined: Wed Mar 14, 2012 12:56 pm

Tue Jun 19, 2012 8:04 am

Hi catalin,

You're welcome! Happy work! :)
If you have any problems, welcome to contact me!
----------------------------------------------------------------------------------
Nancy
e-iceblue support
Nancy
e-iceblue support team
contact: nancy.wang@e-iceblue.com
User avatar

nancy
 
Posts: 51
Joined: Wed May 30, 2012 2:02 am

Thu Jun 19, 2014 4:48 pm

Hello,

I also just downloaded the trial version. I need to evaluate if the mail merge Works for our puroposes.
The simple App in the demo folder for mailmerge is not opening my XML mail merge template.
I just updated the code in the sample App but it hangs on the LoadFromFile line.

Could any of you help me to determine if this is supported?

I attached the XML file.

Thanks in advance
Code: Select all
document.LoadFromFile(@"Notice of Fees.xml",FileFormat.Xml);
            string[] filedNames = new string[]{ "Account_Account_Name",
                                                "Account_First_Name",
                                                "DMV_Fee",
                                                "Vehicle_Registration_Due_Date",
                                                "Smog_Fee",
                                                "VIN_Verification_Fee",
                                                "Auto_Insurance_Fee",
                                                "Misc_Fee",
                                                "Impound_Fee"
                                               };

            string[] filedValues = new string[]{"Smith",
                                                "JHON",
                                                "125.00",
                                                "25.00",
                                                "10.00",
                                                "20.00",
                                                "30.00",
                                                "40.00",
                                                "50.00"           
                                               };

            document.MailMerge.Execute(filedNames, filedValues);

atrio
 
Posts: 2
Joined: Thu Jun 19, 2014 3:48 pm

Fri Jun 20, 2014 1:39 am

Hello,

Thanks for your inquiry.
Sorry that there is no any attachments, please upload it again, kindly note that you need to zip it before uploading, or send it to our Email(support@e-iceblue.com).
Thanks in advance,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Fri Jun 20, 2014 1:25 pm

I'm attaching the zip file containing the XML file.

Thanks in advance.

atrio
 
Posts: 2
Joined: Thu Jun 19, 2014 3:48 pm

Mon Jun 23, 2014 3:17 am

Hello,

Thanks. Sorry that currenctly our product doesn't support it. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.

Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Return to Spire.Doc