J
JJ
When I run my form prog, if I maximise, then minimise (i..i. force the GUI
to redraw) I get the following error:
"The object is currently in use elsewhere"
At this line:
e.Graphics.DrawString(MenuText.Substring(0, 1), underLinedFont, FontBrush,
textLayoutRectangle, sf)
(An ownerdraw menu)
This only happens when I have Microsoft Word open in the background and have
a graphic placed in the word document.
I have just reinstalled all Visual Studio and Sourcesafe and I still cannot
get rid of the error.
What have I done wrong?
to redraw) I get the following error:
"The object is currently in use elsewhere"
At this line:
e.Graphics.DrawString(MenuText.Substring(0, 1), underLinedFont, FontBrush,
textLayoutRectangle, sf)
(An ownerdraw menu)
This only happens when I have Microsoft Word open in the background and have
a graphic placed in the word document.
I have just reinstalled all Visual Studio and Sourcesafe and I still cannot
get rid of the error.
What have I done wrong?