open google search from vb program

Discussion in 'AdSense' started by isnoend07, Jul 23, 2007.

  1. #1
    Hi all
    I have been running adsense and google search on my website for about 4 years
    I sell roof estimating software. I want to add google search to my vb estimating software. I can open the search like this:
    Private Sub SearchGoogle(strSearchString As String)
    If InStr(1, strSearchString, " ") Then
    strSearchString = Replace(strSearchString, " ", "+")
    End If

    Call ShellExecute(Me.hWnd, "Open", "www.google.com/search?hl=en&q=" & strSearchString & "&meta=", _
    vbNullString, vbNullString, vbNormal)


    End Sub and call it like this:
    Call SearchGoogle(txtGoogleSearch)
    How can i add my account number into this code?http://forums.digitalpoint.com/images/icons/icon5.gif
    Question
     
    isnoend07, Jul 23, 2007 IP
  2. eniram

    eniram Peon

    Messages:
    220
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    eniram, Jul 23, 2007 IP
  3. isnoend07

    isnoend07 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Must be some kind of click fraud thing
     
    isnoend07, Jul 23, 2007 IP
  4. eniram

    eniram Peon

    Messages:
    220
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can't insert Google code into any software application. Yes, violation of TOS.
     
    eniram, Jul 23, 2007 IP