Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/ActiveX/IDE/Import ActiveX Control/Type Library    [ Add a report in this area ]  
Report #:  52398   Status: Closed
On Vista Microsoft Script Control ActiveX component cannot be imported
Project:  Delphi Build #:  11.0.2804.9245
Version:    11.0 Submitted By:   Alan Clark
Report Type:  Basic functionality failure Date Reported:  9/22/2007 11:38:52 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   255490
Resolution: Fixed (Resolution Comments) Resolved in Build: :
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
If you try to import this component, it wll result in an Error loading type library/DLL

This also happens under Delphi 7.
Steps to Reproduce:
0. Windows Vista

1. Select Component/Import Component

2. Select Import ActiveX Control as the component type

3. Select Microsoft Script Control 1.0

4. Click Next

This will result in Error loading type library/DLL.
Workarounds
In the "Import Component" dialog click the "Add" button and browse to and add C:\WINDOWS\System32\msscript.ocx and use this one to import, not the pre-existing one. The pre-exsiting ocx name in the list has double-quotes wrapped around the ocx FileName which seems to prevent loading.
Attachment
None
Comments

None

Server Response from: ETNACODE01