Solved

How To “String Return Function” from VB.NET to VBScript/ASP?

Posted on 2011-03-10
3
488 Views
Last Modified: 2012-05-11
Can someone give me a hand with this? I’m installing an API from another system and they sent me an example using VB.NET. The problem I have is I’m using VBScript/ASP. Is there a way to translate this to use VBScript? Thanks

Here is the sample call using VB.NET:
Dim strReturn As String = myService.RequestAPN("34007", "01  00001-0000-00001", "REsearchComp", "ATR000111")
0
Comment
Question by:inrworx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 12

Expert Comment

by:prashanthd
ID: 35100974
Can you try the following..

Dim strReturn

strReturn = myService.RequestAPN("34007", "01  00001-0000-00001", "REsearchComp", "ATR000111")
0
 

Author Comment

by:inrworx
ID: 35101220
Hi prashanthd,
Humm, maybe I should have gotten more specific with them. What object do you think I should use to send the call function? They told me it will return a URL where i can down a file.. Any ideas?

Thanks again..
0
 
LVL 12

Accepted Solution

by:
prashanthd earned 500 total points
ID: 35106062
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question