Solved

geting data from asp in VB-Report

Posted on 1999-01-25
3
137 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
html select on change 3 25
Website Home page blank 4 25
Cannot scroll down on html page 2 25
Flexbox in CSS3 2 25
Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
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…

771 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

10 Experts available now in Live!

Get 1:1 Help Now