Click here to Skip to main content
15,893,594 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
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 
The problem seems to be what I can only describe as a deficiency in the Visual Studio environment - the clue was the information message described in my previous response.

My usual way of testing an isolated Sub or Function while I am developing an application is either to invoke it directly from the Immediate Window, or, if this is not convenient (as it frequently isn't), to write a stub Sub which uses it and invoke that from the Immediate Window. This has always worked for me before. It appears that there is an issue with doing this to test (at least some) WebClient code, presumably because of some aspect of how code invoked from the Immediate Window is interpreted and run. If I put the code clipping from my first message in the Form_Load Function of a Windows Forms App and run the App, the code runs normally and returns the expected JSON string. If I put the identical code in a Public Sub and invoke the Sub from the VS Immediate Window, it throws the ThreadAbortException that I originally described. Perhaps the most bizarre aspect of this is the fact that the misbehavior is dependent on the URL in the request being an HTTPS one - as I noted, requests involving HTTP URLs are handled correctly, even when the code is run from the Immediate Window.
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 
QuestionConverting C# to VB.net but code gives null reference Pin
Shane James21-Jul-17 0:56
Shane James21-Jul-17 0:56 
AnswerRe: Converting C# to VB.net but code gives null reference Pin
Richard MacCutchan21-Jul-17 1:15
mveRichard MacCutchan21-Jul-17 1:15 
AnswerRe: Converting C# to VB.net but code gives null reference Pin
Ralf Meier21-Jul-17 2:33
mveRalf Meier21-Jul-17 2:33 

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.