PDA

Click to See Complete Forum and Search --> : Finding the handle of a Crystal report


freewilly
Feb 15th, 2004, 09:28 PM
Hi team

I need to find the handle of a crystal report.

I can use the FindWindow API, but I need the class name of the crystal window to pass to the API. I'm using the ActiveX control. Does anyone know how the get find the class name?

Or does anyone how else to get the handle?

Thanks

FW

Bruce Fox
Feb 16th, 2004, 12:20 AM
G'Day FW.

If you have Spy++ (it ships with Visual Studio - not sure about all versions). If so, with the Crystal Report open, run Spy++ and it will return the Class (amonst hundreds of other things).




Bruce.