Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using cookie with CDO
Message
From
16/10/2007 11:11:34
 
 
To
All
General information
Forum:
ASP.NET
Category:
Web control library
Title:
Using cookie with CDO
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01261256
Message ID:
01261256
Views:
53
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
Next
Reply
Map
View

Click here to load this message in the networking platform