MS4BIĀ®

MS4BI HELP 2022

by MS4script
01-Introduction
Preface & Copyright
Getting started
Informations + Cmd/param Server
Demos Simple
02- Declarations
Structure
Type
03- Instructions
Conditions if,do,while..
Char/Text functions Char or Text..()
Get + Include functions Get, Include..
String functions String# (hashtag)
Date-Time Day, Time, Year.
Display
Call
Formulas Complex
04- Database
Connector Ado, Odbc, Dsn, SAP, Ms4
DB Connect Create, delete
Import DataSource Import, Consolidation
Administration Admin, User
05- Sql-Query
Sql
Query Form : BTS,Plus
Grid option
06- Charts
Forms Plus, 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.
DrawWindow [web]
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 Custom
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

Designer

00-OverView
01-Transaction
02-Setting
05-Import
10-Formula
15-Report-Part1
16-Report-Part2
20-Query-Part1
21-Query-Part2
25-Report-Query-Style
30-QrCodeImage
31-Windows
32-Frame
40-TabStrip
50-Collapse
60-BeginForm
63-Input-SubmitBox
70-Input-Select
71-Input-Insert
72-Input-Update
73-Input-Delete
75-Input-Query
77-ListComBo
81-Button-Link
82-Button-DataList
86-Sticky-Label
91-Insert-PhpJsHtml
92-Insert-MS4script
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

2022 version 1.10

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+\MandragorePlanete\MS4BI\02-DEMO-DESKTOP-BI-EXCELandSTANDARD\91-SECURITY\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:\MandragorePlanete\MS4BI\02-DEMO-DESKTOP-BI-EXCELandSTANDARD\91-SECURITY



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+\MandragorePlanete\MS4BI\02-DEMO-DESKTOP-BI-EXCELandSTANDARD\91-SECURITY\ExamplesEncrypt\EncryptDecryptDIR\",
	PASSWORD:"5A29212",FILTER: "*.ms4", DETAIL : yesDisplayDetail );
	 
 	 Display" OK.....EncryptDIR  :  \MandragorePlanete\MS4BI\02-DEMO-DESKTOP-BI-EXCELandSTANDARD\91-SECURITY\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:\MandragorePlanete\MS4BI\02-DEMO-DESKTOP-BI-EXCELandSTANDARD\91-SECURITY



KEYWORD : ENCRYPTFILEWIPE

Definition

Completely clears the contents of a file

Syntax

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

 	
	

Example

  		   
 BEGIN 
SetCurrentDir("#DRIVERSYS+\MandragorePlanete\MS4BI\02-DEMO-DESKTOP-BI-EXCELandSTANDARD\91-SECURITY\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:\MandragorePlanete\MS4BI\02-DEMO-DESKTOP-BI-EXCELandSTANDARD\91-SECURITY



Interested in joining us? contact@mgplanete.com
The Mg Planete team


Copyright 2022 by Mandragore Planete

the official sites :
mgplanete.com
getms4bi.com
demos.ms4bi.com
help.ms4bi.com
ms4script.com

Download

official site :
getms4bi.com

Our purpose : Keep it simple !


written with ms4script
  • help 01.010.2022.8

MS4BI in 5 minutes