Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

ima
  • Administrators
Posted

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.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...