sureshcd10 Posted December 8, 2008 Posted December 8, 2008 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. Quote ima
Administrators PlausiblyDamp Posted December 8, 2008 Administrators Posted December 8, 2008 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. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.