Click here to Skip to main content
15,891,708 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,

I'm working on a Console application which must uses VSTO to generate Access reports.

I'm on Windows XP with Visual Sudio 2008, so I was trying to keep the console in full screen (kinda like Linux console beginning) but it loses its focus as soon as I call the line Access.Application access = new Microsoft.Office.Interop.Access.Application();.

I'd like to know if you any idea to deal with it so that the console won't lose focus anymore.

I had seen some solutions for Windows application which can request focus but not for Console ones...

Thanks in advance,

Guillaume.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900