?
Solved

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

Posted on 2011-03-10
3
Medium Priority
?
495 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 2000 total points
ID: 35106062
0

Featured Post

Independent Software Vendors: 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 script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

765 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