Solved

geting data from asp in VB-Report

Posted on 1999-01-25
3
174 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 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

Independent Software Vendors: 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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses how to create an extensible mechanism for linked drop downs.
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…
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…

756 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