Click here to Skip to main content
15,904,346 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Trying to connect to SAP Pin
A_Griffin20-Aug-17 8:45
A_Griffin20-Aug-17 8:45 
Questionvb.net desktop increase display size of app Pin
dcof16-Aug-17 4:03
dcof16-Aug-17 4:03 
AnswerRe: vb.net desktop increase display size of app Pin
Eddy Vluggen16-Aug-17 5:06
professionalEddy Vluggen16-Aug-17 5:06 
AnswerRe: vb.net desktop increase display size of app Pin
Graham Irons16-Aug-17 21:09
Graham Irons16-Aug-17 21:09 
GeneralRe: vb.net desktop increase display size of app Pin
Mycroft Holmes16-Aug-17 21:34
professionalMycroft Holmes16-Aug-17 21:34 
GeneralRe: vb.net desktop increase display size of app Pin
Graham Irons16-Aug-17 21:43
Graham Irons16-Aug-17 21:43 
GeneralRe: vb.net desktop increase display size of app Pin
Mycroft Holmes16-Aug-17 21:56
professionalMycroft Holmes16-Aug-17 21:56 
QuestionHTTPS WebRequest failing with ThreadAbortException Pin
Peter R. Fletcher4-Aug-17 5:45
Peter R. Fletcher4-Aug-17 5:45 
I am trying to download pricing data from Commonwealth Edison via their recently published Hourly Pricing API. This uses GETs from defined HTTPS URLs, and I have confirmed that typing the appropriate calls into a Web Browser results in the return of the data in the expected format. My code is as follows:
wc = New WebClient
strGet = "https://hourlypricing.comed.com/api?type=5minutefeed&datestart=201708040835&dateend=201708041035"
strResult = wc.DownloadString(strGet)

In the real Application, strGet is put together by other code, but I have checked that this is working correctly. The code here aborts with a ThreadAbortException in System.dll at the DownloadString call. If I substitute an HTTP location on one of my sites for Comed's HTTPS location in strGet, everything works as it should, and the file data is retrieved.

I have researched this and tried a number of suggested 'cures' for problems with HTTPS connections under VB.NET, but the problem persists.

Helpful suggestions welcomed!
SuggestionRe: HTTPS WebRequest failing with ThreadAbortException Pin
Richard Deeming4-Aug-17 5:59
mveRichard Deeming4-Aug-17 5:59 
GeneralRe: HTTPS WebRequest failing with ThreadAbortException Pin
Peter R. Fletcher4-Aug-17 7:49
Peter R. Fletcher4-Aug-17 7:49 
GeneralRe: HTTPS WebRequest failing with ThreadAbortException Pin
Peter R. Fletcher5-Aug-17 5:09
Peter R. Fletcher5-Aug-17 5:09 
QuestionWinhttp and p12 certificate Pin
Crazy Joe Devola24-Jul-17 19:12
Crazy Joe Devola24-Jul-17 19:12 
AnswerRe: Winhttp and p12 certificate Pin
Richard MacCutchan24-Jul-17 21:15
mveRichard MacCutchan24-Jul-17 21:15 
GeneralRe: Winhttp and p12 certificate Pin
Crazy Joe Devola24-Jul-17 21:28
Crazy Joe Devola24-Jul-17 21:28 
SuggestionRe: Winhttp and p12 certificate Pin
Richard Deeming25-Jul-17 0:55
mveRichard Deeming25-Jul-17 0:55 
GeneralRe: Winhttp and p12 certificate Pin
Crazy Joe Devola25-Jul-17 11:44
Crazy Joe Devola25-Jul-17 11:44 
GeneralRe: Winhttp and p12 certificate Pin
Dave Kreskowiak25-Jul-17 13:17
mveDave Kreskowiak25-Jul-17 13:17 
AnswerRe: Winhttp and p12 certificate Pin
Crazy Joe Devola26-Jul-17 10:51
Crazy Joe Devola26-Jul-17 10:51 
Questionhelp me Pin
ago248621-Jul-17 9:52
ago248621-Jul-17 9:52 
AnswerRe: help me Pin
Afzaal Ahmad Zeeshan21-Jul-17 11:36
professionalAfzaal Ahmad Zeeshan21-Jul-17 11:36 
GeneralRe: help me Pin
ago248622-Jul-17 1:36
ago248622-Jul-17 1:36 
GeneralRe: help me Pin
Richard MacCutchan22-Jul-17 2:44
mveRichard MacCutchan22-Jul-17 2:44 
GeneralRe: help me Pin
Eddy Vluggen23-Jul-17 2:58
professionalEddy Vluggen23-Jul-17 2:58 
GeneralRe: Pin
ago248623-Jul-17 4:31
ago248623-Jul-17 4:31 
GeneralRe: Pin
Eddy Vluggen23-Jul-17 8:16
professionalEddy Vluggen23-Jul-17 8:16 

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.