I’ve been recently tasked with introducing a company Intranet into the site
where I work. Although I’m only a novice at this game I fully appreciate the
benefits of and am a strong believer in the use of componentware. As such
I decided to utilise the ActiveX functionality of IEx. The company utilises
an IBM AS400 and as such every PC has IBM’s client access installed on them,
Client Access supplies ODBC Drivers to allow access to AS400 Data where it
be DB2 or AS400 Files.
I thought I would introduce data presentation in the form of graphs and duly
purchased a copy of Teemech’s Teechart ActiveX control.
In order to facilitate the use of the Teechart control, which supports ODBC
I though I would write a small control of my own that would allow me to
configure ODBC data sources via HTML, therefore allowing me to ensure the
data source was configured before using the chart control.
I duly wrote the control, with Visual Basic 6 (Enterprise Edition) I used
RDO 2.0 to create the data source. My development machine is a Dell
Dimension with an OEM release NT4.0 Workstation with Service pack 3
installed and my development environment is Visual Studio 6 with Service
pack 2 installed.
Everything works fine on my machine, but surprise, surprise once I upload
the VB6 generated cab file and try connecting a Windows95 machine with IE4
the following occurs:
1) The system appears to download the relevant cab file and extract the DLL
files (I’m not sure if the .inf file causes these DLL’s to register with the
system and where they are installed i.e. Windows/System or
Windows/Downloaded Program Files).
2) IE4 pops up a message stating that due to the current settings IE4 can’t
run scripts on the page even though IE4 is using the local intranet zone and
the security for that zone is set to low. If I remove my ActiveX control
leaving only the chart control and any required scripts the HTML page
behaves correctly.
Is there any way of ensuring that machines that logon to the site can
download the required DLL’s and register them and why does the VBScripting
component have problems with my ActiveX control.
Oh yes one last thing, can I use RDO2.0 from with in VB Scripts. I have the
enterprise edition of Visual Studio which I believe entitles me to
distribute RDO components across my company, but , I think I’m right in
thinking I need to use the Licence manager component to create an instance
of RDO2.0 and I can’t find reference to the licence number in the
documentation.
Any help would be greatly appreciated
Many thanks
Jim Holmes