[nfbcs] Help with Jaws API for vs.net project

charleseblack at att.net charleseblack at att.net
Wed Sep 5 23:42:13 UTC 2018


Glen and others:


Visual Studio is a good program. It allows for many different things to be
done by the blind. Among those things are developing asp.net pages, layout
pages and interfacing with JSON classes. 

I do have a couple of questions however. When I place a SQL Data Source
object on a website or form, I need to easily access the setup for things
like the connection string and table setups. Is there a way this can be done
without having to guess the location of the elements on the form?

Secondly, my job is exploring SSRS. I am aware that Visual Studio can be
used to develop these types of reports. Does anyone have a source for
information as it relates to SSRS from a blind perspective?

Thanks for all you guys do!
-----Original Message-----
From: nfbcs <nfbcs-bounces at nfbnet.org> On Behalf Of Glen Gordon via nfbcs
Sent: Wednesday, September 5, 2018 4:05 PM
To: NFB in Computer Science Mailing List <nfbcs at nfbnet.org>; Doug Lee
<dgl at dlee.org>; Timothy Breitenfeldt <timothyjb310 at gmail.com>
Cc: Glen Gordon <GGordon at VFOGroup.com>
Subject: Re: [nfbcs] Help with Jaws API for Java project

Tim,

I  suggest that you consider using Com4J.
I've not used it but have looked at its source code which is well written.
There's a tutorial at
https://github.com/kohsuke/com4j/blob/master/src/site/markdown/tutorial.md.

--Glen

P.S. There are two versions of FSApi: one for 32-bit and the other for
64-bit processes. 

Glen Gordon
VFO | Vice President & Chief Technology Officer
11800 31st Court North, St. Petersburg, FL 33716 T 727-299-6230
ggordon at vfo-group.com www.vfo-group.com


-----Original Message-----
From: nfbcs <nfbcs-bounces at nfbnet.org> On Behalf Of Timothy Breitenfeldt via
nfbcs
Sent: Wednesday, September 5, 2018 2:36 PM
To: Doug Lee <dgl at dlee.org>; Timothy Breitenfeldt <timothyjb310 at gmail.com>;
NFB in Computer Science Mailing List <nfbcs at nfbnet.org>
Cc: Timothy Breitenfeldt <timothyjb310 at gmail.com>
Subject: Re: [nfbcs] Help with Jaws API for Java project

So, I am having a really tough time getting java to work with ms com
objects. A lot of the documentation is old. Does anyone know how to work
with com objects in java, or can someone shed some light on my issues with
using the FSAPI.dll.

Also, thank you for the path to the dll , however , I did see that one,
there is also anFSAPI.dll in :
C:\Program Files (x86)\Freedom Scientific\Shared\FSAPI\1.0

I am not sure if this is different or if this is the 32 -bit version.
I do need both the 32 and 64 bit dlls though.

TJ Breitenfeldt

On 9/5/18, Doug Lee <dgl at dlee.org> wrote:
> The FSAPI.dll file is in C:\Program Files\Freedom
> Scientific\Shared\FSAPI\1.0
>
> I don't know anything about doing COM from Java specifically.
>
> On Tue, Sep 04, 2018 at 10:33:34PM -0700, Timothy Breitenfeldt wrote:
> Thank you for the quick reply, , so I am not familiar with dealing 
> with com objects especially in java. After some research, it looks 
> like I need to first run the javatlb filename command to create the 
> type libraries that I can then import. Is this correct? do I need to 
> run that on the FSAPI.dll file?? if so, which one?
>
> TJ Breitenfeldt
>
>
> On 9/4/18, Doug Lee via nfbcs <nfbcs at nfbnet.org> wrote:
>> You should be able to do this via COM: CreateObject "FreedomSci.JAWSAPI"
>>
>> An interface specification for COM:
>>
>> dispinterface IJawsApi Member count 6
>>     function Disable as Bool
>>     function Enable(Bool vbNoDDIHooks) as Bool
>>     function RunFunction(BStr FunctionName) as Bool
>>         Tells JAWS to execute a function
>>     function RunScript(BStr ScriptName) as Bool
>>         Tells JAWS to execute a script
>>     function SayString(BStr StringToSpeak[, Bool bFlush = True]) as Bool
>>         Instructs JAWS to speak a particular string
>>     sub StopSpeech
>>
>> On Tue, Sep 04, 2018 at 09:47:37PM -0700, NFBCS mailing list wrote:
>> Hi , I am working on a java project similar to accessible _output2 
>> for python that will provide speech and braille output for various 
>> screenreaders. I have NVDA working great, now I am working on Jaws.
>> This is going to be a cross platform library.
>>
>> I was looking into the Jaws API,trying to locate the needed library 
>> and function calls, and I am having some difficulty. I was having a 
>> tough time finding information on the Jaws API, the only thing I 
>> could find was a post that was made in reply to someone else 
>> inquiring about this.
>>
>> https://www.freelists.org/post/jawsscripts/FW-FSAPIdll
>>
>> I will note that ,I was unable to figure out how to access jaws 
>> through the com ports, so I am accessing the function calls through 
>> the dll. .
>>
>> There was useful information at that link, but I am unable to get it 
>> working . My first problem is that I found several files named 
>> FSAPI.dll on my computer. I am not sure if there is a difference 
>> between them , if there is a 32-bit and 64-bit dll, or if they are 
>> all the same. I tried all of ones I could find and all of them said 
>> the function call SayString(String, boolean) could not be found.
>>
>> Exception in thread "main" java.lang.UnsatisfiedLinkError: Error 
>> looking up function 'SayString': The specified procedure could not be 
>> found.
>>
>> I can paste the full error if someone wants, but I am not sure if it 
>> is my java code, as much as it is my lack of information about the 
>> Jaws API. For completeness though, I am using the third party library 
>> jna-4.5.1.jar, which is a wrapper for the java native library for 
>> accessing low level libraries such as dlls.
>>
>> Does anyone have more information about the Jaws API, and how to make 
>> calls to it, so that I can pass client strings to Jaws for speech and 
>> braille?
>>
>> Thanks,
>>
>> TJ Breitenfeldtb
>>
>> _______________________________________________
>> nfbcs mailing list
>> nfbcs at nfbnet.org
>> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
>> To unsubscribe, change your list options or get your account info for
>> nfbcs:
>> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/dgl%40dlee.org
>>
>> --
>> Doug Lee                 dgl at dlee.org                http://www.dlee.org
>> Level Access             doug.lee at LevelAccess.com
>> http://www.LevelAccess.com
>> "The nice thing about standards is that there are so many of them to 
>> choose from." -- Andrew Tanenbaum
>>
>> _______________________________________________
>> nfbcs mailing list
>> nfbcs at nfbnet.org
>> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
>> To unsubscribe, change your list options or get your account info for
>> nfbcs:
>> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/timothyjb310%40gma
>> il.com
>>
>
> --
> Doug Lee                 dgl at dlee.org                http://www.dlee.org
> Level Access             doug.lee at LevelAccess.com
> http://www.LevelAccess.com
> "While they were saying among themselves it cannot be done, it was 
> done." --Helen Keller
>

_______________________________________________
nfbcs mailing list
nfbcs at nfbnet.org
http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
To unsubscribe, change your list options or get your account info for nfbcs:
http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/ggordon%40vfogroup.com

_______________________________________________
nfbcs mailing list
nfbcs at nfbnet.org
http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
To unsubscribe, change your list options or get your account info for nfbcs:
http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/charleseblack%40att.net





More information about the NFBCS mailing list