Skip to Content
Jul 21, 2005 at 10:58 AM

Missing connection string


Hi to all.

It's happening a strange thing on some my addons.

Today, the addons developed in VB.NET seems that B1 doesn't pass the connection string by command parameter .Infact the statements with Args(0) and System.Environment.GetCommandLineArgs.GetValue(1) throw an out of range exception.

Public Sub Main(ByVal Args() As String)

Dim oCatchingEvents As CatchingEvents = New CatchingEvents(Args(0), IDENTIFIER_STRING)

Dim oCatchingEvents As CatchingEvents = New CatchingEvents(System.Environment.GetCommandLineArgs.GetValue(1), IDENTIFIER_STRING)

End Sub

If I try some VB6 addons, these seems to work - I use the Command statement.

Please, what happen!!!

Can be a license problem?

Ciao. Nicola