Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
ReferenceList on C# missing
sp_NewPost Add Reply sp_NewTopic Add Topic
July 28, 2021
10:20 am
Lim
Guest
Guests

Noted with thanks

Best Regards,
Lim

July 28, 2021
9:50 am
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Lim,

This works the same as for a C# script, except that the comment indicator for VB is a single quote character. For VB the same reference list would be:

' AddReference System.dll
' AddReference System.Xml.dll
' AddReference System.Configuration.dll
' AddReference C:\Diafaan SMS Server\Infoware.STX.Client.dll

Regards, Henk

July 28, 2021
3:37 am
Lim
Guest
Guests

How to add reference for VB Script?

November 24, 2016
6:30 pm
Luis Villar
Guest
Guests

Thank you,

works just as expected, and yes this makes it easier to exchange scripts.

Luis Villar

November 24, 2016
5:17 pm
Henk Helmantel
Admin
Forum Posts: 1488
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Luis,

You can put it in the comment section at the top of the script with the 'AddReference' keyword. For a C# script with your example references you have to add the following lines to the script:

// AddReference System.dll
// AddReference System.Xml.dll
// AddReference System.Configuration.dll
// AddReference C:\Diafaan SMS Server\Infoware.STX.Client.dll

This was changed in order to make it easier to exchange scripts between different installations of Diafaan SMS Server.

Regards, Henk

November 24, 2016
4:47 pm
Luis Villar
Guest
Guests

Hi Henk,
.
I have upgraded from 2.1.5.1 to version 4.0.0.0 (64 bit) when I created a Scripting gateway in the advance seccion there was a ReferenceList option where I could put dll's that I could use in the script for example:

System.dll
System.Xml.dll
System.Configuration.dll
C:\Diafaan SMS Server\Infoware.STX.Client.dll

In the new version I dont see the option. where do I put this information now.

Thank you

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 672

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1141

Posts: 3899

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1488