Solved

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

Posted on 2011-03-10
3
471 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
  • 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

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…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

815 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now