Solved

geting data from asp in VB-Report

Posted on 1999-01-25
3
160 Views
Last Modified: 2011-08-18
i'm coding a ActiveX control using the VBReport to print the data inputed in asp,but wondering about how to get the data in VB?
By the way,i had settled the problem about ActiveXctrl-distribution,thank you Mr.PBall!
0
Comment
Question by:alexchin
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
MasseyM earned 50 total points
ID: 1845641
Use this code.  It will load the output from an ASP page into a local variable:
Add the INet control to the form.

YourVariable= Inet1.OpenURL("http://your.server.com/directory/to/asp/youfile.asp")

if you do a Msgbox YourVariable, you will get the content of the output in the messagebox.
0
 

Author Comment

by:alexchin
ID: 1845642
Thanks a lot,i think it will do good to me.
As a beginner i want to make it detail that if i can get plural output from asp and get them identically? and the output from asp means the value of input-type of form or by "location.href("http://../../asp/youfile.asp?a=3&b="gg"&..") ?
0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1845643
What my suggestion does is send the entire HTML document to a variable in your VB program.  It is up to you to parse the info out.  I recommend that you create your ASP page so that the info is easily parsed... ie have it setup like this

a=3<BR>
c=gg<BR>
.

then search for "a=" in the body... you can get the vale from that then.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

770 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