Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using cookie with CDO
Message
De
16/10/2007 11:11:34
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Librairie contrôle Web
Titre:
Using cookie with CDO
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01261256
Message ID:
01261256
Vues:
54
I have this code to retrieve the content of an HTML page and store it into a MHTML format:
        Dim loMessage As CDO.Message = New CDO.Message
        Dim loStream As ADODB.Stream

        loMessage.CreateMHTMLBody("http://www.levelextreme.com", CDO.CdoMHTMLFlags.cdoSuppressNone, "", "")
        loStream = loMessage.GetStream()
        loStream.SaveToFile("D:\Test.mhtml")
However, in another page I need to access, it requires the presence of a cookie to be set. This is done by accessing a page where the username and password is entered in a form. Then, the cookie is stored. How can I implement this so CDO will know about it?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform