473,385 Members | 2,044 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how read data from the internet.

9
Hi all. i am wondering if it is possible to read source code from the net using vb6.0 if so is it also possible to then change the url so that it accesses a separate page.

any help will be greatly received.

regards

rab
Feb 9 '07 #1
3 3590
iburyak
1,017 Expert 512MB
1. Go to Project - Componets and check Microsoft Internet Control.
2. Put Internet Control on your form.
3. Execute code in some button.

Example:

[PHP]Call WebBrowser1.Navigate2("www.google.com")[/PHP]


You can put some textbox on a form and enter URL and each time you click button it will change your page.

[PHP]Call WebBrowser1.Navigate2(Text1.text)[/PHP]

Play with control it has much more.
Feb 9 '07 #2
kZero
23
Hi all. i am wondering if it is possible to read source code from the net using vb6.0 if so is it also possible to then change the url so that it accesses a separate page.

any help will be greatly received.

regards

rab

use msinet.ocx

make text box

Expand|Select|Wrap|Line Numbers
  1.  text1.text = inet.openurl("http://www.thescripts.com")
you will get the page source in text1.text
Feb 9 '07 #3
rhbt63
9
use msinet.ocx

make text box

Expand|Select|Wrap|Line Numbers
  1.  text1.text = inet.openurl("http://www.thescripts.com")
you will get the page source in text1.text

thanks 2 u both for prompt replies will experiment and let u know how i get on.

thanks again
Feb 9 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Nik Coughin | last post by:
Is there a simple way of opening a text file from a server, and reading from it line by line? IE http://someserver/file.txt contains a couple of hundred lines. Each line is the name of a...
2
by: nomenklatura | last post by:
Hi, I want to develop pocket pc program with visual studio .net this program read data from internet and bluetooth.. For example when i send data from program(server side) with bluetooth , other...
1
by: Darn | last post by:
Hi all How do i solve this problem. I'm web developer from Malaysia, the problem occurs when i ftp an Access database which i'm using for this particular web site for it's database.The form...
12
by: James Norton-Jones | last post by:
Hi, Am I trying to hold the data of a DataGrid in a label so that when the form is reposted the DataGrid can be repopulated. The problem I am having is that I don't understand how to get the...
9
by: John Howard | last post by:
How can I read a text file that is on a UNIX server in VB.Net? Please keep it simple. Thanks, John
1
by: Tolgay Gül | last post by:
I need some codes that able to send and read data by serialport in VB.Net 2005 beta 2. I wrote some codes and It can send data via serialport but It cannot read what I send. I have looked up on...
1
by: Tito | last post by:
For an internet telephone application, I need to be able to read and write data to and from /dev/dsp simultaneously. I wrote some code and its not working. Anyone have any working code to do...
3
by: Vijay | last post by:
Hi Folks, I having one issue, in my application I am going to use the server push for streaming the data by keeping the connection open. At client side, i am having the XMhttprequest object (i.e...
7
by: Jay Balapa | last post by:
Hello, We have a Pocket PC client application which just connects to our webservice. When a client connects his Pocket PC through his WIFI he gets the following- Unable to read data from the...
6
Cintury
by: Cintury | last post by:
Hi all, I've developed a mobile application for windows mobile 5.0 that has been in use for a while (1 year and a couple of months). It was developed in visual studios 2005 with a back-end sql...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.