Using QSRules.dll in Visual Studio 2005 C#.NET

Aug 08, 2006 1 Replies

Hi All,



I have added the QSRules as a reference and tried to access/ create objects, for example:



QSRules.Session mySession = new QSRules.SessionClass(); now when i try: mySession.SOMETHING



I don't get any options and get a error:



Error 2 Invalid token '(' in class, struct, or interface member declaration RMS.VisualStudioTest\RMS.AccessClass\Class1.cs 12



24 RMS.AccessClass

in the object browser i can see the methods for the class but can't access them through the code.



Anyone got any ideas why or how to use the QSRules Dll in Visual Studio.NET



2005 using C#.

Thanks, Rob


Hi Rob,

you have to solve your problem like this:

QSRules.SessionClass RMSSession = (QSRules.SessionClass)Session;

You have to convert your Session-Object first. Now you can type RMSSession.???

"Rob1" wrote:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required