Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.
HI
I have already ActiveX control works without any problem, the buttons are all functions works good but when I load a model from the model cartepain visual studio I get the model not only I get the driver window (blackbackground NavisWorks) as I fix this?
thanks
Hi,
If a control is embedded to a web application (e.g. HTML) and try to open the model, sometimes to be aware:
1) Before 2012, the controls do not work with relative path if the HTML locates in client machine. It can work with absolute path. The workaround is to pop out a dialog to ask the user to select the file and return the absolute path to set Control.SRC. The problem is fixed with 2012 control.
2) No matter before or after 2012, the control works well with relative path if the HTML locates in server machine and the user accesses the HTML on client machine.
3) If you find the screen is black, that means the model is not found. You may probably hit the problem in 1). You could also press Shift, Ctrl, Alt and E together while focusing the control, in order to know the path (see attached screenshot)
Regards,
Xiaodong Liang
Developer Technical Services
Can't find what you're looking for? Ask the community or share your knowledge.