I'm not sure if VBScript can call dlls, but I know .NET and unmanaged
code never got along. The question is if Liblouis is registered with
Com.

On 8/1/13, David <[email protected]> wrote:
> Am I wrong, or is it so that you cannot call a DLL directly from a VBScript?
>
> Thought I saw a note of that kind, on the net awhile ago. In such a case,
> the LibLouis - that you mention, and which is totally new to me - may not
> work, should you be doing your coding in VBScript. Hopefully I am wrong, and
>
> would greatly appreciate any correction.
>
>
> ----- Original Message -----
> From: "Kevin Morales" <[email protected]>
> To: <[email protected]>
> Sent: Friday, August 02, 2013 1:18 AM
> Subject: Re: Question about string parsing.
>
>
>> You know, I have seen Liblouis, but there is one problem: .NET
>> developers happen to have little to work with for accessibility, and I
>> wanted to contribute something to the platform. I have actually
>> invented a new way to write tables, so anyone can do so without
>> learning anotherlanguage.
>>
>> On 8/1/13, Sean Farrow <[email protected]> wrote:
>>> Hi Kevin,
>>>
>>> Have you thought about using something like LibLouis to do your
>>> translation
>>> and calling the dll from c#?
>>> Or even calling the dll from vbscript if the parameters to the
>>> function(s)
>>> allow.
>>> Cheers
>>> Sean.
>>>
>>>
>>> -----Original Message-----
>>> From: Kevin Morales [mailto:[email protected]]
>>> Sent: 01 August 2013 21:54
>>> To: [email protected]
>>> Subject: Question about string parsing.
>>>
>>>     Dear GW Scripters,
>>>
>>>   I am working on a component that requires Braille translation.
>>> I am trying to write an algorythm in C# that will add capital signs
>>> appropriately.
>>> I would like the acronym VIP to be translated as ,,VIP, or the word
>>> myID to my,,ID.
>>> Can anybody assist me as to how to do this?
>>> I will supply my code so far:
>>>
>>>
>>>         private static void applyCapitalizationRules(StringBuilder text)
>>>         { // Begin applyCapitalizationRules
>>>
>>>             int capitalsCounter = 0;
>>> // Note: Regex.Split(text.ToString(), @"\W+")
>>> // This line means that We'll get an array with just the words in the
>>> supplied parameter of the method.
>>>             foreach ( string word in Regex.Split(text.ToString(),
>>> @"\W+") )
>>>             { // Begin foreach
>>>                 if ( word == word.ToUpper() )
>>>                 { // Begin if
>>>                     text.Capacity += 2;
>>>                     text.Replace(word, string.Format(","+word);
>>>                 } // End if
>>>                 else
>>>                 { // Begin else
>>>                 for (int i = 0; i <= word.Length; i++)
>>>                 { // Begin for
>>>                     // Not sure of what to do next. :-)
>>>                 } // End for
>>>                 } // End else
>>>                 } // En foreach
>>>         } // End applyCapitalizationRules
>>> Thanks a lot in advance,
>>> Kevin
>>>
>>>
>>
>>
>
>

Reply via email to