473,406 Members | 2,281 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,406 software developers and data experts.

Internet Tranfer Control

G'day All,

I'm trying to code a "Data Downloader" to automatically login and
download data from www.Investorweb.com.au using the Internet Transfer
Control.

I have a some VB experience but no experience with web programming apart
from basic html, forms etc.

1). I've extracted the following from the login page

<SNIP>
https://www.investorweb.com.au/mb_login_page.asp
<FORM name="frmLogin"
action="mb_login_page.asp?_sn=D8C6E62C-71C1-422C-AC43-0B73B9B4903F&_c=&_dt=28%2F08%2F2004+4%3A28%3A58+PM &popUpType=Login"
method="POST">
<INPUT type=hidden name="GoBack" value="">
<INPUT type="text" name="memberID" size="20" class="clsFieldData"
value="userA">
<input type="password" name="pswd" size="20" class="clsFieldData"
value="mypassword">
<INPUT TYPE="checkbox" NAME="remember_me" VALUE="Y" checked>
<INPUT class="clsBtnGo" type=submit name="subLogin" value="Login">
<INPUT class="clsBtnGo" type=submit name="subCancel" value="Cancel"> </SNIP>

I've found a few examples of using the Internet Transfer Control but
none similar to my needs. I've experimented with using the "post" method
but can't get any clues.

Q1). Is the Internet Transfer Control suitable for this task?

Q2). If not what is the best approach to my problem?

Q3). If it is, could you please give me some pointers?

Thanking you in advance,
build
Jul 17 '05 #1
1 3854
A1) I have used both winsock and inet controls for internet communication.
Both are good to use. Its a matter of opinion over which one to use for your
specific operation.

Using Inet you can add your own headers to the request packet to already
formed packet vs. winsock.. you must construct your own packet from the
ground up.

Inet & winsock will both get the entire received data back from the server
for parsing on client end.

Inet is more for a beginner approach 'In my opinion' although in some
instances can be quite tricky.

A2 - A3) kind of answered above.

A4) Read about Inet and Winsock Controls on MSDN to find out exactly how to
use them for your needs.

Also be aware that this site looks as though it sets cookies so parse out
every and all cookies needed to login and use within your request headers in
the appropriate areas. (use a packet sniffer to find out how to form a
packet for this perticular site)

Good luck.
Mike
"build" <bu*****@datafast.net.au> wrote in message
news:41********@news.alphalink.com.au...
G'day All,

I'm trying to code a "Data Downloader" to automatically login and
download data from www.Investorweb.com.au using the Internet Transfer
Control.

I have a some VB experience but no experience with web programming apart
from basic html, forms etc.

1). I've extracted the following from the login page

<SNIP>
https://www.investorweb.com.au/mb_login_page.asp
<FORM name="frmLogin"
action="mb_login_page.asp?_sn=D8C6E62C-71C1-422C-AC43-0B73B9B4903F&_c=&_dt=28%2F08%2F2004+4%3A28%3A58+PM &popUpType=Login"
method="POST">
<INPUT type=hidden name="GoBack" value="">
<INPUT type="text" name="memberID" size="20" class="clsFieldData"
value="userA">
<input type="password" name="pswd" size="20" class="clsFieldData"
value="mypassword">
<INPUT TYPE="checkbox" NAME="remember_me" VALUE="Y" checked>
<INPUT class="clsBtnGo" type=submit name="subLogin" value="Login">
<INPUT class="clsBtnGo" type=submit name="subCancel" value="Cancel">
</SNIP>

I've found a few examples of using the Internet Transfer Control but
none similar to my needs. I've experimented with using the "post" method
but can't get any clues.

Q1). Is the Internet Transfer Control suitable for this task?

Q2). If not what is the best approach to my problem?

Q3). If it is, could you please give me some pointers?

Thanking you in advance,
build

Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Raymond H. | last post by:
Hello, I create a vb4 project which can also naviger on Internet via the WebBrowser control which I put on my form. My question is: if this program is installed on a station having already...
1
by: Euan Crawford | last post by:
Can I do this? Is it even a good idea? I need to build an application that will self-install over the internet. The restriction is that the application uses a 3rd party ActiveX control. However...
3
by: Neo | last post by:
I have a usercontrol that I am trying to use as an ActiveX Control on a WebPage, however it refereneces an Assembly that whenever the first call is made to anything in the Assembly a Security...
4
by: Gopal Prabhakaran | last post by:
Dear All, In one solution , I have 2 webapplication, now i want transfer one control form webapplication 1 to webapplication 2. Pls help ASAP Millions of Thanx in advance.
4
by: Brian | last post by:
Hi, I'm trying to make an online FTP utility in C# ASP.NET using MSINET.ocx (an active X control a.k.a. "Microsoft Internet Transfer Control") I've added the reference into my project and have...
2
by: Manuel Canas | last post by:
Hi there, How can I transfer the value of an control to another control in another form? Let's say I have a textbox in form1 with a value of 30 in it, now from a click of a button, the 30...
2
by: Wells | last post by:
Debate Simmering in US Over Regulation of Internet A heated debate is shaping up in Washington about a concept some activists are calling Internet network neutrality, known more popularly as net...
3
by: shahla.saeed | last post by:
hi, plzz check my code and let me know where the problem is lying...becuase whenever i try to tansfer the file of 573KB(mp3) it just tranfer few Kb of file(Somtimes 5.2Kb,somtimes 32Kb..every time...
2
by: Dale Harris | last post by:
Hi, I was wondering, is there a difference between Server.Transfer and Response.Redirect? They seem to do the same thing. Or am I mistaken? TIA ** Posted from http://www.teranews.com **
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.