.Net and ASP COM objects
steven290 | Posted 7:10am 15. February 2005 Server Time |
Can i create a COM object(dll) using .NET and then us asp to call it. From what i understand you can create a COM object in any language - and then call it using asp.
If i can, could i get an example. What i want to do is create a class (using .net) to read POP3 email, then call it using classic asp.
How would i include a reference to class file(or DLL) without registering the COM. I don't think i would use "include file=...". |
thorpe | Posted 7:47am 15. February 2005 Server Time |
you need to register it on the server. then its just like any other object in asp.
dim myObj : set myObj = createobject("yourobject.yourclass")
steven290 | Posted 8:15am 15. February 2005 Server Time |
what if i can't register the com on the webserver (host doesn't let me, for ex.) is there another way
thorpe | Posted 10:25am 15. February 2005 Server Time |
no.
Informant | Posted 3:06pm 15. February 2005 Server Time |
dont forget that .NET and classic asp apps run side by side so you could create a .NET emailing class that runs on a .aspx page and is linked from a classic asp page.
steven290 | Posted 3:16pm 15. February 2005 Server Time |
informant can you give me a simple hello world example for linking the aspx and asp
Informant | Posted 3:42pm 15. February 2005 Server Time |
<%@ Page Language="VB" %>
<script runat="server">
Sub Page_Load(byval object as sender, byval EventArgs e)
Response.Write("hello world")
End Sub
</script>
save as : helloworld.aspx
<a href="helloworld.aspx">Link to hello world page</a>
save as : helloWorldExample.asp
Informant | Posted 3:43pm 15. February 2005 Server Time |
doesnt get much more simpler then that.
steven290 | Posted 3:52pm 15. February 2005 Server Time |
that's what you meant - what i'm trying to do is run a COM object in classic asp, that was created in .net. I'm trying to avoid using the aspx extension, but if it comes down to it i will use your method.
registering the DLL as thorpe suggested works fine but in that case i want to try and avoid registering the COM (host restrictions)
but thanks for your ideas suggestion either way
Informant | Posted 4:25pm 15. February 2005 Server Time |
You have to register it to use it in a legacy enviroment. Also that is not very optimal either because then you are using interoperability which basically means .NET intrinsically will create a "COM Wrapper" so that it can be used which is extra processing you can take full effect of the native features be simply invoking a .aspx page. And since you don't have access to your host server then this appears to be your only way and its still a very viable solution.
lymanknap | Posted 2:09pm 4. August 2010 Server Time |
1qkgOR <a href="http://myngwtyaqkrf.com/">myngwtyaqkrf</a>, [url=http://pkhissqpkquv.com/]pkhissqpkquv[/url], [link=http://lszesjncmedk.com/]lszesjncmedk[/link], http://odjnocwwajzv.com/
lymanknap | Posted 4:57pm 4. August 2010 Server Time |
uhtC9K <a href="http://cajkilxnsnfn.com/">cajkilxnsnfn</a>, [url=http://gkownmpcyhfj.com/]gkownmpcyhfj[/url], [link=http://brfubggcmiss.com/]brfubggcmiss[/link], http://fpeukylphguo.com/
lymanknap | Posted 7:52pm 5. August 2010 Server Time |
http://www.arcataenglishcockers.com/auto-insurance-rates.html new jersey car insurance qkbxt http://www.hotkumquat.com/life-insurance-rates.html best life insurance btxgug http://www.ihustlelive.com/healthinsurancequotes ghi health insurance 7928 http://www.tongfeng666.com/homeinsurance.htm mobile home insurance qub http://www.karenmartinezforassembly.org/ home insurance =DDD
lymanknap | Posted 2:04pm 6. August 2010 Server Time |
http://www.modernelectricguitars.com/ tramadol online 834 http://www.booksfreedownload.info/acomplia.html buy acomplia :-] http://www.belloskbellos.net/doxycycline.html doxycycline buy jnljo http://www.pointypen.com/ accutane online pnnta http://www.centrodecidadania.org/ aciphex aciphex used aciphex buy online 165
lymanknap | Posted 9:07pm 6. August 2010 Server Time |
http://www.themotherscurse.com/pricelist_tramadol.html tramadol online 14795 http://www.club-lucha-universitario.com/ propecia online 6570 http://www.themotherscurse.com/cialis.html cialis sales 887 http://www.agamistathemovie.com/cialis.html buy cialis 6984 http://www.kalipaksi.com/ tramadol online 21453
lymanknap | Posted 4:56am 9. August 2010 Server Time |
http://www.themotherscurse.com/pricelist_tramadol.html pharmacy college buy tramadol 51249 http://www.maranguapefutebolclube.com/pricelist_tramadol.html tramadol online 5738 http://www.notquitebettycrocker.com/acomplia.html acomplia online jjuxm http://www.popcivics.com/acomplia.html acomplia online 88729 http://www.agamistathemovie.com/acomplia.html acomplia loss weight 657162
choonchan | Posted 9:39am 10. August 2010 Server Time |
qhMWTn <a href="http://yflfcpecsrul.com/">yflfcpecsrul</a>, [url=http://ktwfqfeippdh.com/]ktwfqfeippdh[/url], [link=http://ttbucqloylsm.com/]ttbucqloylsm[/link], http://zmxxdznaflpt.com/
choonchan | Posted 9:24am 11. August 2010 Server Time |
http://www.healthinsurancemate.com/ health insurance 10042 http://www.mega1031.org/ home insurance qllix http://www.buycheaphomeinsurance.com/ cheap home insurance cdcup http://www.carinsurancequotes-online.net/ auto owners insurance 6247 http://www.getcheaphealthinsurance.net/ health insurance 924
choonchan | Posted 10:43am 17. August 2010 Server Time |
http://www.viagra-advice.com viagra =[[[ http://www.bestsleepingpill.net/ ambien :OO http://www.36hourpills.com/ cialis 4700 http://www.meridiapills.com/ meridia dozhrp
mkaymer | Posted 8:36am 21. August 2010 Server Time |
http://www.sbpiura.org/ propecia =)) http://www.nakuhin.com/ prednisone 03290 http://www.tennismaschile.com/tramadol.html beitrag buy hinzufgen name text tramadol 8D
mkaymer | Posted 4:03pm 23. August 2010 Server Time |
http://www.ilegalesvmt.com/doxycycline.html doxycycline 8PP http://www.office2010news.com/ pharmacy tech buy tramadol :] http://www.baleiaemchamas.com/xanax.html buy xanax online 700894 http://www.blog-hotel-viva-menorca.com/ valium 6434
mkaymer | Posted 8:11pm 30. August 2010 Server Time |
http://www.hlpharmacy.net/ buy propecia in usa 306916 http://www.puremeds.net/ prednisone no prescription avdmd http://www.mensmeds.net/ cialis on line 8-P http://www.myrxweb.net/ Phentermine %-)))
mkaymer | Posted 1:26am 31. August 2010 Server Time |
http://www.rea2009.org/ xanax and grapefruit 8192 http://www.rosanapinheiromachado.com/ ambien online ordering yycte http://www.hormonedoctorsecrets.com/metoprolol.html buy metoprolol slb
mkaymer | Posted 1:27pm 31. August 2010 Server Time |
http://www.theworryfreelife.com/life-insurance-quotes.html transamerica life insurance 260 http://www.theworryfreelife.com/auto-insurance-quotes.html auto insurance quotes 8812
mkaymer | Posted 3:28pm 31. August 2010 Server Time |
http://www.organizandolalucha.com/ acomplia in usa xfbyl http://www.mariasharapovapictures.com/ acomplia amp phentermine diet pills ikflr http://www.spudfootball.com/ acomplia %-( http://www.newoxfordmovement.org/ prednisone =P http://www.mcatel.com/ tramadol ypeut
mkaymer | Posted 5:21pm 31. August 2010 Server Time |
http://www.mega1031.org/ homeowner's insurance :((( http://www.buycheaphomeinsurance.com/ california homeowners insurance 248 http://www.findcarinsurancequotes.net/ car insurance in florida >:-[[[
Reply to Post .Net and ASP COM objects
|
|
|