Updating Scripts into the new VBA Script Shell To place your scripts in the new VBA script shell, you basically export your scripts to a file and import the file into the new shell. Here's a more detailed description:
1. Install Boston WorkStation 6.5 from our Web Site if you haven't already. 2. Run the WorkStation and load your existing script file. 3. Export the Scripts module (view your script in VBA and click File...Export File...and Save it as Scripts.bas) 4. In the WorkStation, open a new script. 5. Remove its Scripts module (right click... Remove Scripts... and don't export it when asked). 6. Import the existing Scripts.bas file into the script (File... Import... Scripts.bas). 7. Save the script file. Rich McNeil Boston Software Systems 866 653 5105 www.bostonworkstation.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shirley Hammack Sent: Thursday, July 10, 2003 9:17 AM To: [EMAIL PROTECTED] Subject: RE: [Talk] Something to pass on to you all... I am interested and totally unsure how to. Shirley Hammack IS Financial Analyst Jackson County Memorial Hospital [EMAIL PROTECTED] (580) 482-4781 x2554 -----Original Message----- From: Rich McNeil [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 11:04 PM To: [EMAIL PROTECTED] Subject: RE: [Talk] Something to pass on to you all... Just to add on to Lew's point...to take advantage of new features in the current release, about a month old, requires that you update the VBA shell your old script resides in. Typically you'd do this by exporting your script module from the existing script and importing into the new shell. Let us know if you're interested in the new features (script scheduler, WorkStation on the taskbar, auto-run and -shutdown), but are unsure how update the VBA shell. Rich McNeil Boston Software Systems 866 653 5105 www.bostonworkstation.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lew Hundley Sent: Wednesday, July 09, 2003 5:48 PM To: BostonWorkStation Talk Subject: [Talk] Something to pass on to you all... (Win2000, BWS 6.5 rev 118, VBA, working with Meditech Magic 4.9, Meditech NUI Workstation and HSS WinStrat ver 0304 applications) Actually, two things. First, I have been trying for quite a while to get my BWS runtime window to minimize so that the user doesn't have to be looking at something they don't have to, and maybe messing with it. This can be done with the following line of code just after your main procedure (start up, or what ever you call it). Taskbar = true Easy enough, but I kept getting compile errors when I tried to run this. Which brings us to... Second, be sure you have BostonWorkStationVBA checked in your references (Tools|References). Somehow, mine was unchecked. I have sent off an email to Corinna (who has helped me to track this down; tip o' de hat to you lady!) to see if it is checked off by default when BWS is installed. If not, I believe it either should be or somewhere in the setup the user needs to be told to do so. Hope someone out there finds this useful. If nothing else, it will be in the archives so that if someone searches for these issues, they will find it. BTW, I have been meaning to send out an email suggesting that the Talk participants, when they have an issue, preface the text with a line similar to what I have as my first line in this message. I have noticed that a few of the last questions became easier to answer after information like this was revealed. It would save us a few emails and keystrokes if it needs to be determined later on. (Rich, Sara; if there is more that would help pin down an issue, feel free to offer a counter suggestion or add to mine). TKs Lew Hundley Information Specialist - Programmer Silverton Hospital Silverton Oregon 503.873.1657 [EMAIL PROTECTED]
