473,657 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_logi n_page.asp?_sn= D8C6E62C-71C1-422C-AC43-0B73B9B4903F&_c =&_dt=28%2F08%2 F2004+4%3A28%3A 58+PM&popUpType =Login"
method="POST">
<INPUT type=hidden name="GoBack" value="">
<INPUT type="text" name="memberID" size="20" class="clsField Data"
value="userA">
<input type="password" name="pswd" size="20" class="clsField Data"
value="mypasswo rd">
<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 3864
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*****@datafa st.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_logi n_page.asp?_sn= D8C6E62C-71C1-422C-AC43-0B73B9B4903F&_c =&_dt=28%2F08%2 F2004+4%3A28%3A 58+PM&popUpType =Login"
method="POST">
<INPUT type=hidden name="GoBack" value="">
<INPUT type="text" name="memberID" size="20" class="clsField Data"
value="userA">
<input type="password" name="pswd" size="20" class="clsField Data"
value="mypasswo rd">
<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
2671
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 Internet Explorer in it then will it cause an error if version Internet Explorer is the same one as WebBrowser which is in my project? Is it this control which Internet Explorer uses? If that can cause errors of version then, instead, can I install this...
1
2109
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 I don't want to write any new COM code. As far as I can see my options are; - no-touch install windows app (with embedded control) - .NET User control (with embedded control)
3
2082
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 Exception is throw. I am having a lot of trouble debugging this, because I cannot catch the exception in my code. However if I could run the control under the Internet Zone Security settings I could probably find this easily. Does anyone know how to...
4
1143
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
3787
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 been able to compile it. However, when I go to a webpage, and try to FTP something, I get this error: System.Web.HttpUnhandledException was thrown.(Class is not licensed for use)
2
1026
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 would be copied to a textbox in another active form. Some advices, hints on how to accomplish this.
2
1345
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 neutrality. At issue are calls for the U.S. government to regulate the Internet, and, in effect, opponents say, determine which companies get bigger shares of the profits. To read the full text, please go to:...
3
11031
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 i run the program).....but when i watch the transfering of bytes by debuging it.(RED dot on while(nfs.CanRead) )..it shows that complete bytes are transfered.(in my case i-e 573Kb)....i am unable to understand whats going wrong in my program....
2
1505
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
8312
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8827
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8606
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6169
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4159
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2732
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1622
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.