Calling .net classes from lotusscript

hi there, i have .net framework v 4 installed on soe on my machine. I can use this code in vb ok: Public Sub RunRead()

    TextBox1.Clear()

    TextBox2.Clear()

    ' Create a request using a URL that can receive a post. 

    Dim request As WebRequest = WebRequest.Create("http://vrdevlrsappsptl/Geocortex/Essentials/REST/sites/RWE/workflows/ReadLocation/run?f=json")

All i want to do is the same thing but in lotusscript using ‘create object’. All i need is the appropriate class name as the parameter to ‘create object’, e.g.

Set objHTTP = CreateObject(“Microsoft.Net.WebRequest”) doesnt work. How do i get the proper class name for the .net ‘WebRequest’ class in calling ‘CreateObject’ ?

thanks.

Subject: Sounds like a question for Microsoft… :slight_smile:

Otherwise, if all you want to do is to load data from a URL (that is what it looks like in your code), try the class I blogged about last year:Lotusscript Code – HTML retrieval class – TexasSwede

Subject: thanks but can it do a POST operation rather than GET?