Thanks for reporting the problem, Vic. I did try installing the script via Install Packages myself, and it ran fine. As another message of mine indicated, however, it occurred to me that I should confirm that I did not need to distribute the .NET assemblies WindowEyes.dll and Scripting.dll. I wonder if that is the source of your problem. Can you try copying those files into your user profile folder? They are part of the VBNET project that GW posted on the web (I don't have the exact URL handy).
The problem could also occur if you do not have the .NET Framework installed, though that would surprise me. Jamal On Fri, 17 Jul 2009, Vic Beckley wrote: > Date: Fri, 17 Jul 2009 01:29:21 -0400 > From: Vic Beckley <[email protected]> > Reply-To: [email protected] > To: [email protected] > Subject: RE: Fruit basket sample using Visual Basic .NET > > Jamal, > > Whenever I run the FruitBasket.exe file, either by starting the script or > from Windows Explorer, I get the following error: > > [Window Title] > Microsoft Windows > > [Main Instruction] > FruitBasket.exe has stopped working > > [Content] > Windows is checking for a solution to the problem... > > [Cancel] > > And then: > > [Window Title] > Microsoft Windows > > [Main Instruction] > Do you want to send more information about the problem? > > [Content] > Additional details about what went wrong can help Microsoft create a > solution. > > [V] View Details [Send information] [Cancel] > > Any ideas why this would happen? This is under Vista SP1. > > Vic > > > -----Original Message----- > From: Jamal Mazrui [mailto:[email protected]] > Sent: Tuesday, July 14, 2009 5:15 PM > To: [email protected] > Subject: Fruit basket sample using Visual Basic .NET > > This package still contains the original VBScript version, but now it also > has a VBNET version. The included source code, FruitBasket.vb, is > commented to help others learn how to develop Window-Eyes scripts with > this popular language. Executables may be created either with the free, > Express Edition of Visual Studio, or with the command-line compiler and a > text editor (the approach I used). More info is below. > > Jamal > > This is a simple but nontrivial GUI program using the Window-Eyes > scripting capability. Two language versions are included: VBScript and > Visual Basic .NET. The latter is a compiled executable with a bit more > functionality. It is installed as a global script attached to > Control-Shift-F8. > > This program is designed to meet the specifications of a fruit > basket program at > http://FruitBasket.QuantumMyst.com > > A dialog has several controls that interact at runtime. An editbox is for > adding a fruit, e.g., apple. A listbox serves as a basket for storing the > fruit. Buttons are for adding a fruit (the default), deleting one, or > closing the dialog. > > The fruit basket project has been a means for blind programmers to > illustrate how a GUI program is developed in a particular language. The > same design specification enables the programs to be compared, both in > terms of the code needed, e.g., complexity and length, and in terms of the > resulting behavior, e.g., accessibility and performance. > > Source code of this package is in the files FruitBasket.vbs and > FruitBasket.vb. The VBNET executable may be compiled as follows. Install > the .NET 2.0 SDK from microsoft.com. Ensure that the folder containing > the Visual Basic command-line compiler, vbc.exe, is on the Windows search > path. Then run the batch file, CompileFruitBasket.bat. >
