Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8537847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:59:49+00:00 2026-06-11T10:59:49+00:00

I would like to know how to add Like button in VB.NET winforms application.

  • 0

I would like to know how to add Like button in VB.NET winforms application.
I created index.html which include iframe to call Facebook Like Button
Now I used WebBrowser Control to show Facebook Like Button.
It appear in my form and can login with Facebook account the problem is Like Count is not increase, please help me!!!

This is sample code I used

index.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title></title>

</head>
<body>
<iframe src="http://www.facebook.com/plugins/like.php?href=https%3A%2F    %2Fwww.facebook.com%2Fchequeprintingsoftware&amp;send=false&amp;layout=standard&    amp;width=450&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font&    amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>



</body>
</html>

VB.NET

Private Sub frmFaceBookLike_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
        Dim html As String
        html = File.ReadAllText(Application.StartupPath & "\index.html")
        WebBrowser1.DocumentText = html
End Sub
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T10:59:50+00:00Added an answer on June 11, 2026 at 10:59 am

    The Like button was designed for use in web environments – you know, the page is hosted on a server, Facebook can scrape the URL, and so on. The way you’ve implemented the Like button is rather innovative – but ultimately, it won’t really work, as you can see – in your case, the count isn’t increasing.

    A better solution, is to use the Open Graph, and have your own implementation of the Like button. In such a scenario, you’d use the Facebook C# SDK, and use the Like action provided by the Open Graph, to create your own Like button. You can find more details about the Open Graph’s Like action here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know how I can add a counter to a button
I would like to know how and if I can add standard HTML elements
I would like to know how to add menus similar to this to my
I would like to know how I can add ImageView Elements to a Region
I would like to know is it possible to add css to one of
I would like to know if it could be possible to add a file
so I would like to know if in cocos2D it is possible to add
Afternoon, I would like to know how i can add a class depending on
Programming in C#.NET 4.0 is my latest passion, and I would like to know
I would like to know how to put a button inside a frame that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.