Write what u want ! Oops. Sooory. No edits.
Post your comments on http://appuraja.blogspot.com.
panelData() stores panel contents.
qZ() is used to generate xmlhttp request object
xk() is used to fire ajax requests
all url parameters for xk() are /_api/...
It's a revolution ! Frankly though, http://www.aypwip.org/webnote/ has been there, and done that :-)
But I like the UI here :-))
using System; using System.Collections.Generic; using System.Text; using Microsoft.Office; using Word = Microsoft.Office.Interop.Word; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { try { Word.Application word = new Word.Application(); word.Visible = false; Word.Documents docs = (Word.Documents)word.Documents; object templateName = Type.Missing; object openAsNewTemplate = Type.Missing; object openVisible = false; object documentType = Word.WdDocumentType.wdTypeDocument; Word.Document doc = docs.Add( ref templateName, ref openAsNewTemplate, ref documentType, ref openVisible); object startPosition = 0; object endPosition = 0; Word.Range r = (Word.Range)doc.Range( ref startPosition, ref endPosition); r.InsertAfter("Hello ERM"); object FileName = "D:\\myfile.doc"; object FileFormat = Word.WdSaveFormat.wdFormatDocument; object LockComments = false; object Password = Type.EmptyTypes; object AddToRecentFiles = true; object WritePassword = Type.EmptyTypes; object ReadOnlyRecommended = false; object EmbedTrueTypeFonts = false; object SaveNativePictureFormat = true; object SaveFormsData = true; object SaveAsAOCELetter = false; object Encoding = Microsoft.Office.Core.MsoEncoding.msoEncodingUSASCII; object InsertLineBreaks = false; object AllowSubstitutions = false; object LineEnding = Word.WdLineEndingType.wdCRLF; object AddBiDiMarks = false; doc.SaveAs(ref FileName, ref FileFormat, ref LockComments, ref Password, ref AddToRecentFiles, ref WritePassword, ref ReadOnlyRecommended, ref EmbedTrueTypeFonts, ref SaveNativePictureFormat, ref SaveFormsData, ref SaveAsAOCELetter, ref Encoding, ref InsertLineBreaks, ref AllowSubstitutions, ref LineEnding, ref AddBiDiMarks); } catch (Exception ex) { Console.WriteLine(ex.Message); } } } }
hp.SetShowHelp(this.button1, true);
hp.SetHelpString(this.button1, "relp");