ActiveX control in Visual Studio

ActiveX control in Visual Studio

Anonymous
Not applicable
552 Views
1 Reply
Message 1 of 2

ActiveX control in Visual Studio

Anonymous
Not applicable

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

0 Likes
553 Views
1 Reply
Reply (1)
Message 2 of 2

xiaodong_liang
Autodesk Support
Autodesk Support

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

0 Likes