hi, i would like to know if it's possible to put a web button on a vb.net and vb6 programs?? if it's then how??
tanks
Printable View
hi, i would like to know if it's possible to put a web button on a vb.net and vb6 programs?? if it's then how??
tanks
only in HTML being displayed on a windows form using the browser control or something equivelant.
Why would you need a web button versus just a windows form button?
for a paypal donation button. and also for some advertisment
Are you talking about web app or windows app?
windows app
For a windows app, you can use a regular button or a link label to launch the browser to a specific url... Just use Process.Start(url) in the click event....
This is something I'm interested in adding into a couple of my apps.
Using the process.start(URL) method calls up the paypal website, but how do you get it to open up with the posted form details thus displaying the correct details of whom to pay to?
I've got the code for the button you'd paste into a web page. It has 2 fields, cmd and encrypted.
I've tried to call the fields as part of the url string (URL&cmd=s-xclick&encrypted=----- BEGIN PKC57-------L0t50f3ncry9t3DD4t4...........) but that tells me I'm forbidden from opening that page.
so how do you include those posted fields into an opening web page?
paypal has an sdk available. Perhaps check their site for some programming documentation.
I had a look at that before posting, but it's geared towards web services and asp applications running on ISA servers.
I'm on about a simple stand alone vb.net app with a button to pass on the same information that would normally be passed from the code they give your for your website.
I also thought of using webclient but then that's more for the application to post directly to a form page rather than display the page returned from the initial form.
well, acyualy they will also give for a link of donation via e-mail so u just take the link of that and it will work