Thx so much to all, u guys are the best!!
And yes, that is VB.NET.
quote:
Originally posted by CookieRevised
code:
Command1.Value = True
Becomes
code:
cmdSearch.PerformClick()
In .NET
(i think)
quote:
Originally posted by CookieRevised
code:
Dim URLString As String
URLString = "http://www.google.com/search?q=" & Replace$(Text1.Text, " ", "+")
What is the $ used for? I've never used it in a replace() before.
quote:
Originally posted by CookieRevised
code:
Private Declare Function ShellExecute Lib "SHELL32" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Must i use the API ?
Did it that way anyways, for now
code:
ShellExecute(0&, vbNullString, URLString, vbNullString, vbNullString, vbNormalNoFocus)
Converted in .NET
What is '0&' for ?