VB_Extensions 1.1.9

There is a newer version of this package available.
See the version list below for details.
dotnet add package VB_Extensions --version 1.1.9                
NuGet\Install-Package VB_Extensions -Version 1.1.9                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VB_Extensions" Version="1.1.9" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VB_Extensions --version 1.1.9                
#r "nuget: VB_Extensions, 1.1.9"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install VB_Extensions as a Cake Addin
#addin nuget:?package=VB_Extensions&version=1.1.9

// Install VB_Extensions as a Cake Tool
#tool nuget:?package=VB_Extensions&version=1.1.9                

< VBL_Framework User Manual >

Utility_Methods

MyArray.ToText() <-- Converts into StringArray
MyArrayOfStr.ToLexika()  <-- Converts Richtext to Dictionary from Splitted Text
MyArrayOfStr.ToDataframe() <--  Converts Richtext to Key/ValuePairs from ScriptObject

CheckType(myObject) <-- Compare 2 TypeOf Variables
Check(myObject) <-- Proofe Variable for Null Value

myString.Say(optional:Volume as Integer) <-- TextToSpeach
SayAsync.Say(optional:Volume as Integer) <-- TextToSpeach(Async)
myString.Mp3() <-- Play Mp3_File
Zip(sourcepath, destination) <-- ZipFile Compression
Unzip(sourcepath, destination) <-- ZipFile Decompression

Json.fromJSON <-- Serialize: Object/ List-Array(Of Object) => Module
Json.toJSON() <-- Deserialize: Object/ List-Array(Of Object) => Module

EnergySaverPlans:

Initializing with Listbox

  1. Receive Current Plan and Summary of Plans ESP.getEsp()
  2. Set Esp by Name (Reference to Listbox,determines LBox Selection automatically)

With Event:

AddHandler OutputList.DoubleClick, Sub()
            ESP._OutputList_ = OutputList
            ESP.setESP(ESP.EspCode)
            End Sub

Or with FunctionCall:

	Sub SetEsp()
		ESP._OutputList_ = OutputList
		ESP.setESP(ESP.EspCode)
	End Sub
  1. Display Changes OutputList.Text = ESP.CurrentESP OutputList.Items.AddRange(ESP.espList.Keys.ToArray)

Online Methods:

    server.Connect() <-- Receive Data via HTTP
    server.uploadJSONData() <-- Send Data via HTTP as JSON_String
    server.GetStrData() <-- Receive Data !Requires Pw!
        
    server.uploadStrData() <-- Send Data via HTTP as Pure_String !Requires Pw!
    server.uploadFTP() <-- Send Data via FTP as File !Requires Pw!

Scripting:

Initialize:

With Pure String

Dim Script script as new Script(codeBlock, optional: ownSyntax = false)

Via File Without/Without Argmuments:

Dim Script script as new Script("Path_Of_ScriptFile(.vbl)", optional: ownSyntax = false)
Dim Script script as new Script("Path_Of_ScriptFile(.vbl)", new Array{"arg1","args2" }, optional: ownSyntax = false)

Properties

Name, Method As String
ScriptArgs As (String, Object)() = {("method", Method)}
Args As String()
Output As Object() = {}
StatusResponse As Boolean
CodeSource As String()
Code As String
UseOwnSyntax as Boolean
MyNamespaces As String() = {System.IO", "Newtonsoft.Json"} <-- To Add Namespaces just add here then LoadImports()

Methods

Script.Start() <-- Do Script
Preload() <-- Load .NET Standart_Libraries into Script
LoadImports(myStringArray) <-- Load Own Namespaces into Script via Name
Syntaxing() <-- Translate Custumized Scriptcode into Lua
Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on VB_Extensions:

Package Downloads
VCLua_Framework

Package Description

Gangaufsicht_Reloaded

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.2 370 1/28/2023
1.2.0 328 1/28/2023
1.1.9 339 1/3/2023
1.1.8 340 12/28/2022
1.1.7 330 12/23/2022
1.1.5.6 334 12/23/2022
1.1.5.5 337 12/23/2022
1.1.5.4 335 12/22/2022
1.1.5 342 12/21/2022
1.1.3 343 12/18/2022
1.1.2 338 12/10/2022
1.1.1 369 12/3/2022
1.1.0 367 11/28/2022
1.0.8 373 11/28/2022
1.0.6 370 11/28/2022
1.0.5 366 11/26/2022
1.0.4 378 11/26/2022
1.0.1 377 11/24/2022
1.0.0 374 11/22/2022