MS4BI HELP 2019

by MS4script
01-Introduction
Preface & Copyright
Getting started
Demos Simple
02- Declarations
Structure
Type
03- Instructions
Conditions if,do,while..
String functions Str..()
Get + Include functions Get, Include..
Date-Time Day, Time, Year.
Display
Call
Formulas Complex
04- Database
Connector Ado, Odbc, Dsn, SAP, Ms4
Connect DB Create, delete
Import DataSource Import, Consolidation
Administration Admin, User
05- Sql-Query
Sql
Query Form : BTS,SHOW
Grid option
06- Charts
Forms Show, Win, Image, Excel, Morris...
Pie Std, Donut, 3D...
Bar Std, Stack, Line, Area, Plot
Radar
QrCode, Gauge
Step, Stock...
,Google,Leaflet... GeoMap
,Gantt,Timeline,Org.
07- Dashboard
Form tab, no tab
Responsive UI
08- Report
Report Hierarchy
Report Design
09- Filters
Dialogue + Call
10- Menus
Menu Design
Menu Frameset
Menu Special
11-UI : Responsive
Tables Responsive,Frame,position
List Group
Text
Panel Header, body, Footer
Button Button, Progress Bar
Icon & Button
Collapse Group, Panel
Notifications
12- Encryption
Encrypt
Decrypt
13- Windows
Dialogue
Picture, Frame, Button..
MsgBox
Grid
14- Cloud.
Account Open
15- Css, html, Php, js.
Insert Native language Begin_sw..End_Sw
16-Install + tools.
Installation & Configuration This Menu
Generate Native... Php, Html, js..
Code Generator Ms4 Script
MarkDown Ms4 Script
Source Code Menu Help This Menu
written with ms4script
     

BASIC HELP : MS4BI by MS4script 2019 version 1

Chapter 12 : ENCRYPTION

KEYWORD : ENCRYPTFILE

Definition

Encrypt a file with a password. The extension for the encryped file becomes ".[enc]"

Syntax

 		 	
 EncryptFile( INPUTFILE : "your input file " or string , 
 PASSWORD : literal "alphanum" or string,OUTPUTFILE : " output file " or string);

 	
	

Example

 		   
 
SetCurrentDir("#DRIVERSYS+\MondaySoftware\MS4BI\02-DEMO-DESKTOP-BI-EXCELandSTANDARD\10-SECURITE\ExamplesEncrypt");

 EncryptFile( INPUTFILE : "99-FileToEncrytExampleDONT-DELETE.ms4", PASSWORD : "psw0999",OUTPUTFILE : "98-FileToEncrytEncrypt");

  Display" OK.....OUTPUTFILE :  98-FileToEncrytEncrypt.[enc]";
    enter;	
	

Remarks

- to set the directory for the file you want to encrypt: setcurrentdir
- password: max 1024 alphanumeric characters
- to decrypt: function DECRYPT + password
- output file: the encrypted file will have an ".[enc]" extension

See Also

ENCRYPTFILEWIPE,ENCRYPTDIR,DECRYPTFILE,DECRYPTDIR
Examples :
driver:\MondaySoftware\MS4BI\02-DEMO-DESKTOP-BI-EXCELandSTANDARD\10-SECURITE



KEYWORD : ENCRYPTDIR

Definition

Encrypt a directory with a password + file extension filter. The encrypted files will have a ".[enc]" extension.

