[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

geting data from asp in VB-Report

Posted on 1999-01-25
3
Medium Priority
?
190 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
[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 10

Accepted Solution

by:
MasseyM earned 150 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

Technology Partners: 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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

650 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