CLARION TO ASP.NET APPLICATION
CLARION TO ASP.NET APPLICATION
(OP)
Hi everyone,
I have a Clarion application that needs to send some information to ASP.NET application in form like this
www.webpage.com?Name=John&Age=25
I was trying with the use of NetTalk Post method, BUT NetTalk is ABC based while the original application isn't.
And using an option like calling internet explorer for every parameter will result in opening 10 internet explorer windows.
Any suggestions on how to do this?
I have a Clarion application that needs to send some information to ASP.NET application in form like this
www.webpage.com?Name=John&Age=25
I was trying with the use of NetTalk Post method, BUT NetTalk is ABC based while the original application isn't.
And using an option like calling internet explorer for every parameter will result in opening 10 internet explorer windows.
Any suggestions on how to do this?
RE: CLARION TO ASP.NET APPLICATION
Why would sending the parameters open 10 IE windows? Aren't the paramaters chained together? What are you using to call IE - ShellExecute or the IE ActiveX Control?
I must admit that I am a novice in Web programming but there are other options ::
- Capesoft's File Explorer in which you can access the DOM objects and set the value directly.
- vuSendKeys from www.valutilities.com which can send keystrokes to populate the web page.
More specific information on your requirements will help me understand better.
Regards
RE: CLARION TO ASP.NET APPLICATION
Like:
www.webpage.com?Name=John&Age=25
www.webpage.com?Name=Tony&Age=23
www.webpage.com?Name=Alan&Age=25
www.webpage.com?Name=Jane&Age=23
www.webpage.com?Name=Steve&Age=21
and this is the simplest way to send/recieve them
what is the simplest way to do this?
RE: CLARION TO ASP.NET APPLICATION
Check http://www.capesoft.com/accessories/netsp.htm#Cost. NetTalk can be used in Clarion (Legacy) Template applications.
Why can't you just use NetTalk and call the URL one after another with all the parameters. You can process the returned HTML page.
I use NetWebClient class and use the FETCH(URL) method to fetch the page. On the PageReceived method (after Parent Call), I process the PAGE property for the contents of the returned page. The PAGELEN property contains the size of the PAGE in bytes.
Regards
RE: CLARION TO ASP.NET APPLICATION
Thank You for all the help,
I have managed to compile the application without errors.
I have imported the application from the net talk example, in project i have included net c60netx.lib, the clarion version is 6.3.
But when i try to call that procedure the application crashes.
With exception error message to microsoft.