im using Visual studio 2008 vb.net and developing and working with office 2007.
When I debug and step through the code the Word window goes blank all white (Not Responding) on the title bar
see screen capture
this happens regardless of office app im debugging eg Word, Excel
someone mentioned there is window refresh application
does anyone know about this tool? or know how I can get my office application windows to display what is occuring in my app?
VB6.0 allowed you to debug and see "live" the code interacting with the different applications.
VBA allowed you to debug and see "live" the code results.
many thanks
diana
debugging in vb.net and refresh screen
-
- 3StarLounger
- Posts: 279
- Joined: 01 Jun 2010, 00:27
debugging in vb.net and refresh screen
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 80032
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: debugging in vb.net and refresh screen
The Word Application object has a ScreenRefresh method. So if you have an object appWord of type Word.Application, you could try
appWord.ScreenRefresh
No idea whether it'll work. I don't use VB.NET.
appWord.ScreenRefresh
No idea whether it'll work. I don't use VB.NET.
Best wishes,
Hans
Hans