Page 1 of 1

StiViewerConfigService not defined

Posted: Wed Mar 18, 2009 8:57 am
by veggen
I'm trying to do this:

Code: Select all

Dim Config As StiViewerConfigService = TryCast(StiConfig.Services.GetService(GetType(StiViewerConfigService)), StiViewerConfigService)
in 2008.2 but I'm getting a "StiViewerConfigService is not defined" error. I browsed the forums and discovered only that a reference to Stimulsoft.Report.Win must be added, but I have already done that. It seems I'm missing an import, but nothing i try seems to fix this...
Sorry if my question is dumb, but please bear with me for a bit, and lend some help if you can...

Thanks.

StiViewerConfigService not defined

Posted: Wed Mar 18, 2009 10:04 am
by Edward
Hi

Please add the following line of code:

import Stimulsoft.Report.Viewer

Thank you.