CDONTS is fairly well optimised already. you could call it from a component if you feel the need...<BR><BR>JMail is actually better than CDONTS too, maybe you could consider that<BR><BR>else turotials on components<BR><BR>http://www.15seconds.com/<BR>http://www.asptoday.com<BR>http://184.108.40.206/infinitemonkeys/<BR>http://www.aspin.com/<BR>http://www.devdex.com/<BR><BR>j
I have made a class sampleClass.cls in VB under sample.vbp. Saved it and run it.Now when I access this component from ASP using Server.CreateObject("ProgID") it saves object cannot be created. Do i have to register the dll?????<BR>Can someone explain the complete procedure.<BR>thanx in advance.
Hi! Ramendra<BR><BR>I went through ur query carefully. Now if u r creating an ActiveX DLL in VB and including a class "sampleClass.cls" within the ActiveX DLL project, then u have to create the dll by choosing option Make <project name>.dll under file menu. Once<BR>this is done u may try to register the dll by using REGSVR32.exe<BR>file. The procedure to do this is quite simple.<BR><BR> click start button , select run and type the following:<BR> regsvr32.exe <dllname><BR>Once the dll is registered, u should be able to create instance of the component by using server.createobject("ProgID") methodology. [ProgID must be <projectname>.<classname> where<BR>projectname is ActiveX DLL project]<BR><BR>Hope this help.<BR><BR>Bye<BR>Debarshi<BR>
If your server is the same machine as the one you made the component on, VB will register it automatically.<BR><BR>if not : <BR><BR>Make (compile) the project, grab the resulting .dll and place it on your server in a folder you can remember (i use c:winntcomponents<BR><BR>go to start->run<BR><BR>type <BR><BR>regsvr32.exe c:winntcomponents<filename>.dll <BR><BR>where filename is the name of your file<BR><BR>also - be sure any dependent objects are present on the server (if you used, say the MSXML lib, make sure it's present and registered on the server)<BR><BR>j