how to pass parameter in Server.CreateObject.

sureshcd10

Regular
Joined
Dec 25, 2003
Messages
77
Scenario: I am calling a C# dll into VB6 via Server.CreateObject .
I want to pass some parameter into that class which which contains
2 methods in which one is taking one parameter .
So while calling this class I have to send parameter value also .

Please help me in this regard --how to pass parameter in Server.CreateObject.
 
IIRC there is no way for Server.CreateObject to receive parameters other than the ProgID of the object you are trying to create.

If it is another method on the object then you should simply be able to call the method and pass a parameter in as normal.

If I've missed the point could you post a sample of code to illustrate what you are trying to do and what exactly is failing.
 
Back
Top