Hi i have to import some info from Doors in a Word file using a VBA application. I tried two way and i get to wrong behaviours. First solution (runFile): VBA code:
DXL Code:
In this way i get "OK" as result ("OK" is not the object text), if i try other attributes sometime it works but i always get this error in doors:
-R-E- DXL: <C:\Users\Admin\Documents\Altran\DXL Development\Common Scripts\Useful code\provaDoors.dxl:10> null Object parameter was passed into argument position 1 Other strange behavour i get that it is that i try to print attributeX and it works. I change the dxl script and i try to prin attribute Y (i save) and it print me still the attribute X until i restart Doors again! Second solution (runstr): VBA code:
This solution block doors and do nothing. Thanks for the help bungle_77 - Tue May 13 06:13:16 EDT 2014 |
Re: get info from doors from VBA application I'm not good at OLE automation. But..
-Louie |
Re: get info from doors from VBA application llandale - Tue May 13 09:13:57 EDT 2014 I'm not good at OLE automation. But..
-Louie thanks... my code is just silly code to make a try. The steps 2 and 3 you highlighted makes sense and i was already conscious about them. I think step 1 and 4 can be more important for me. I will make some test and let you know |