Solved

geting data from asp in VB-Report

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
key press alert 2 32
Diminish Pop-up  in 3 seconds 7 45
Help in good tutorials for PHP, HTML and CSS 6 40
Javascript the "if condition with Or" 8 29
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

809 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