interwanderer Posted October 20, 2005 Posted October 20, 2005 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 Quote
Administrators PlausiblyDamp Posted October 20, 2005 Administrators Posted October 20, 2005 (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 March 10, 2007 by PlausiblyDamp Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
interwanderer Posted October 21, 2005 Author Posted October 21, 2005 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 Quote
Administrators PlausiblyDamp Posted October 21, 2005 Administrators Posted October 21, 2005 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. 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.