Posts

Showing posts from January, 2013

Advertisement.

TransHimalaya.in

Everest Helicopter Tour for a day

Book exciting packages at www.transhimalaya.in

VB.NET Facebook C# SDK to post on users profile and pages

VB.NET Facebook C# SDK to post on users profile and pages

Throughout digging in to internet finally i am writing this for VB.net geeks:

Step1 : Install FB C# SDK through Nuget in Visual studio 2010. (Install Nuget first if dont have)

Step2: Creat new VB.new Windows Project.

Step3. Right click project >  Manage Nuget Packages (Its below add reference)

Now you are ready to have reference to use FB C# SDK in Vb.Net App without creating/converting DLL.

Open your Form.vb
and import Facebook.

Here is an simple example to get detail of any fb userid.
Prerequisite. > Create a simple test app in FB developer  > Go to your apps permission and give some extended permission like: publish_stream,offline_access,read_stream,manage_pages
> Create a webbrowser control and textbox in your form > nevigate using webbrowser useyour app id as client id > on run webbrowser  will ask your user id and password and allow permission for app.. at the end it will leave u with current access tok…

VB.Net with Facebook C# SDK Access Token example

Throughout digging in to internet finally i am writing this for VB.net geeks:

Step1 : Install FB C# SDK through Nuget in Visual studio 2010. (Install Nuget first if dont have)

Step2: Creat new VB.new Windows Project.

Step3. Right click project >  Manage Nuget Packages (Its below add reference)

Now you are ready to have reference to use FB C# SDK in Vb.Net App without creating/converting DLL.

Open your Form.vb
and import Facebook.

Here is an simple example to get detail of any fb userid.


Imports Facebook
Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim fb = New FacebookClient()         Dim result = fb.[Get]("oauth/access_token", New With { _          .client_id = "311353800176", _          .client_secret = "d343aa747b817606a943430584899c73", _          .grant_type = "client_credentials" _         })  'Get these details from your app developer page of fb         Dim acc…

VB.Net with Facebook C# SDK Simple Example to access user details

Throughout digging in to internet finally i am writing this for VB.net geeks:

Step1 : Install FB C# SDK through Nuget in Visual studio 2010. (Install Nuget first if dont have)

Step2: Creat new VB.new Windows Project.

Step3. Right click project >  Manage Nuget Packages (Its below add reference)

Now you are ready to have reference to use FB C# SDK in Vb.Net App without creating/converting DLL.

Open your Form.vb
and import Facebook.

Here is an simple example to get detail of any fb userid.


Imports Facebook
Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  Dim fb1 = New FacebookClient()         Dim result1 = fb1.[Get]("vinodkotiya") '"vinodkotiya?fields=id"         TextBox1.Text = result1.ToString    'or use result1(0).ToString  End Sub
End Class
- By Vinod Kotiya

How to Find Bapi for Particular Transaction in SAP

How to find function module or Bapi for particular transaction in sap?
If you mean that you need to know what BAPI's a particular tranx uses, which I can only assume that's what you mean, then you should access the code behind the transaction and search for 'CALL'. That normally is the standard method that think that most people use. 
Suppose you want to find the bapi for getting employee data, you usually use transaction ZHR820 for this. 
1. Find out the package of the transaction. 
run ZHR820 go to system --> status. 
Double click on transaction 
Package is ZHR
Open this package in SE80 
Open business engineering-->Business object types 
Find the BO which sounds the most appropriate 
I would suggest ZHRPROB
Double click. 
Open methods. 
Find the released method with from data or something similar in the name 
, Createfromdat2 
Position the cursor in it and click the program button 
Scroll down to find the bapi used in this method 
With this way you can also fi…

VS2010 vb.net SAP.net connector Step by step guide to send parameter and get result from BAPI Function

In continuatiuon to my Last Post:



Imports SAP.Middleware.Connector

Public Class ECCDestinationConfig
    Implements IDestinationConfiguration

    Public Event ConfigurationChanged(ByVal destinationName As String, ByVal args As RfcConfigurationEventArgs) Implements IDestinationConfiguration.ConfigurationChanged

    Public Function GetParameters(ByVal destinationName As String) As RfcConfigParameters Implements IDestinationConfiguration.GetParameters

        Dim parms As New RfcConfigParameters

        Select Case destinationName

            Case "DEV"

                parms.Add(RfcConfigParameters.AppServerHost, "10.0.0.47")
                parms.Add(RfcConfigParameters.SystemNumber, "00")
                parms.Add(RfcConfigParameters.SystemID, "ED1")
                parms.Add(RfcConfigParameters.User, "009383")
                parms.Add(RfcConfigParameters.Password, "vvvvv")
                parms.Add(RfcConfigParameters.Client, "100&q…

VS2010 vb.net SAP.net connector Step by step guide to get result from BAPI Function

The 3.0 connector doesn't work this way> right click my project and "Add Item" and one of those items should be an SAP Proxy object item. Instead

For Visual Studio 2010, you will need to download the latest one:
sapnco30dotnet40P_3-20007347.zip
Unzip and install to a convenient location on your machine.

Create An App

Right click on project and select “Add Reference”When window opens, select “Browse” and navigate to the folder where you installed the SAP Nco Connector.You will need to select the following dll:Sapnco.dllSapnco_utils.dll  First, create a class that implements IDestinationConfiguration.  VB.NET code shown below.


Imports SAP.Middleware.Connector

Public Class ECCDestinationConfig
    Implements IDestinationConfiguration

    Public Event ConfigurationChanged(ByVal destinationName As String, ByVal args As RfcConfigurationEventArgs) Implements IDestinationConfiguration.ConfigurationChanged

    Public Function GetParameters(ByVal destinationName As String) As RfcCon…

Google+ Followers