Ask a Question related to ASP Components, Design and Development.
-
fniles #1
Object doesn't support this property or method
I created a CAB file for a 3rd party control (StockChartX) it using
CABARC.exe that comes from Microsoft SDK.
In the CAB file I included the StockChartX.ocx and StockChartX.INF.
Then, I signed the CAB file using Verisign. I also created the LPK file for
it (using LKPTool.exe).
On my web page, I include the CAB file, and when I bring up that web page,
it asks to download it, and I download it.
After the control is downloaded, I got an error "Object doesn't support this
property or method : StockChartX1.ChartBackColor".
I have a VB application that also uses the control, and after I download the
StockChartX control from the web page, I can use that control on my VB
application, just not on the web page.
When I install the ACtiveX control from the 3rd party CD and use it on my
website, instead of using the downloaded .OCX file, besides getting the
mesage "an ActiveX control on this page might be unsafe to interact with
other parts of the page, I do not get the error "Object doesn't support this
property or method".
Do you have any suggestion why the control does not work on the website ?
Here is my ASP page:
<OBJECT CLASSID="clsid:5220cb21-c88d-11cf-b347-00aa00a28331"
id="Microsoft_Licensed_Class_Manager_1_0"1 VIEWASTEXT><PARAM
NAME="LPKPath" VALUE="StockChartx.lpk"></OBJECT>
<OBJECT id="stockchartx1"
classid="clsid:89D9AAAF-DC4F-4F72-ACF3-D2EDB8644A44" width = 1000 height =
500
codeBase="stockchartx.cab#version=5,5,5,1"
VIEWASTEXT>
</OBJECT>
</P>
<script language="vbscript">
StockChartX1.ChartBackColor = 0 'RGB(0, 0, 0) --> error here
:
</script>
This is the StockChartX.INF file:
;INF file for StockChartX.ocx
;DestDir can be 10 for Windows directory, 11 for Windows\System(32)
directory, or left blank for the Occache directory.
[version]
signature="$CHICAGO$"
AdvancedINF=2.0
[DefaultInstall]
CopyFiles=install.files
RegisterOCXs=RegisterFiles
AddReg=AddToRegistry
[RInstallApplicationFiles]
CopyFiles=install.files
RegisterOCXs=RegisterFiles
AddReg=AddToRegistry
[DestinationDirs]
install.files=11
[SourceDisksNames]
1=%DiskName%,StockChartX.CAB,1
[Add.Code]
StockChartX.ocx=StockChartX.ocx
objsafe.tlb=objsafe.tlb
msvbvm60.dll=msvbvm60.dll
OLEAUT32.DLL=OLEAUT32.DLL
OLEPRO32.DLL=OLEPRO32.DLL
ASYCFILT.DLL=ASYCFILT.DLL
STDOLE2.TLB=STDOLE2.TLB
COMCAT.DLL=COMCAT.DLL
[install.files]
StockChartX.ocx=StockChartX.ocx
objsafe.tlb=objsafe.tlb
[SourceDisksFiles]
StockChartX.ocx=1
objsafe.tlb=1
[StockChartX.ocx]
file-win32-x86=thiscab
RegisterServer=yes
clsid={89D9AAAF-DC4F-4F72-ACF3-D2EDB8644A44}
DestDir=11
FileVersion=5,5,5,1
[objsafe.tlb]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=0,0,0,0
[msvbvm60.dll]
hook=msvbvm60.cab_Installer
FileVersion=6,0,96,90
[msvbvm60.cab_Installer]
file-win32-x86=vbrun60.cab
run=%EXTRACT_DIR%\VBRun60.exe
[OLEAUT32.DLL]
hook=OLEAUT32.cab_Installer
FileVersion=2,40,4275,1
[OLEAUT32.cab_Installer]
file-win32-x86=vbrun60.cab
run=%EXTRACT_DIR%\VBRun60.exe
[OLEPRO32.DLL]
hook=OLEPRO32.cab_Installer
FileVersion=5,0,4275,1
[OLEPRO32.cab_Installer]
file-win32-x86=vbrun60.cab
run=%EXTRACT_DIR%\VBRun60.exe
[ASYCFILT.DLL]
hook=ASYCFILT.cab_Installer
FileVersion=2,40,4275,1
[ASYCFILT.cab_Installer]
file-win32-x86=vbrun60.cab
run=%EXTRACT_DIR%\VBRun60.exe
[STDOLE2.TLB]
hook=STDOLE2.cab_Installer
FileVersion=2,40,4275,1
[STDOLE2.cab_Installer]
file-win32-x86=vbrun60.cab
run=%EXTRACT_DIR%\VBRun60.exe
[COMCAT.DLL]
hook=COMCAT.cab_Installer
FileVersion=4,71,1460,1
[COMCAT.cab_Installer]
file-win32-x86=vbrun60.cab
run=%EXTRACT_DIR%\VBRun60.exe
[Setup Hooks]
AddToRegHook=AddToRegHook
[AddToRegHook]
InfSection=DefaultInstall2
[DefaultInstall2]
AddReg=AddToRegistry
[AddToRegistry]
HKLM,"SOFTWARE\Classes\CLSID\{89D9AAAF-DC4F-4F72-ACF3-D2EDB8644A44}\Implemented
Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}"
HKLM,"SOFTWARE\Classes\CLSID\{89D9AAAF-DC4F-4F72-ACF3-D2EDB8644A44}\Implemented
Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}"
HKCR,"Licenses",,,"Licensing: Copying the keys may be a violation of
established copyrights."
[RegisterFiles]
%11%\StockChartX.ocx
Thank you.
fniles Guest
-
#29234 [Com]: empty($object->property) incorrect when property has access overloaded (__get)
ID: 29234 Comment by: phpbugs at thunder-2000 dot com Reported By: chrissy at codegoat dot com Status: No... -
Programmatically detecting property changes and method calls to an given object
Hi, Given an object, I want to programmatically monitor it for any property changes and method calls. The object can be anything (component,... -
PHPOPENCHAT: he script tried to execute a method or access a property of an incomplete object.
Hi, I've installed and tested phpopenchat 3.0b2 in my development machine (Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6... -
#23599 [Opn->WFx]: Crash when using COM object property/method
ID: 23599 Updated by: iliaa@php.net Reported By: zstomp at yandex dot ru -Status: Open +Status: Wont... -
#23599 [Opn]: Crash when using COM object property/method
ID: 23599 User updated by: zstomp at yandex dot ru Reported By: zstomp at yandex dot ru Status: Open Bug Type: ...



Reply With Quote

