Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: MTS


Message #1 by "Sreekumar" <sreekumarp@y...> on Tue, 5 Dec 2000 04:29:21 -0000
I need to create a Component in VB6 and need to implement in ASP under MTS

Can you please help me to know how to make it work.



Thank you

Sreekumar

Message #2 by Stephane_Dattenny@D... on Wed, 6 Dec 2000 03:12:50 -0600
Under VB6, create an ActiveX DLL. Give a name to your project (ie

"MyObject")

Add classes (ie "MyClass") and a public function to them (ie "MyFunction")



Make the project and you have your myobject.dll



In MTS, create a package and add your component (import new component and

select your .dll).



In ASP, just do like that when you want to use your object.



Set myObj = Server.CreateObject("MyObject.MyClass")



To use the function:



returnValue = myObj.MyFunction(.....)



Look at MTS & MSMQ Wrox book to have the best uses of MTS and ASP (and MSMQ)





Best regards / Cordialement

 

Stephane Dattenny

Dell Computers - EMEA IT - VB and Web developer

Phone: +33 (0)4 99 75 49 88 



 





-----Original Message-----

From: Sreekumar [mailto:sreekumarp@y...]

Sent: Tuesday, December 05, 2000 5:29 AM

To: ASP components

Subject: [asp_components] MTS





I need to create a Component in VB6 and need to implement in ASP under MTS

Can you please help me to know how to make it work.



Thank you

Sreekumar




  Return to Index