Syntax

 		 	
EncryptDIR( INPUTDIR : "your directory " or string , 
 PASSWORD : literal "alphanum"or string,FILTER : "*.extension" , DETAIL : variable  : yes or no (1) or (0);

 	
	

Example

 		   
 BEGIN ** ENCRYPT DIRECTORY
   
	EncryptDIR( INPUTDIR : "#DRIVERSYS+\MondaySoftware\MS4BI\02-DEMO-DESKTOP-BI-EXCELandSTANDARD\10-SECURITE\ExamplesEncrypt\EncryptDecryptDIR\",
	PASSWORD:"5A29212",FILTER: "*.ms4", DETAIL : yesDisplayDetail );
	 
 	 Display" OK.....EncryptDIR  :  \MondaySoftware\MS4BI\02-DEMO-DESKTOP-BI-EXCELandSTANDARD\10-SECURITE\ExamplesEncrypt\EncryptDecryptDIR-->filexxx [enc]";
  	  
enter;
END ;			

Remarks

- to set the directory you want to encrypt: setcurrentdir
- password: max 1024 alphanumeric characters
- to decrypt : function DECRYPTDIR + password
- output files: the encrypted files will have a ".[enc]" extension - DETAIL : yes or no (1) or (0): will display the encrypted files on screen

See Also

ENCRYPTFILEWIPE,ENCRYPTFILE,DECRYPTFILE,DECRYPTDIR
Examples :
driver:\MondaySoftware\MS4BI\02-DEMO-DESKTOP-BI-EXCELandSTANDARD\10-SECURITE



KEYWORD : ENCRYPTFILEWIPE

Definition

Completely clears the contents of a file

Syntax

 		 	
 EncryptFileWIPE( INPUTFILE : "your input file " or string);

 	
	

Example

 		   
 BEGIN 
SetCurrentDir("#DRIVERSYS+\MondaySoftware\MS4BI\02-DEMO-DESKTOP-BI-EXCELandSTANDARD\10-SECURITE\ExamplesEncrypt");
 
 Display" OK.... ENCRYPT :  WIPE ...warning" ;
 

   MsgBox : Title " FILE ENCRYPTION : WIPE FUNCTION                    "
	Message : " Are you sure you want to wipe ?",
	"Wiped files cannot be retrieved !!!!",
	 " BEFORE WIPING: ENCRYPT this FILE : 99-FileToEncrytExampleWIPE1.ms4"
	Button : Mb_YESNOCANCEL
	Icon : Mb_ICONQUESTION Return  (X) ;
	 
	
	CASE_OF X
		WHEN Idabort :
			Display " IDABORT	Abort button was selected. :  " , Idabort ;
		END_When;
		WHEN Idcancel :
			Display "IDCANCEL	Cancel button was selected.:  " , Idcancel ;
		END_When;
		WHEN Idignore :
			Display "IDIGNORE	Ignore button was selected.:  " , Idignore ;
		END_When;
		WHEN Idno :
			Display "IDNO	        No button was selected.    :  " , Idno ;
		END_When;
		WHEN Idok :
			 Display "IDOK	        OK button was selected.    :  " , Idok ;
			
		END_When;
		WHEN Idretry :
			Display "IDRETRY	Retry button was selected. :  " , Idretry ;
		END_When;
		WHEN Idyes :
			BEGIN
				Display "IDYES          Press  Ok                  :  ", Idyes ;
				EncryptFileWIPE( INPUTFILE : "99-FileToEncrytExampleWIPE1.ms4");
				 
				Display" OK.....WIPE : 99-FileToEncrytExampleWIPE1.ms4 !!! ";
			END;
		END_When;
	END_Case	;
END ;	

Remarks

- Set the directory of the file to be wiped: setcurrentdir
- NO decryption

See Also

ENCRYPTFILE,ENCRYPTDIR,DECRYPTFILE,DECRYPTDIR
Examples :
driver:\MondaySoftware\MS4BI\02-DEMO-DESKTOP-BI-EXCELandSTANDARD\10-SECURITE



Interested in our project? contact@monday-software.com
The Monday Software team


Copyright 2020 by Monday Software

the official sites :
www.monday-software.com
www.ms4bi.com
demos.ms4bi.com
getms4bi.com
getms4bifree.com
cloud.ms4bi.com
cloud.testing.ms4bi.com
www.ms4script.com

Our purpose : Keep it simple !


written with ms4script
  • MS4BI v.01.0027.01.2020
  • MS4BIRE v.01.0021.10.2019
  • MS4SCRIPT v.01.0027.01.2020
  • help 06/2019

MS4BI in 5 minutes