|
Corinna,
I tried what you suggested. Removed the reference to BostonDataStation, filed the script, selected the reference BostonDataStation using the Browse button. The DataStation now works in my VB6 script. How strange that the Browse Vs. clicking the box made the difference.
Thanks.
Roger Tack Sr. Programmer/Analyst St. Joseph Regional Medical Center 208-799-5721 -----Original Message-----
Roger, I am pasting in code from a test vb6 project, I have tested it and it works, the only thing I can think of is that perhaps you did not reference the DataStation.exe object in the project's references. Please double check this. If you are still having an error please display err.description and let me know what the actual error is. Please give me a call if you need assistance with this.
Dim D As New DataStation
Thanks, Corinna Robertson
Boston Software Systems The Essential Tool for Healthcare Integration 866-653-5105 x 8 603-598-5122
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Roger Tack Rich,
I have tried:
Dim D as New BostonDataStation and Dim D as BostonDataStation and Dim D as New DataStation and Dim D as DataStation
I have had these defined in the declarative section as well as the sub routine.
The error happens every time the only difference is how quickly.
Roger Tack Sr. Programmer/Analyst St. Joseph Regional Medical Center 208-799-5721 -----Original Message-----
Try:
Dim D as New DataStation
Rich McNeil Boston Software Systems 866 653 5105
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Roger Tack Has anyone been able to get the DataStation to work in VB 6.0 not VBA?
I’m getting the error: Expected user-defined type, not project.
I have the BostonDataStation checked in References I also have the statement Dim D as New BostonDataStation in the sub routine.
Any ideas?
Roger Tack Sr. Programmer/Analyst St. Joseph Regional Medical Center 208-799-5721
NOTE: This e-mail message may contain information that may be privileged, confidential, and exempt from disclosure. It is intended for use only by the person to whom it is addressed. If you have received this message in error, please do not forward or use this information in any way. Delete it immediately, and contact the sender as soon as possible by the reply option or by telephone at the telephone number listed (if available). Thank you. |
- [Talk] DataStation and VB 6 Roger Tack
- RE: [Talk] DataStation and VB 6 Rich McNeil
- RE: [Talk] DataStation and VB 6 Lew Hundley
- RE: [Talk] DataStation and VB 6 Roger Tack
- RE: [Talk] DataStation and VB 6 Corinna Robertson
- RE: [Talk] DataStation and VB 6 Mickey Sherbett
- RE: [Talk] DataStation and VB 6 Corinna Robertson
- Roger Tack
