Createobject Sap Functions Vbscript

Prerequisites o Decide whether to use UFT Automation Scripts Creating a useful UFT automation script requires planning, design time, and testing. The following function uses it to launch a command line and return it's output, with a timeout parameter: Function ExecCommandLine (ByVal. This post documents some useful functions that I had included in my scripts to deal with zip files and create folders. VBA Wait and Sleep Functions – Explained Wait and Sleep functionality in programs is required to hold or pause the program execution for a specified time. Add the URL of the server that hosts the InfoPath form to the list of trusted sites in Microsoft Internet Explorer. setAttribute. SpVoice") voice. At least, that is my eventual goal. Add 'Adds a workbook to an excel object ExcelObject. Frank Toth answers. Unicode) failed", vbOKOnly, _ "Error" Exit Sub. VBScript ships with many functions that you can use to complete your scripts. using ASP or Active Service Pages), but since VBScript does not have built-in file I/O language elements, a method to access the web server's file system was needed. The library is named DynamicWrapperX, it is free and you find it here. Use Named References of SAP ActiveX Libraries in VBA for Easy Programming Then MsgBox "CreateObject(SAP. FileSystemObject”). exe)When this code is executed the FileExists always returns true even if the file doesnt exist. If UTF-8 is unicode, and you want just the bytes of the ASCII characters, you can do this (built in conversion in VBA): UTF-F is is a variable-character-length encoding of Unicode that pays careful attention to not confusing code that looks for chars 1-127 (classic ASCII), thus encoding Unicode chars in standard 8-bit strings, but all bytes with values 1-127 are what they appear to be. This example uses the CreateObject function to set a reference ( xlApp) to Microsoft Excel. PowerShell) it is required to define the function before it is called. To meet this particular request, I used VBScript. Find no is Prime or not from range in vbscript. exe)When this code is executed the FileExists always returns true even if the file doesnt exist. 0") Set oNode = oXML. If you want to make the ArrayList available in all procedures (macros or functions) in the workbook (=VBProject) you'll have to use Public Scope. Create folders recursively. Excel can be scripted using VBScript by accessing Excel. Hi I'm trying to put into script editor vb function: public function DeleteFile(filePath) Set objFSO = SAP Leader Groups. There are two kinds of procedures in VBScript: A sub procedure and a function. I am trying to build a script that takes the data out of a huge report in SAP, runs some cleanup in Excel, and then load it into Access. Docname = “snapshot. Note: The external script cannot contain the tag!. HiI needed a sleep functions but with miliseconds and VBScript language, so I have made a library, if you need it or another functions like this, you can try it. The library is named DynamicWrapperX, it is free and you find it here. If the user clicks on the Cancel button, the function will return an empty string (""). Functions”) Laufzeitfehler 429 ActiveX-Komponente kann Objekt nicht erstellen. We have several Access 2010 databases that run VBA code that among other things, calls a routine to export data to an Excel spreadsheet. This means that, before creating your own procedure or function, first make sure it has not been written already because if an existing function already implements the behavior you want to apply, you should such a function. If UTF-8 is unicode, and you want just the bytes of the ASCII characters, you can do this (built in conversion in VBA): UTF-F is is a variable-character-length encoding of Unicode that pays careful attention to not confusing code that looks for chars 1-127 (classic ASCII), thus encoding Unicode chars in standard 8-bit strings, but all bytes with values 1-127 are what they appear to be. Once an object is created, you refer to it in the script using the object variable you defined. CreateObject. VBScript はクラスベースのオブジェクト指向言語であり、Classステートメントによりクラスオブジェクトを生成することが出来る。. SAP has developed many implementation for the RFC, including COM, Java and. After entering the values, if the user clicks the OK button or presses ENTER on the keyboard, the InputBox function will return the text in the text box. Create site stickiness through social networking. VBScript FileSystemObject File System Operations i) What is Computer File System? It is a feature of Operating system used to work with Drives, Folders and Files. ZAM macro:. With no support for DLL integration, you may wonder what options you have. SAP Vk11 FMs ( Function Modules ). base64" oNode. vbs Sub main ' Create the dialog box Set Dialog = CreateObject("TPFSoftware. Set TableFactoryCtrl = CreateObject("SAP. Unicode) failed", vbOKOnly, _ "Error" Exit Sub. dll is used in web environment and Wscript. CreateObject / wscript. I can do the connection, but whenever the code reaches the line that calls a function, I ge, ID #5169529. For example, you would have to define your own function, rule72(), in VBScript to replace the rule72. Hi, eXtension Does my web api method support calls from VBScript? It seems that we can't use API functions from VBScript directly, you could learn how to perform API calls from VBscript from the link below,. Sheet") This script starts the application creating the object (in this case a Microsoft Excel spreadsheet). The important five components of SAP Scripts are as follows, Editor: – which is used to enter lines of text and to. Terminate() Set X = Nothing Set S = Nothing End Sub Call LaunchNotepad WScript. Function PromptForSkip(sFilename,oExcel) if not (VarType(gSkip) = vbEmpty) then. As JScript and VBScript access COM classes via IDispatch, they do not make use of type library, hence they do not have direct access to constants defined there, like Protocol. VBScript Functions. Purpose: When you enter a VBScript function with CallVBS, a global object "guixt" is already defined. TableFactory. the size of an array (this is required because Jscript can only call user-defined VBScript functions, meaning the built-in VBScript function that returns array size can’t be called from a Jscript function), and (10) compiles a function to determine the number of variable names the ‘variables’ selection list will need to hold:. I did managed to create a JsonObject with "Chilkat_9_5_0. Can also do UNICODE and other format changes. Home Support forum Using Diafaan SMS Server script connector - vbscript - Creat… script connector - vbscript - CreateObject function support Add Reply Add Topic. FileExists(C:\Program Files\Installshield Installation Information\{guid}\setup. Zipping and UnZipping files is a very common task in Windows. The function above was designed for a logon script and as such, uses the currently logged on user credentials. What are the environments supported by VBScript language?. Sap Gui Scripting it can migrated master data and Transaction data as well. File System Controls This control consists of two controls, the File control and the File System control, that work together to. Click on a category in the left rail to browse VBScript examples. application"). Code your VBScript app to save content to a text file by learning how to use the simple WriteLine method. The tutorial uses the BAPI Control and SAP Logon Control, both of which, are included with the SAPGui and RFC SDK. It is working almost with every modern browser and windows operating system that allows VBScript execution. up vote 0 down vote accepted. FileExists(sFileName) Set FSO = Nothing If Not boolRC Then OpenWorkbook = FALSE Exit. Try the Code – Ask Questions – Ask me what you need. VBScript is used as a scripting language in one of the popular Automation testing tools – Quick Test Professional abbreviated as QTP 2. jsのjson_parse. client = "MANDT". The advantage of calling object with Reference at runtime is that it is easy to change the code if you want to use it for VBScript. I am making a VBscript in an installer that can move a shortcut to the desktop. Dim xlApp As Object ' Declare variable to hold the reference. exe") End Sub Sub QuitNotepad() If X. I am trying to write a VBscript that will execute a PASSPORT macro. The following list contains the mappings of all R/3 standard functions to key combinations on the different GUI platforms supported by SAP. You can follow any responses to this entry through the RSS 2. Of those varied technologies, RFC (or Remote Function Call) is one of the most popular. I have a vbscript function that I use to call a Powershell Function. Hi, eXtension Does my web api method support calls from VBScript? It seems that we can't use API functions from VBScript directly, you could learn how to perform API calls from VBscript from the link below,. Sheet") This code starts the application creating the object (in this case, a Microsoft Excel spreadsheet). Reading from an EXCEL file in QTP - VBScript By 44frames on Pre-requisite : Have an excel file names c:\data. Is VBScript/VBA Dead or Dying? The answer is NO! On Windows Platform, the Windows Scripting Host Environment is still the best place for VBScript, where VBScript is a handy, lightweight, powerful programming language/scripting language for daily administrative tasks. Team, I am trying to learn how to create code and patterns for CreateObject("VBScript. Combine VBScript fuzzer with the JScript fuzzer in a way that allows VBScript to access JScript objects/functions and vice-versa. Set xlApp = CreateObject("excel. When it comes to task automation in the windows environment, vbscript is a very good scripting language to use. Another functions to do the code more easy for the user. Set voice = CreateObject("SAPI. By using Visual Studio 2003 to create a DLL, we can use the SAP. First, the standard VBScript method:. We do this by establishing a connection to an SAP host, selecting the desired functions, and creating an SAP proxy object that contains the desired functions. SAP has developed many implementation for the RFC, including COM, Java and. CreateObject("SAP. Functions") ランタイムエラー429 ActiveXコンポーネントはオブジェクト. However, before I discuss the TextStream object, I want to discuss why you might encounter a security warning if you run VBScript code that uses objects in the FSO model. Hi Colleagues! Need to complete the script (test) which count how many times WORD appeared in PDF document. Where to Put the VBScript. Open and Close Methods Example (VBScript) 01/19/2017; 2 minutes to read; In this article. VBScript Reference Manual InduSoft Web Studio 6 InduSoft, Ltd. Exit Function. Example if Bank Table: Insert Query in VBScript; Example Student table: Update Query in VBScript; Example of ADODB. Chilkat ActiveX Downloads. Sleep 10000 Call QuitNotepad. This class will teach you basics of VBScript. dataType = "bin. Zipping and UnZipping files is a very common task in Windows. SAP GUI Scripting syntax similar like VBScript and you can used setup your testing data or data migration from legacy system to SAP. Function") used in code. I´m creating an extern Library build with C# to extend the options fo WinCC and used with VBScript. VB Script – How to use VBScript with Forms. There are four different possibilities to use VBScript. For example, if you wanted to implement some MS Excel functions: Dim objExcel Set objExcel = CreateObject("Excel. FileSystemObject") boolRC = FSO. typename [, location]) Arguments Remarks. This example uses the CreateObject function to set a reference ( xlApp) to Microsoft Excel. CreateObject("Scripting. I think it is coming coz of CreateObject("SAP. Handy vbscript functions for dealing with zip files and folders. log function which can be used to print data to the console. This tutorial on "Working with Excel Objects in the VBScript" explains about the process of creation, addition, deletion etc of an Excel file using Excel Objects in the VBScript with simple examples. CreateObject("SAP. This example uses the Open and Close methods on both Recordset and Connection objects that have been opened. Connection”) ‘Create Database Recordset Object, It is used to perform operations on database Tables Set. dataType = "bin. VBScript Reference Manual InduSoft Web Studio 6 InduSoft, Ltd. exe & Cscript. VBScript Function to Run Program at Remote Computer. Here is the code until now: Dim sapConn As Object 'Declare connection object Set sapConn = CreateObject("SAP. Hi, i am trying to start SAP from excel VBA and input my information, like Log in, user name, password, etc. net connector Step by step guide to get fields from a table BAPI Function GET_RFC_TABLE select “Browse” and navigate to the folder where you. Example Code. Application"). SAP GUI Scripting is an automation interface that enhances the capabilities of SAP GUI for Windows and Java. For example, if you wanted to implement some MS Excel functions: Dim objExcel Set objExcel = CreateObject("Excel. Set S = CreateObject("WScript. Recordset Dim rs Const adLongVarChar = 201 Set rs = CreateObject("ADODB. Dictionary") Or, you could use VBScript's Array function: Sub driver igot = initialisers Return an object array in vbscript. The GetObject function has a great number different ways that it can be used dependent upon the particular component object or module that it is used to run or executed. VBScript has built-in support for regular expressions. Net Connector is built for Visual Studio 2003. VBScript/VBA function for sending HTML email with embedded images - CDOSysEmbeddedImages. Sheet") This script starts the application creating the object (in this case a Microsoft Excel spreadsheet). The SAP GUI Scripting API : How to Automate User Interaction - Technology, Examples and Integration This presentation explains the benefits you have when using scripts in your daily work. but sometimes I already have some old functions written in JScript, that I need to use in my VBScript. After generating data and manipulating it, the program can display the output in a message box or save it to a file. the size of an array (this is required because Jscript can only call user-defined VBScript functions, meaning the built-in VBScript function that returns array size can't be called from a Jscript function), and (10) compiles a function to determine the number of variable names the 'variables' selection list will need to hold:. Volume = 90 Say = InputBox("Say Something", "Say Something", "I Love you!") If (Len(Say) > 0) Then voice. We get the values from the properties of the objNet. Open and Close Methods Example (VBScript) 01/19/2017; 2 minutes to read; In this article. That location will have one of those long, unique keys used by Windows - a GUID. Set obSAPFnCntrl = CreateObject (“SAP. i just want to make a text file and add some values to it when a button is pushed. The advantage of calling object with Reference at runtime is that it is easy to change the code if you want to use it for VBScript. Using JScript and VBScript functions in the same script or HTA. The script connects but only returns the first line of results. This tutorial will take you through all the aspects of Connection Objects in the VBScript including its different properties and methods along with simple examples which in turn would enable you to realize the importance and effectiveness of Connection object. You can also use these and other built-in VBScript functions in your scripts. Some time ago I posted an article on how to run an Excel VBA Macro using VBscript and cmd to save time or to be able to run multiple Macros across a number of Excel files without actually needing to open them. Wscript is useful in displaying the dialog and input boxes for user input and output. Besides that, functions are also useful to increase code readability (when done right). Syntax CreateObject(servername. Here is the code until now: Dim sapConn As Object 'Declare connection object Set sapConn = CreateObject("SAP. Using an External VBScript. I am tring to get a simple vbscript working. Set obSAPConn = obSAPFnCntrl. pts) and a data file (. For example, you see Word's Save As dialog box when you run the Save method on a new document (as in Listings 12. This would keep it calculated, but specify the format. Re: Integration SAP - FDM: Out of memory: CreateObject("SAP. Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C# Language Filter: C++ Language Filter: J# Language Filter: JScript. When I run the script file I'd like to be able to get the filename of the script file so I can create the file name for the data file and open it. Once you have this, you can implement the DLL within VBScript by using the CreateObject function call. I think it is coming coz of CreateObject("SAP. Code should be as concise as possible to reduce the amount of extra code we need while being able to operate under nearly any scripting situation. 'Add method is used to create a blank document. Unicode) failed", vbOKOnly, _ "Error" Exit Sub. Handy vbscript functions for dealing with zip files and folders. VBScript is used as a scripting language in one of the popular Automation testing tools – Quick Test Professional abbreviated as QTP 2. With Safari, you learn the way you learn best. What's new is the word set, which VBScript requires you to use to indicate that an object reference is being stored rather than a regular value. In this chapter, we focus primarily on writing VBScript to execute in PowerDesigner's Edit/Run Script dialog, but you can also call add-ins from PowerDesigner menus (see Launching Scripts and Add-Ins from Menus) or script the PowerDesigner application via OLE automation (see OLE Automation and Add-Ins). By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. This script allows to capture the screen and place the screenshot into a MSWord Doc. Application"). This prolific sample source code in VBScript for ByteScout PDF Suite contains various functions and other necessary options you should do calling the API to set show and hide widget in pdf with pdf sdk. Functions") Create an instance of the SAP. 3 Public scope. Overload your VBScript functions While implementing Automated Functional Testing solutions I often face the challenge creating the scripts somewhat "intelligent", capable of making decisions and recognizing different logical patterns on the run. CreateObject("SAP. Is easy and less time to create sap gui scripting compared to LSMW. By using Visual Studio 2003 to create a DLL, we can use the SAP. I´m creating an extern Library build with C# to extend the options fo WinCC and used with VBScript. In general, the syntax to create an object instance in VBScript is. I will showed you how to create it. This task crashes on a 32-bit Excel on a VM when Excel RAM use hits 1. This class will teach you basics of VBScript. IWS implements Visual Basic Script Edition 5. Exec("Notepad. Please Note: This is a completely harmless project and if something DOES go wrong, I will not be help responsible. Functions") という記載がある行で引っかかった。 「ActiveXコンポーネントはオブジェクトを生成できません。」 という. vbs Set Expression = CreateObject("VBScript. SAP initially created a Connector using Java, called the Jco or. Handy vbscript functions for dealing with zip files and folders. First, the standard VBScript method:. Finally, the reference itself is released. Chrissy is a Cloud and Datacenter Management & Data Platform MVP who has worked in IT for over 20 years. Getting Tomorrow’s and Yesterday’s Dates. Value = "Test value" Add Formatted Data to a Spreadsheet Demonstration script that adds the words "test value" to a new spreadsheet, then formats the cell containing the value. I am only getting output now. To create a Dictionary, call the CreateObject() function with the string "Scripting. VbScript has method called getElementById to get the particular element in a HTML page using HTML Id. value = fileList; ). Perhaps issues can be found in the interaction of these two engines. VBScript MD5Hash and IsHex Functions to Calculate MD5 File Hashes April 15, 2015 by nate Recently I was tasked with synchronizing directories between two different servers. Sample of QlikView automation by external VBScript scripts Jul 19, 2014 · 5 minute read · Comments QlikView You can do all sorts of administrative tasks with QlikView applications through Automation API. You can then use the reference object to access the methods/properties of the specified object. lnk, which stands for links. IWS provides an integrated development environment where the HMI/SCADA application developer can. TypeNameServerName is the name of the application that provides the object. I want to open sap and launch sap transaction using vba from excel. Function Module RFC_READ_TABLE is used to get the table contents. It allows easy access to GuiXT script variables and provides several useful functions, for example RFC calls. If I can't make this work, I'm going to have to figure out how to split the job into smaller piecesdoable (I think), but as you may know this can be a pain to manage. With no support for DLL integration, you may wonder what options you have. up vote 0 down vote accepted. SAP GUI Scripting syntax similar like VBScript and you can used setup your testing data or data migration from legacy system to SAP. Further improvement of the code will make it more robust. So here’s the challenge: to create a function or subroutine that will allow us to use includes in our scripts. Send Email from Excel using VBScript and Email Queue¶. FileSystemObject") Exit Function. Hello, I need help with this, please - tearing hair out for a few hours now. Set TableFactoryCtrl = CreateObject("SAP. This example uses the CreateObject function to set a reference (xlApp) to Excel. Como usar el lenguaje VBScript para crear scripts, que se pueden ejecutar en Windows en forma de aplicaciones con la extensión VBS, en la consola de CMD, insertados en las páginas web o creando aplicaciones HTA. PartsEditorDlg" & ". Set objExcel = CreateObject("Excel. I'll try this programs sooner. exe & Cscript. Once an object is created, you refer to it in the script using the object variable you defined. VBScript was initially developed to be used with Web Servers (e. Functions”) Create a Connection Object to connect to SAP. Set Functions = CreateObject("SAP. There are two kinds of procedures in VBScript: A sub procedure and a function. typenameRequired. 3 Public scope. Functions") でエラー(RunOn32bit を使って解決) 2月 02, 2018 vbscriptでSAPとRFCでおしゃべりするときは、32bit版の環境で動かす必要がある、. WorkBooks objApp. Hi all, I'm trying to write a script that will open an excel spreadsheet, update a cell, save the spreadsheet and then close it. Our solution was to develope function module that creates an ascii file (a vbscript file) and then use the ws_execute to run wscript with this file. When using one of these functions please make sure that the resource identified by either url or filename is a valid picture file like jpeg or png. I am using this script Option Explicit. Build a Planning Function that Copies Comments and Data Records in BW In an earlier paper we have introduced a concept for comments in SAP NetWeaver BW BEx Web applications. fine BASIC subroutines and functions using the standard syntax Sub/End Sub or Function/End Function. dll, Wscript. VBScript for Automation (QTP/UFT) Testing - Part 5 Last Updated on October 27, 2017 by Rajkumar 1 Comment In VBScript - Part 5, let's see the following topics:. appPED= CreateObject("MGCPCBLibraries. Functions") ランタイムエラー429 ActiveXコンポーネントはオブジェクト. Speak Say End If. There are two types of procedures in VBScript: sub and function. Connection") 'Create Database Recordset Object, It is used to perform operations on database Tables Set. The WshShell Exec method can be used to launch a process. Listing 19. An example: Set FSO = CreateObject ( "Scripting. By giving True to the RfcWithDialog property, SAP screen will be ready hidden in background. ii) Examples for File System Operations Create a. It works like the Format() function does (and is non-existant in VBScript). Application") IE. Create a Windows Scripting Host (WSH) automation object / run an external command. It uses the reference to access the Visible property of Excel, and then uses the Excel Quit method to close it. To create an Automation object, assign the object returned by CreateObject to an object variable: Dim ExcelSheet Set ExcelSheet = CreateObject("Excel. Set dic = CreateObject("Scripting. QTP uses a scripting language built on top of VBScript to specify the test procedure, and to manipulate the objects and controls of the application under test. Chilkat ActiveX Downloads. application"). vbs file manually under my own account and it works flawlessly. You would have to use the built-in structures for declaring VBScript functions and procedures instead. Set R3 = CreateObject("SAP. set x = CreateObject(“SAP. That name is the same as the machine name portion of a sharename. End Function. VBScript » Functions » CreateObject Syntax: CreateObject(ServerName. When I run the script file I'd like to be able to get the filename of the script file so I can create the file name for the data file and open it. net connector Step by step guide to get fields from a table BAPI Function GET_RFC_TABLE select “Browse” and navigate to the folder where you. VBScript CreateObject Function. FileSystemObject"). In general, the syntax to create an object instance in VBScript is. Create site stickiness through social networking. A Function procedure is a series of VBScript statements enclosed by the Function and End Function statements. The tutorial uses the BAPI Control and SAP Logon Control, both of which, are included with the SAPGui and RFC SDK. We've decided to work with the programming language of the printer (EPL-2), because we use the zebra printers from SAP or from other windows applications. Hi, i am trying to start SAP from excel VBA and input my information, like Log in, user name, password, etc. SAP GUI Scripting syntax similar like VBScript and you can used setup your testing data or data migration from legacy system to SAP. QTP uses a scripting language built on top of VBScript to specify the test procedure, and to manipulate the objects and controls of the application under test. At least, that is my eventual goal. I am using this on a computer network, so I have no ability to install other 3rd party software, hense the reason I use a text file with the. After generating data and manipulating it, the program can display the output in a message box or save it to a file. I'm trying to understand how to use the SOAP interface from within VBScript to query Web Reports. When you are programming in VBScript and other languages you may find that you have to program the same code over, and over, and over. WriteLine(data). Generally speaking, a carriage return in VBScript i vbCrLf, ex. It allows to call functions exported by DLL libraries, in particular Windows API functions, from scripts in JScript and VBScript. Syntax: VBScript CreateObject Function. Application object. When you run VBScript code through the Windows Script Host (WSH) environment, the current directory is the one that contains the script file. ii) Examples for File System Operations Create a. Dictionary") The resulting object referenced by Dict will be an empty dictionary object. I allready have three variables I'd like to use which are strClaimNo, userID, strClaim. Programming Languages I''m trying to call SAP functions from an Excel macro, VBA. That location will have one of those long, unique keys used by Windows - a GUID. You would have to use the built-in structures for declaring VBScript functions and procedures instead. Dear Experts, Could you please have a look at the attached file and code, it is an VBScript file which is able to login to SAP. This tutorial will take you through all the aspects of Connection Objects in the VBScript including its different properties and methods along with simple examples which in turn would enable you to realize the importance and effectiveness of Connection object. Functions") R3. This eliminates the need of writing same code over and over again. vbs, containing the code used in each script, plus several functions and procedures that are not used in all scripts. Cells(1, 1). Document") servername and typename are not arbitrary values. TableFactory. The advantage of calling object with Reference at runtime is that it is easy to change the code if you want to use it for VBScript. You find the optional assignments that are proposed by the Menu Painter in parentheses. TypeNameServerName is the name of the application that provides the object. FileSystemObject"). FileSystemObject") is Class value 2). Find no is Prime or not from range in vbscript. CreateObject. typename [, location]) The CreateObject function syntax has these parts: Part Description servername Required. Placing the definitions first does have the advantage that the finished code can be read from top to bottom without having to jump up and down the page. Functions exist by searching for SAP. The application object is also the Global object for the ActiveX interface. I'm trying to create JSON string to an event handler with VBScript. Visual Basic Script (VBScript) is a component-based scripting language developed by Microsoft. Join GitHub today. Append "temp", adLongVarChar, LenB(varByteArray) rs. There are two arguments to the function: Class & ServerName - class is a required argument that specifies the application name and class of the object to create. Dictionary") The resulting object referenced by Dict will be an empty dictionary object. I have already written two articles on how to zip and unzip files in Windows. Document") servername and typename are not arbitrary values. Visible = False. End Function. I´m creating an extern Library build with C# to extend the options fo WinCC and used with VBScript. I receive "Class not registered" at Set FunctionCtrl = CreateObject("SAP. The DateTimeToStr method of the aqConvert object is used to convert the date value to a string that is posted to the TestComplete log.