Dim ssstring As String = pDoc.InnerText() Dim sb As StringBuilder Dim tmppath As String sb = New StringBuilder() sb.Append(pDoc.InnerText) tmppath = (pObjMgr.GetField(Objects.Global, [Global].ESignFileLocation, 0) & "\Document_") & m_Document.ToString & "_" & DateTime.Now.ToString("yyyyMMddhhmmss") & ".doc" File.WriteAllText(tmppath, sb.ToString(), Encoding.UTF8)
File.WriteAllText
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)