Is there anyone who can give a plain script in VB to start proramming...

Jul 8, 2013 at 8:19 PM
Edited Jul 9, 2013 at 8:06 PM

I'm looking for hours to find a VB script that shows me how to start a program.
I've the comsumerkeys and tokenkeys...but every attempt fail to get a bit back from Twitter

A example : (please give me some good suggestions or example or corrections!! Thanx)

Imports System.Configuration
Imports System.Linq
Imports System.Threading
Imports System.Windows.Forms
Imports LinqToTwitter

Public Class Form1
Dim myLogin As IOAuthCredentials = New InMemoryCredentials
Dim myUser As New User

Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    myLogin.ConsumerKey = "xxxxxxxxXwKROaGxxxxx"
    myLogin.ConsumerSecret = "xxxxxxxxxAfN3Y8uTbXpzPonQnAxxxxx"
    myLogin.OAuthToken = "xxxxxxxxxxxxxxxxx5Aqg0iuMnQS8ckdxxxxxxx"
    myLogin.AccessToken = "xxxxxxxxxxxxxxxxxxbldSlXI9L6ySZ0xxxxxxxxx"
End Sub

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click


End Sub
End Class

Jul 9, 2013 at 2:50 AM
Hi Jurgen,

The downloadable source code contains a project named LinqToTwitterVB that contains examples of how to use LINQ to Twitter with VB.

Jul 9, 2013 at 8:04 PM
Hi Joe,

Thanks for reply! very helpfull!

Can you please give suggestions in my code above...?
Can it also work in that way...?

Thanks in advance!!

Jul 10, 2013 at 7:28 PM
Your code above is far from what's required and needs more time than can be dedicated in forum posts. The Samples page has a Windows Forms demo. It's written in C#, but the code would be very similar to VB and the design would be the same. It's better if you translate the sample, get that working, and then make modifications to your application according to what you've learned.