Results 1 to 10 of 10

Thread: Web Button

  1. #1

    Thread Starter
    Frenzied Member met0555's Avatar
    Join Date
    Jul 2006
    Posts
    1,385

    Web Button

    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

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Web Button

    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?

  3. #3

    Thread Starter
    Frenzied Member met0555's Avatar
    Join Date
    Jul 2006
    Posts
    1,385

    Re: Web Button

    for a paypal donation button. and also for some advertisment

  4. #4
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: Web Button

    Are you talking about web app or windows app?

  5. #5

    Thread Starter
    Frenzied Member met0555's Avatar
    Join Date
    Jul 2006
    Posts
    1,385

    Re: Web Button

    windows app

  6. #6
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: Web Button

    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....

  7. #7
    Lively Member
    Join Date
    Jul 2005
    Posts
    67

    Re: Web Button

    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?

  8. #8
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Web Button

    paypal has an sdk available. Perhaps check their site for some programming documentation.

  9. #9
    Lively Member
    Join Date
    Jul 2005
    Posts
    67

    Re: Web Button

    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.

  10. #10

    Thread Starter
    Frenzied Member met0555's Avatar
    Join Date
    Jul 2006
    Posts
    1,385

    Re: Web Button

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width