I have installed Naviswork ActiveX control and integrated in my web application using <object> tag. While running my application, it installs and allows to run ActiveX control in my application. But still the Naviswork viewer cannot display the naviswork files in my application. Rather it shows a black screen only. Kindly need your help. Suggestions please..
Thanks,
Baki.
hi,
Basically, the black screen means:
1) The control is installed
2) The model cannot be found.
As I know, there is an issue with ActiveX control in 2011: the relative path cannot be found when you open the html of client machine. i.e. the model locates on client. (note: the relative path can work if you open an html of server, i.e. the model locates on server ). The issue has been fixed in 2012. So:
1) Try to switch to absolute path to see if it helps.
2) If you need to open html of client machine and do not like to use absolute path, the workaround is to pop out a file dialog to ask user to select the file. Thus the code can get the absolute path.
3) if possible, try it with ActiveX of 2012
Regards,
Xiaodong Liang
Developer Technical Services