Programming

HomeProgramming
 
 
- Advertisement -
- Advertisement -
- Advertisement -

JAVA

HIBERNATE

VBSCRIPT

MAVEN

PROGRAMMING POSTS

How To Write Windows Environment Variables With VBScript

This is in continuation to the last post where we saw how to read windows environment variables using VBScript. As mentioned in the last post, we can use the following preferred methods to achieve this : Using the WSH Shell object Using WMI's Win32_Environment class In the below example...

How To Read Windows Environment Variables With VBScript

Reading an environment variable is simple. There are a couple of methods available to do this but the main preferred ones are the below two : Using the WSH Shell object Using WMI's Win32_Environment class In the below example we would be using the WSH Shell's Environment method. For 'envVarType',...

How To Load XML File into DOM Using MSXML

Microsoft XML Core Services (MSXML) provides two methods for loading XML documents into the Document Object Model (DOM) and one method and one property for serializing that object model back into an XML stream. The load and loadXML methods parse documents into a DOM. You can use the load method to load an XML file by...

Early Bound Vs Late Bound (Binding)

What is Binding Before we dive into 'Early' and 'Late' stuff, let us discover, what the 'Binding' itself means? In simple terms, the 'Binding' refers to the way a script or an application accesses a COM Automation object. This is manifested as the association of entities such as data, program, procedures...
- Advertisement -

Does VBScript Supports all COM Objects ?

Well the answer in one line is - No VBScript does not supports all COM Objects or Servers! VBScript works with only a subset of ‘Objects’ knows as ‘Automation Objects‘. As per the official literature, ‘All COM objects must support one or more interfaces, which are simply the avenues by which...

COM Components and Scripting Process

Although this article should not concern you at all as a 'script developer' as long as you are aware of creating a reference to 'Automation Objects' but for people with an appetite to look behind the scenes, it is quite recommended! Moreover it is always useful to know what,...

Interpreted Vs Compiled Languages

This is based on an excerpt from one of my favourite literature on VBScript and in fact, is quite relevant with respect to one of the earlier post - 'Fundamentals and Concepts' posted under VBS tutorials. Since we know that at some point, every language needs to be converted into machine-readable...

VBS Part 2 – Fundamentals and Concepts

Having gone through the Introductory part, it is time to look at some crucial fundamentals and concepts. This article is to refresh some of the key facts and features of VBScript. In the least, you should consider the following six points for developing a fundamental understanding of VBScript. Though we...
- Advertisement -

What is In-Proc and Out-Proc (COM) ?

The terms 'In-Proc' and 'Out-Proc' are to describe the kind of implementation of COM Servers. Before we begin, for those who are not quite 'COM' savvy, here is a brief preface. COM : The acronym COM stands for 'Component Object Model' and it is the technology which provides a way for...

VBS Part 1 – Introduction and Background

At the upfront, this theoretical article might look boring to most of us but still, it is advisable to know about our scripting friend before we start interacting and dealing with it. This is to provide a brief background of VBS, its purpose, origin etc., and if we don't...

CODE GISTS

Concatenate Strings Using String.concat()

The String class has a method called concat. It accepts as parameter a String value and concatenates it with the current String. The following...

How To Create Maven Project Using Command Line

Maven project can be easily created using built-in plugins from the popular IDEs such as Eclipse and IntelliJ IDEA. However, in scenarios where you...

Concatenate Strings Using String.join()

Java 8 has added a static join method to the String class. This concatenates Strings using a delimiter. Performance wise, it is similar to...

Convert List to Array Using Stream without Param

Java 8 has added the Stream API that helps to easily perform bulk operations on Collections. A new method called stream() has been added...

POPULAR | TAGS

TOP | CATEGORIES