I write to a word doc from my
vb.net code. The code draws some of autoshapes, formats the shapes, writes text to them and format the text, auto resize the shape as text goes on increasing. When i run the code using F11 it works fine but if i do F5 shapes overlap each other.
I think the problem is because the shapes takes time to draw and autoresize and so their positions are not calculated properly.
Can anybody suggest something?