Click here to Skip to main content
15,899,937 members
Home / Discussions / Web Development
   

Web Development

 
QuestionActivex controls in .Net ? Pin
Hari 200919-Mar-03 6:41
Hari 200919-Mar-03 6:41 
GeneralHELP - Excell-like grid. URGENT!!!! Pin
Anonymous18-Mar-03 23:06
Anonymous18-Mar-03 23:06 
Generalan update... Pin
Anonymous19-Mar-03 0:32
Anonymous19-Mar-03 0:32 
QuestionHTC IFRAME BUG? Pin
cowtram18-Mar-03 16:58
cowtram18-Mar-03 16:58 
Generalneed help over this asp problem Pin
Pappo17-Mar-03 10:21
Pappo17-Mar-03 10:21 
GeneralRe: need help over this asp problem Pin
Thesisus17-Mar-03 10:29
Thesisus17-Mar-03 10:29 
GeneralRe: need help over this asp problem Pin
Anonymous21-Mar-03 9:50
Anonymous21-Mar-03 9:50 
QuestionWhere to begin? Pin
thorflea17-Mar-03 6:23
thorflea17-Mar-03 6:23 
We have a pay service that provides us information, via web, on a daily basis. I am trying to build an application to automate the logon and file download that a user has to do today. I have started with the webbrowser control to hit the site and login and then use the WebClient.DownloadFile() to get the .PDF files. There web server sees this attempt as two different sessions from different computers. So I added some headers to the webclient to make it look more like the WebBrowser control request:

Me.WebClient1.Headers.Add("User-Agent", "Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SALT+1.0.3404.1+1007+Developer;+.NET+CLR+1.0.3705)")
Me.WebClient1.Headers.Add("Cookie", Me.AxWebBrowser1.Document.cookie())
Me.WebClient1.Headers.Add("Referer", Me.AxWebBrowser1.Document.url)

My last option would be to use Me.AxWebBrowser1.Document.Links(intPDFFileIndex).Click() and a SendKeys combination to do it all from the Web Browser control.

I have not seen much help anywhere for automating downloading of content in .NET. I can't be the only one wanting to do this? Right?

OMG | :OMG: Is there a better approach?


Generalupload frames Pin
Brakanjan17-Mar-03 1:02
Brakanjan17-Mar-03 1:02 
GeneralRe: upload frames Pin
Jonavis20-Mar-03 21:49
Jonavis20-Mar-03 21:49 
GeneralFileSystemObject Problems Pin
Dion15-Mar-03 15:21
Dion15-Mar-03 15:21 
GeneralRe: FileSystemObject Problems Pin
Philip Patrick19-Mar-03 10:06
professionalPhilip Patrick19-Mar-03 10:06 
GeneralQuestion about ONSELECTSTART event of HTML body. Pin
George215-Mar-03 1:45
George215-Mar-03 1:45 
GeneralRe: Question about ONSELECTSTART event of HTML body. Pin
Paul Watson16-Mar-03 22:50
sitebuilderPaul Watson16-Mar-03 22:50 
GeneralRe: Question about ONSELECTSTART event of HTML body. Pin
George217-Mar-03 1:30
George217-Mar-03 1:30 
GeneralRe: Question about ONSELECTSTART event of HTML body. Pin
DFU2317-Mar-03 14:19
DFU2317-Mar-03 14:19 
GeneralDatabase connection Pin
TPN15-Mar-03 0:26
TPN15-Mar-03 0:26 
GeneralRe: Database connection Pin
Paul Watson16-Mar-03 22:34
sitebuilderPaul Watson16-Mar-03 22:34 
GeneralRe: Database connection Pin
TPN17-Mar-03 3:58
TPN17-Mar-03 3:58 
QuestionThe best way to manage user session ? Pin
TPN14-Mar-03 23:59
TPN14-Mar-03 23:59 
AnswerRe: The best way to manage user session ? Pin
Thesisus17-Mar-03 10:33
Thesisus17-Mar-03 10:33 
GeneralRe: The best way to manage user session ? Pin
TPN17-Mar-03 16:24
TPN17-Mar-03 16:24 
GeneralRe: The best way to manage user session ? Pin
Florin Ochiana27-Mar-03 13:07
Florin Ochiana27-Mar-03 13:07 
Questionhow browser remember's a link Pin
uzwa14-Mar-03 10:40
uzwa14-Mar-03 10:40 
AnswerRe: how browser remember's a link Pin
Torsten Mauz14-Mar-03 15:01
Torsten Mauz14-Mar-03 15:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.