Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
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…
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 …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

912 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