XML – SetAttribute can cause Navision to crash

Automations, XML No Comments

There is an error in the XML DOM automation which can cause Navision to crash. This looks like a kind of memory leak and will therefore often occur in automated/scheduled jobs.

The error occurs when using setAttribute directly on the XML Dom Element. To prevent a crash, use a function to set the Attribute.
Read the rest of this entry »

How to listen for a Port in Navision

Automations No Comments

Have you ever needed to make Web requests to Navision? Often you then would be using either NAS or a 3′rd part product to handle these requests. Why not build your own handler ;-)

All you have to do is take advantage of the automations “Navision Communication Component version 2″ and “‘Navision Socket Bus Adapter”.
Read the rest of this entry »

Is an application already running?

Automations No Comments

Sometimes you need to start applications from Navision. If an application already is running – you can use sendkeys as described previous to activate it, and thereby you don’t want to start it again. Read the rest of this entry »

MD5 encryption in Navision

Automations 2 Comments

Message-Digest algorithm 5 (MD5) encryption is a widely used cryptographic hash function. It is often used to encrypt passwords.

Notice – this is a one way only encryption method.
Read the rest of this entry »

Timer & Codeunits

Automations 1 Comment

Most of you properly already know the Timer functionality that exists on Navision Forms. Have you ever thought of using it on Codeunits? Some will say that this is not possible, because the Timer property does not exists. Well – it is possible to use timers on Codeunits thanks to Automations and their WithEvent property.
Read the rest of this entry »

ADORecordSet

ADO, Automations No Comments

Hi !

This is a detailed description for the used ADORecordSet command mentioned in the articles Stored Procedures and Navision and ADO in Navision.

ADORecordSet

The ADO RecordSet is defined by the automation ‘Microsoft ActiveX Data Objects Recordset 2.8 Library’.Recordset or by ‘Microsoft ActiveX Data Objects 2.8 Library’.Recordset

It is used to hold a set of records from a from a database table or a defined query. The Recordset object contains rows and columns (fields).
Read the rest of this entry »

Icons by N.Design Studio. Designed By Ben Swift and Customized by Ingrid Byllemos. Powered by WordPress
Entries RSS Comments RSS Log in