Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello,

 

Is it possible to give a parameter to a VB.Net assembly?

 

I want to call a vb.net assembly from a asp.net page. and give a value with it. and retreive that value in the assembly...

 

How can i do this?

 

thx,

 

interw

  • Administrators
Posted (edited)

Not really sure what you are asking here - you wouldn't call an assembly as such, you would call a method on a class within the assembly.

It may help if you give a bit more detail about what you are trying to do and see if there is an alternate way.

Edited by PlausiblyDamp

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

Well....

 

I have a custom dll from another firm... from wich I create an object. This works fine in VB.net but I get an error in ASP.net and I need to run it in asp or asp.net....

also works fine in vb6 and doesn't work in asp...

 

so I thought....

 

create an assembly....

 

call the assembly from asp.net.... but I need to give a value to that assembly....

 

make the thread wait a few seconds until the vb.net assembly finishes his tasks... and then carry on with asp.net :-s

 

Is it possible to call a method in a vb.net assembly from asp.net ? how?

 

thx

  • Administrators
Posted

Could you post some of the code you are using as I'm not too clear on the processes involved here.

I'm guessing the DLL is either a COM dll (probably) or you are accessing it via p/Invoke (probably not).

If you are creating a wrapper class in a dll to call into this 3rd party dll then I can't see why you would need to pass a parameter to the assembly rather than the class - also if these are being executed synchronously then I can't see the need for threading to be involved.

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...