Tutorial by Examples: 5

Why do I want to reference a folder? In the next part I will show you how to access emails within a referenced folder. Here I will show you how to move a folder. I created a folder named “Test” within my Inbox. In TestMoveFolder(), I replaced “A” with the name of the store containing my Inbox. ...
A Responsive Table(sap.m.Table) can be created as below XML View <mvc:View controllerName="com.sap.app.controller.Main" xmlns:mvc="sap.ui.core.mvc" xmlns:core="sap.ui.core" xmlns="sap.m"> <Page title="Table Example"> <conte...
This module implements a common interface to many different secure hash and message digest algorithms. Included are the FIPS secure hash algorithms SHA1, SHA224, SHA256, SHA384, and SHA512 (defined in FIPS 180-2) as well as RSA’s MD5 algorithm (defined in Internet RFC 1321). There is one constructo...
HTML5 defines some HTML attributes as boolean; a boolean can only be true or false. The specification simply states that the presence of a boolean attribute implies that the attribute is set to true. In example using a disabled attribute in the following example disables the button input element: &...
Given a normalized phone number like +178612345678 we will get a formatted number with the provided pattern. private String getFormattedNumber(String phoneNumber) { PhoneNumberUtil phoneNumberUtil = PhoneNumberUtil.getInstance(); Phonemetadata.NumberFormat numberFormat = new P...
Reading the specification for the document formats in OpenXML can be a time consuming process. Sometimes you just want to see how to produce a certain feature in a word-document. The Open XML SDK 2.5 Productivity Tool for Microsoft Office (OpenXmlSdkTool.exe) does just that. Its main features are: ...
Steps: Create Empty .Net Core Web App: Go to wwwroot, and create a normal html page called Index.html: Configure Startup.cs to accept static files (this will require to add "Microsoft.AspNetCore.StaticFiles": "1.0.0" library in the “project.json” file): ...
As this is an audio, we don't need a QVideoWidget. So we can do: _player = new QMediaPlayer(this); QUrl file = QUrl::fromLocalFile(QFileDialog::getOpenFileName(this, tr("Open Music"), "", tr(""))); if (file.url() == "") return ; _player->setMedia(f...
Step 1 – Install LAMP To start with Laravel, we first need to set up a running LAMP server. If you have already running LAMP stack skip this step else use followings commands to set up lamp on Ubuntu system. Install PHP 5.6 $ sudo apt-get install python-software-properties $ sudo add-apt-reposit...
Team Foundation Server (TFS) can be installed in two basic infrastructure ways, Single Server Deployment and Multi-Server Deployment. The difference between these two deployments is where the Application Tier (TFS) and the Data Tier (MS SQL) reside. It is considered best practice to install TFS in...
Background To get the product of a register and a constant and store it in another register, the naïve way is to do this: imul ecx, 3 ; Set ecx to 5 times its previous value imul edx, eax, 5 ; Store 5 times the contend of eax in edx Use lea Multiplications are expensive operation...
So let's say you have a project that depends on Qt5 and you need to copy the relevant dlls to your build directory and you don't want to do it manually; you can do the following: cmake_minimum_required(VERSION 3.0) project(MyQtProj LANGUAGES C CXX) find_package(Qt5 COMPONENTS Core Gui Widgets) #...
To start with creating your own service, take a look at the base class of each service, which is called ItsG5Service. Also you can look at the CamService and the DenmService as they are already implemented services. All application related files and classes can be found in the artery/application sub...
The method of SQL generation from BQL PXSelectGroupBy<> data views has been changed in Acumatica Framework 5.2. The sections below illustrate the differences using the example of PXSelectGroupBy<FinYear, Aggregate<GroupBy<FinYear.finPeriods>>>.Select(graph): Acumatica Frame...
iText 2 and earlier: import com.lowagie.text.*; iText 5: import com.itextpdf.text.*; iText 7: import com.itextpdf.kernel.*; import com.itextpdf.layout.*; ...
Request:"http://example.com" GET / HTTP/1.1 Host: example.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0 Accept: text/html,application/xml;q=0.9,*/*;q=0.8 Accept-Charset: UTF-8, iso-8859-1 Accept-Language: en-US,en;q=0.5 Accept-Encoding: g...
Request:"http://example.com" GET / HTTP/1.1 Host: example.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0 Accept: text/html,application/xml;q=0.9,*/*;q=0.8 Accept-Charset: UTF-8, iso-8859-1;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encod...
To make a navigation bar using the HTML5 nav element, encase the links within the nav tag. <nav> <a href="#">Home</a> <a href="#">About</a> <a href="#">Contact</a> </nav>
You can read all items either from any config file or type it inline. Considering if its saved in Config File // Read all list items from config file string[] countryDV = ConfigurationManager.AppSettings["countryDV"].Split(',').Select(s => s.Trim().ToUpper()).ToArray(); int DVRowLim...
Approach in this case will be different than previous example because Excel file supports the Data validation for list of items with total character count less than 256 if all items are binded directly as in previous example. But in many situation list items can be longer than 256 characters and in ...

Page 5 of 6