Solved

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

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
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.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 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

21 Experts available now in Live!

Get 1:1 Help Now