PowerBASIC is a compiled language which produces small executables.  It's a 
commercial product, and you can get more information about it at 
www.powerbasic.com<http://www.powerbasic.com> .  One version creates console 
programs and another version produces GUI programs using Windows standard 
controls.  The language has a couple thousand keywords, so many operations that 
would require multiple lines of C are built into it.  Version 10 can act as a 
COM client or a COM server.  It runs only in Windows, and is designed to use 
Windows facilities wherever this makes sense.  You don't get an IDE as complex 
as what Microsoft provides.  Its developer forum has some 400,000 messages, 
including a lot of sample programs.  Jamal Mazrui has used PB in parts of a few 
of his projects.  One advantage of using PB to control Window-Eyes is that you 
could provide a small executable which obfuscated most of your app's code.  
Other than that, using it for scripting Window-Eyes is probably not worth the 
$200 cost of Version 10.  The $100 version, called Classic PowerBasic, can act 
as a COM client, which I think would be enough for scripting Window-Eyes.

Lloyd Rasmussen, Senior Project Engineer
National Library Service for the Blind and Physically Handicapped
Library of Congress   202-707-0535
http://www.loc.gov/nls
The preceding opinions are my own and do not necessarily reflect those of the 
Library of Congress, NLS.


From: RicksPlace [mailto:[email protected]]
Sent: Friday, April 13, 2012 6:51 AM
To: [email protected]
Subject: Re: WE And Microsoft Development Environments

Hi Kate And Bruce:
If I called it PowerBasic I was having a brain f...
The scripting language that has access to the .net resources is called 
PowerShell.
I am not sure if PowerBasic has the necessary hooks to handle something as 
complex as a com interface - it might.
Kate, if PowerShell was somehow associated with the WE Scripting Engine like 
VBS then it would solve the problem of interacting with the .net framework if I 
read it correctly.
Anyway, I am mucking about with vb.net again as a scripting language after 
Aaron's sample C# code.
I would use C# but I hate curly Braces and a few other features of that 
language; So, I am trying to convert Aaron's code into Vb.net.
VB.net handles Events a little diferently (syntactically) from C#.
I will have to either use static or dynamic handlers  and I'm not sure which 
will work best. Aaron uses what appears to be a Dynamic Handler approach. I 
think that implies late binding and may be required for the callbacks to work 
correctly - especially if running under a secondary process.
But, I'm not sure and have found examples, my old code for one, where early 
binding using the With Events clause and the Handles Keyword work with com 
interfaces under Windows XP so I'll test both methods and post up the results.
You might muck with PowerShell since you will likely end up using it if you are 
going to do allot of work with system Management Tools or servers to automate 
management processes.
Ask your instructor if that is the language of choice for System or Server 
Administrators.
If so this might be a good time to muck with it some before taking a class in 
it.
If not, skip it and you can easily use VBS or, if I get lucky, VB.net or C#.net 
to create WindowEyes Apps.
Rick USA

Rick USA
----- Original Message -----
From: Katherine Moss<mailto:[email protected]>
To: [email protected]<mailto:[email protected]>
Sent: Thursday, April 12, 2012 10:07 PM
Subject: RE: WE And Microsoft Development Environments

Oh.  Jees.  Okay then.  Looks like I'm not even going there LOL.  But I'm 
rather confused as to what that has to do with the issue at hand with WE 
scripting via .NET?

From: BT [mailto:[email protected]]<mailto:[mailto:[email protected]]>
Sent: Thursday, April 12, 2012 8:49 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: WE And Microsoft Development Environments


Hi Kate,
    I think before you go further on that, look at this and before even 
attempting Power Basic.
        Bruce
http://www.vbforums.com/showthread.php?t=632684

Sent: Thursday, April 12, 2012 7:25 PM
Subject: RE: WE And Microsoft Development Environments

Thanks guys.  And Power Basic?  I don't even know what that is LOL.

From: BT [mailto:[email protected]]<mailto:[mailto:[email protected]]>
Sent: Thursday, April 12, 2012 7:02 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: WE And Microsoft Development Environments

Hi Kate,
    I attempted to send this yesterday and for some reason an error email came 
back saying message to large and Rick has also replied since then.
Here is what I wrote and never got posted:
Kate,

    Not that WE has trouble, Microsoft is a moving target , hard to hit, and 
catch
up is the name of the game.
    All languages have issues, especially the new versions. Microsoft just likes
changing the rules purposely each time they come up with new stuff. But in cases
like ME, SQL Server 2008, and Vista and such Windows just writes bad stuff!
    So, just keep on doing what you are doing and remember the pitfalls...
        Bruce
Sent: Wednesday, April 11, 2012 8:57 PM
Subject:
 RE: WE And Microsoft Development Environments
So that I understand, are you saying that WE has issues supporting .NET 
controls?

Reply via email to