Hi Tyler.

You may also want to check that you have the same Object Library's selected on 
both systems.  Will have to use the VB editor to check reference Library's.


Brian Bennett
Affinity Health Systems
PBS Systems Analyst
PBS Technical Support Services
[email protected]
(920)628-9055
****************************************
For Report requests, please use
https://www.quickbase.com/db/bf76p7pcj?a=GenNewRecord

For Change Requests in Array Denial Management, please use
https://www.quickbase.com/db/bdx6gri6v?a=gennewrecord



________________________________
From: [email protected] [mailto:[email protected]]
Sent: Friday, June 08, 2012 2:01 PM
To: [email protected]
Subject: RE: [talkbws] Using BWS in other programming languages

Thanks for the quick reply Thom.

Does it need a specific license (runtime or developer)? This is being compiled 
on a machine that has a BWS dev license.

But when I try to run the compiled program on a machine that has a BWS runtime 
license, I get that 2nd error I had mentioned (... Unable to cast COM object 
...)

Regards,
Tyler

From: [email protected] [mailto:[email protected]]
Sent: Friday, June 08, 2012 2:52 PM
To: [email protected]
Subject: RE: [talkbws] Using BWS in other programming languages

Tyler,
Any PC that runs code that uses Boston WorkStation objects needs a license in 
order to run.
So you would need to install and license Boston WorkStation on those other PC's 
in order for your program to run.
Regards,
Thom

Thom C. Blackwell  VP, Technical Services
Boston Software Systems, Inc.
Phone: 866.653.5105 x807
Mobile: 508.423.8463
Fax: 508.319.3015
www.bostonsoftwaresystems.com<http://www.bostonsoftwaresystems.com/>


The information contained in this message may be confidential and legally 
protected under applicable law. The message is intended solely for the 
addressee(s). If you are not the intended recipient, you are hereby notified 
that any use, forwarding, dissemination, or reproduction of this message is 
strictly prohibited and may be unlawful. If you are not the intended recipient, 
please contact the sender by return e-mail and destroy all copies of the 
original message.

From: [email protected]<mailto:[email protected]> [mailto:[email protected]]
Sent: Friday, June 08, 2012 2:49 PM
To: Talk
Subject: [talkbws] Using BWS in other programming languages

Hello everybody,

Has anybody used BWS in a different programming language? BWS has a few 
documents on it in their Knowledge Base and I have BWS working in C#. I'm able 
to compile and run a C# program that interfaces with BWS to automate Meditech 
Magic.

But I'm having difficulty publishing this C# project to other PCs. I'm unsure 
if BWS needs to be fully installed on any machine that this C# program would 
run on. If I try running the program on a machine that doesn't have BWS, I get 
this error:
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM 
class factory for component with CLSID {B3C8BD01-99F3-42A8-B07F-7D94E68053D5} 
failed due to the following error: 80040154 Class not registered (Exception 
from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

But I've also tried running it on another machine that has BWS (runtime 
license) installed and I get this error:
System.InvalidCastException: Unable to cast COM object of type 
'System.__ComObject' to interface type 'BostonWorkStation70.BostonWorkStation'. 
This operation failed because the QueryInterface call on the COM component for 
the interface with IID '{8C8144EF-ADB7-48FD-A5BB-6E55B8382B3E}' failed due to 
the following error: No such interface supported (Exception from HRESULT: 
0x80004002 (E_NOINTERFACE)).

Just wondering if anybody has experience with this and had any tips. The code 
(which compiles fine) I'm using is something like:
using BostonWorkStation70;
...
BostonWorkStation bwsi;
...
bwsi = new BostonWorkStation();
...

Regards,
Tyler Nielson
Applications Analyst
I.S. Department, Saratoga Hospital



---  To post a message to this list, send mail to: 
[email protected]<mailto:[email protected]>    You are currently subscribed as: 
[email protected]<mailto:[email protected]>    Unsubscribe in 
the customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx





This e-mail communication and any attachments may contain

confidential and privileged information for the use of the

designated recipients named above.

If you are not the intended recipient, you are hereby notified

that you have received this communication in error and that

any review, disclosure, dissemination, distribution or copying

of it or its contents is prohibited. If you have received this

communication in error, please notify Saratoga Hospital

immediately by e-mail at 
[email protected]<mailto:[email protected]> and

destroy all copies of this communication and any attachments.

---  To post a message to this list, send mail to: 
[email protected]<mailto:[email protected]>    You are currently subscribed as: 
[email protected]<mailto:[email protected]>    Unsubscribe in 
the customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx

---  To post a message to this list, send mail to: [email protected]    You are 
currently subscribed as: [email protected]    Unsubscribe in the 
customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx


This e-mail communication and any attachments may contain
confidential and privileged information for the use of the
designated recipients named above.
If you are not the intended recipient, you are hereby notified
that you have received this communication in error and that
any review, disclosure, dissemination, distribution or copying
of it or its contents is prohibited. If you have received this
communication in error, please notify Saratoga Hospital
immediately by e-mail at [email protected] and
destroy all copies of this communication and any attachments.


________________________________
CONFIDENTIALITY NOTICE: This e-mail communication and any attachments may 
contain confidential and privileged information for the use of the designated 
recipient(s) named above. If you are not the intended recipient, you are hereby 
notified that you have received this communication in error and that any 
review, disclosure, dissemination, distribution or copying of it or its 
contents is prohibited. If you have received this communication in error, 
please notify the sender at the electronic mail address noted above and destroy 
all copies of this communication and any attachments. Thank you for your 
cooperation.

---  To post a message to this list, send mail to: [email protected]    You are 
currently subscribed as: [email protected]    Unsubscribe in the 
customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx   

Reply via email to