Wednesday, January 28, 2015

Convert HTML to DocX / OpenXML

http://html2openxml.codeplex.com/wikipage?title=Serves%20a%20generated%20docx%20from%20the%20server&referringTitle=Documentation

OpenXML SDK 2.5 from Microsoft : http://www.microsoft.com/en-us/download/details.aspx?id=30425

Html to OpenXML http://html2openxml.codeplex.com/

DOCX  Discussion on the Topic : https://docx.codeplex.com/discussions/254637

Render HTML in Reportings Services 2008 : http://sqlblog.com/blogs/greg_low/archive/2008/12/19/rendering-html-in-reporting-services-text-boxes-in-sql-server-2008.aspx

Adding Alternative Text using OpenXML SDK : http://stackoverflow.com/questions/18089921/add-html-string-to-openxml-docx-document

3M SIP2 Resources and Implemetations - Standard Interchange Protocol

Definition in PDF : http://bibliotecaeupo.es/utils/SIP2/sip2_docs/sip2_developers_guide.pdf

PHP Implemetation : https://code.google.com/p/php-sip2/source/browse/trunk/sip2.class.php

Simple 3M SIP2 Standard Interchange Protocol implementation in perl : https://github.com/dpavlin/Biblio-SIP2

SIP2 Client in C# : https://github.com/NiceAndNerdy/SIP2.NET

Definitions and Examples from OCLC http://www.oclc.org/support/help/olib/900/Content/System/Supported%20SIP2%20Messages.htm#63_(Patron_Information)

MS Asynchronous Server Socket Example :
https://msdn.microsoft.com/en-us/library/fx6588te(v=vs.110).aspx
and Explanation of the sampe : https://msdn.microsoft.com/en-us/library/5w7b7x5f(v=vs.110).aspx

A TcpServer like the One in Delphi on CodeProject , looks great: http://www.codeproject.com/Articles/488668/Csharp-TCP-Server
The Server App freezes on Invoke so replace it with BeginInvoke methd.

Another TCP Server Example : http://sonyarouje.com/2011/11/25/multi-client-asynchronous-tcp-server/

Javascript inside C#

https://jint.codeplex.com/ - Jint - Javascript Interpreter for .NET

Tuesday, January 27, 2015

Looking for Route message paramters : found List of InputParameters and OutputParameters for CRM 2011

following the artice by CRM2011 Plugin InputParameter and OutputParameter Helper by Michel Palmer.
The lists does not show output parameters for Route Message.
This did not help much so I added code to my plugin to list the parameters for Route Message.

Monday, January 26, 2015

Convert DocX or Doc to PDF

Using FixIT : Link to an interesting blog entry by Anon(?)
http://wpf4developers.blogspot.de/2014/05/c-convert-docx-to-pdf-document.html


using Word : an Asnwer by Demir. Because of licensing, if you do it in real time, Microsoft demands licensing office for all users in the network !!!!
http://stackoverflow.com/questions/19560170/how-to-convert-docx-to-pdf-in-c-sharp
This should be done in a background process.


Another answer using Word Automation :
http://stackoverflow.com/questions/5431580/convert-html-to-docx-in-c-sharp