wordApp = Interaction.CreateObject("Word.Application")

wordApp = Interaction.CreateObject("Word.Application")

martinhoos
Advocate Advocate
887 Views
2 Replies
Message 1 of 3

wordApp = Interaction.CreateObject("Word.Application")

martinhoos
Advocate
Advocate

Hello all,

the code i have, creates a word file out off a part. The code runs well days before.

wordApp = Interaction.CreateObject("Word.Application")

  

Today it stopps with the following message:

System.Runtime.InteropServices.COMException (0x800A175D): Ausnahme von HRESULT: 0x800A175D

bei Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack)

bei LmiRuleScript.Main()

bei Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)

bei iLogic.RuleEvalContainer.ExecRuleEval(String execRule)

 

What is wrong with that line?

 

Hopefully there is one who can help me....  

 

Very best regards

Martin

 

0 Likes
Accepted solutions (1)
888 Views
2 Replies
Replies (2)
Message 2 of 3

chandra.shekar.g
Autodesk Support
Autodesk Support
Accepted solution

@martinhoos,

 

Hoping that below iLogic code may be helpful.

oWord = System.Runtime.InteropServices.Marshal.GetActiveObject("Word.Application")

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes
Message 3 of 3

martinhoos
Advocate
Advocate

Hi chandra,

thanks again for your help!

Regards Martin

0 Likes