473,385 Members | 2,005 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.

WinInet Creating a Problem

Hi
Before this i have send a request about WINHHTP help.But coulnt find
any answer till now except one in which may be the Replier coulnt
understand the problem ,sorry for that.

Now i m using WinInet classes
CInternetSession,CHttpConnection,CHttpFile like this.
I want to send a request to a website (for example www.mysite.com) and
want to extract the html of default page or home page.
On this page their is a form in which user can place his Email and
password and then S/He can be login.

i m using the OpenURL() function of class CInternetSession to get the
HTML of the page which i m requesting.

then i want that i make a url and fill it with the user name and
password and send that url to the OpenURL() function of
CInternetSession class so that i could get the HTML of the page which
display after the user has been login successfully.

I m recieving the HTML of First page when i send the url to the OpenURL
,"www.mysite.com"
in my object of CHttpFile class. But when i make a url then i m not
getting the correct HTML of the page which display the user that u have
successfully login.But its sending the HTML of the page which display
error message that user had not entering the correct password.

I just want to do work like CRAWLING.and plz tell me how i can do this
with WinInet classes.

CrimeMaster

Jun 29 '06 #1
0 900

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

Similar topics

6
by: Dan | last post by:
I have an app that uses the wininet.dll APIs to get web pages and to post to web forms. My problem is that some of my users systems will literally wait an hour before an Internet call to a site...
1
by: Sean Barnes | last post by:
Hello all, I am having a bit a problem with the InternetDial function in the wininet.dll. The problem is that despite passing in a null terminated string as the lpszConnectoid param to the...
6
by: dev | last post by:
Hi to all, I am a sofware developer with few months experience in C#. I worked in C/C++ and, time ago, developed an application to receive a video-stream (MJPEG) via http. Simply I used the...
3
by: Rich | last post by:
Greetings, I have a VB6 app that uses API's from wininet.dll for FTP- ing textfiles to and from Mainframe computers and doing directory searches on the mainframe from a windows desktop...
0
by: Ratan | last post by:
I am having an C# .Net application which using WinInet api for FTP downloads and its running fine on win 2000 and win xp but giving problem on win 2003 server. It seems to be failing to...
0
by: Sjaakie Helderhorst | last post by:
Hi all, I'm trying to create a class which handles FTP. Knowing little of classes I'm having some trouble making things work. Also having trouble finding the meaning of some error-codes. The code...
0
by: Nishini | last post by:
I am using "FtpFindFirstFile" function of wininet.dll in my application. I had the Declare statement for this function in my code but when I executed my applicaiton, it gave me an error saying...
0
by: Nishini | last post by:
I am using "FtpFindFirstFile" function of wininet.dll in my application. I had the Declare statement for this function in my code but when I executed my applicaiton, it gave me an error saying...
1
by: pro2c | last post by:
I have a problem decrypting the date and time recieved from WinInet. When i use cuteFTP i get the correct date and time, but using wininet API i get: (should be 24. March 2007): dwHighDateTime...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
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
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.