Click here to Skip to main content
15,886,963 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Http Request without ASP.NET? Pin
Luc Pattyn11-Jul-12 3:36
sitebuilderLuc Pattyn11-Jul-12 3:36 
GeneralRe: Http Request without ASP.NET? Pin
Sonhospa11-Jul-12 4:18
Sonhospa11-Jul-12 4:18 
AnswerRe: Http Request without ASP.NET? Pin
Luc Pattyn11-Jul-12 4:32
sitebuilderLuc Pattyn11-Jul-12 4:32 
GeneralRe: Http Request without ASP.NET? Pin
Sonhospa11-Jul-12 6:03
Sonhospa11-Jul-12 6:03 
AnswerRe: Http Request without ASP.NET? Pin
Luc Pattyn11-Jul-12 6:44
sitebuilderLuc Pattyn11-Jul-12 6:44 
QuestionRe: Http Request without ASP.NET? Pin
Sonhospa11-Jul-12 9:12
Sonhospa11-Jul-12 9:12 
AnswerRe: Http Request without ASP.NET? Pin
Luc Pattyn11-Jul-12 10:23
sitebuilderLuc Pattyn11-Jul-12 10:23 
NewsRe: Http Request without ASP.NET? Pin
Sonhospa11-Jul-12 12:09
Sonhospa11-Jul-12 12:09 
WOW - thank you for digging in so deep... that's actually what I wanted to prevent you forum experts from Wink | ;) And: You also made me really happy by not supplying a Google link which supplies 100 perfect samples Laugh | :laugh:

1) I could finally find it and add a reference after changing the target framework from ".NET 4 Client Profile" to ".NET 4". Before, using the default Client Profile (by now I never realized a difference), the System.Web namespace only offered 2 AspNet-Classes and an AspNet-Enum, so that I'd say it's been hidden extremely well

2) After following your hint with an additional "Imports System.Web.HttpApplication" a slight change first seemed to make it:
Dim httpReq As System.Web.HttpApplication = Nothing
Dim Param() As Byte = httpReq.Request.BinaryRead(HttpContext.Current.Request.ContentLength)
I could at least start debugging... immediately running into a 'NullReferenceException' in the same line Dead | X| Due to 5) I finally decided to not go on debugging this one, but rather dig into the PayPal Api.

3) The incoming request has to be sent back identically and with an addition for security reasons. If both are identical, PayPal only sends "VERIFIED" or otherwise "INVALID". That's part of their procedures.

4) Thank you for the snippet – I'll keep it for possible future challenges so I wouldn't have to bother you guys Wink | ;)

5) For any future challenges of yourself you might be interested in this brand-new information. After reading up and down the whole web for days, realizing that even experienced programmers don't really want to deal with the PayPal API, I immediately checked a sample project out... and seem to be on a very good way!!! Thumbs Up | :thumbsup: The sample I meanwhile adapted is still using ASP.NET, but in the browser I can obviously access the needed variables already (using my Sandbox test accounts).

6) Doing that was part of my "homework" while before asking in the forum... Wink | ;)

I'll surely have to master a few challenges before having my WinForms solution running (most likely with the same sort of problems finding the appropriate namespace), but I'm more confident now. Still thank you for consideration – for now I wish you a fond good night!

Regards
Mick
AnswerRe: Http Request without ASP.NET? Pin
Luc Pattyn11-Jul-12 12:24
sitebuilderLuc Pattyn11-Jul-12 12:24 
QuestionHow to Inverse a Matrix in VBA ? Pin
caokeguan10-Jul-12 17:45
caokeguan10-Jul-12 17:45 
AnswerRe: How to Inverse a Matrix in VBA ? Pin
Sonhospa11-Jul-12 4:32
Sonhospa11-Jul-12 4:32 
AnswerRe: How to Inverse a Matrix in VBA ? Pin
Luc Pattyn11-Jul-12 4:42
sitebuilderLuc Pattyn11-Jul-12 4:42 
Generaltask manager Pin
aliali7410-Jul-12 8:14
aliali7410-Jul-12 8:14 
GeneralRe: task manager Pin
Dave Kreskowiak10-Jul-12 8:22
mveDave Kreskowiak10-Jul-12 8:22 
GeneralRe: task manager Pin
Wes Aday10-Jul-12 9:35
professionalWes Aday10-Jul-12 9:35 
QuestionProperty changed event in standard control Pin
908236510-Jul-12 6:28
908236510-Jul-12 6:28 
AnswerRe: Property changed event in standard control Pin
Sonhospa10-Jul-12 8:11
Sonhospa10-Jul-12 8:11 
AnswerRe: Property changed event in standard control Pin
Eddy Vluggen10-Jul-12 9:18
professionalEddy Vluggen10-Jul-12 9:18 
GeneralRe: Property changed event in standard control Pin
908236511-Jul-12 9:03
908236511-Jul-12 9:03 
GeneralRe: Property changed event in standard control Pin
Dave Kreskowiak11-Jul-12 9:11
mveDave Kreskowiak11-Jul-12 9:11 
GeneralRe: Property changed event in standard control Pin
908236511-Jul-12 11:52
908236511-Jul-12 11:52 
GeneralRe: Property changed event in standard control Pin
_obi_1-Aug-12 7:31
_obi_1-Aug-12 7:31 
QuestionHelo Guys i need your help Pls Pin
samfrancis10-Jul-12 1:18
samfrancis10-Jul-12 1:18 
AnswerRe: Helo Guys i need your help Pls Pin
Nick Otten10-Jul-12 2:36
Nick Otten10-Jul-12 2:36 
AnswerRe: Helo Guys i need your help Pls Pin
Wes Aday10-Jul-12 2:56
professionalWes Aday10-Jul-12 2:56 

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.