Click here to Skip to main content
15,889,315 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Help w/ loop & directing data to field Pin
elRaptor29-Dec-03 8:12
elRaptor29-Dec-03 8:12 
GeneralRe: Help w/ loop & directing data to field Pin
tiffanydw30-Dec-03 5:20
tiffanydw30-Dec-03 5:20 
GeneralNotifyIcon in .net service Pin
mosquitooth28-Dec-03 9:10
mosquitooth28-Dec-03 9:10 
GeneralRe: NotifyIcon in .net service Pin
Ray Cassick29-Dec-03 3:40
Ray Cassick29-Dec-03 3:40 
GeneralTimer Controll IN VB Pin
livega28-Dec-03 2:05
livega28-Dec-03 2:05 
GeneralRe: Timer Controll IN VB Pin
Hesham Amin28-Dec-03 23:56
Hesham Amin28-Dec-03 23:56 
GeneralRe: Timer Controll IN VB Pin
Dave Kreskowiak29-Dec-03 7:21
mveDave Kreskowiak29-Dec-03 7:21 
GeneralRemoving selected text Pin
compukeith28-Dec-03 0:39
compukeith28-Dec-03 0:39 
OK, I'm builing an app (in VB6 as I know it much more than .NET) that has only two form items. A combo box and a button. The combo box has about twenty options that the user can select and it will launch IE and take the user to the specified page. The user can also type in a fully qualified domain name and it will take them to that page.

All that works perfectly.

However, I am trying to add the ability for users to search google by typing "Google:blah" replacing blah with whatever they want to search for. The way it's working right now is that it is trying to open a webpage with the name "google:blah" and of course, IE can't find it.

I have it coded to select the first 7 characters in the text box, but can't get it to remove them and search google if the first sever characters are "Google:". Any help? I'm just not sure how to remove the selected text. I was trying the following code, but it's not working:

go = go - cboChoose.selText
'I also tried this:
go = go - cboChoose.selLength

Here's a copy of the current file so you can see what I mean.

Any help?
GeneralRe: Removing selected text Pin
skrtbh28-Dec-03 8:07
skrtbh28-Dec-03 8:07 
GeneralRe: Removing selected text Pin
compukeith28-Dec-03 14:23
compukeith28-Dec-03 14:23 
GeneralRe: Removing selected text Pin
skrtbh29-Dec-03 9:05
skrtbh29-Dec-03 9:05 
GeneralRe: Removing selected text Pin
compukeith29-Dec-03 11:30
compukeith29-Dec-03 11:30 
GeneralRe: Removing selected text Pin
skrtbh29-Dec-03 9:11
skrtbh29-Dec-03 9:11 
GeneralRe: Removing selected text Pin
compukeith29-Dec-03 12:01
compukeith29-Dec-03 12:01 
GeneralRe: Removing selected text Pin
skrtbh30-Dec-03 7:28
skrtbh30-Dec-03 7:28 
GeneralRe: Removing selected text Pin
compukeith30-Dec-03 7:57
compukeith30-Dec-03 7:57 
GeneralRe: Removing selected text Pin
skrtbh30-Dec-03 8:46
skrtbh30-Dec-03 8:46 
GeneralRe: Removing selected text Pin
compukeith30-Dec-03 9:45
compukeith30-Dec-03 9:45 
GeneralRe: Removing selected text Pin
compukeith30-Dec-03 11:01
compukeith30-Dec-03 11:01 
GeneralRe: Removing selected text Pin
skrtbh31-Dec-03 7:18
skrtbh31-Dec-03 7:18 
GeneralRe: Removing selected text Pin
compukeith31-Dec-03 11:50
compukeith31-Dec-03 11:50 
GeneralRe: Removing selected text Pin
skrtbh1-Jan-04 2:03
skrtbh1-Jan-04 2:03 
GeneralRe: Removing selected text Pin
compukeith1-Jan-04 15:27
compukeith1-Jan-04 15:27 
General.NET version now available! Pin
skrtbh3-Jan-04 1:50
skrtbh3-Jan-04 1:50 
GeneralRe: .NET version now available! Pin
compukeith3-Jan-04 2:01
compukeith3-Jan-04 2:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.