Click here to Skip to main content
15,909,466 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionduplication of records in a Dataset Pin
viji]1-Oct-06 18:47
viji]1-Oct-06 18:47 
AnswerRe: duplication of records in a Dataset Pin
Christian Graus1-Oct-06 23:46
protectorChristian Graus1-Oct-06 23:46 
QuestionHow to set Internet Explorer Printer Page Setup etc. Paper Source, Size Using VB.NET Pin
Shakeel Anjum1-Oct-06 17:13
Shakeel Anjum1-Oct-06 17:13 
QuestionHow to Print in .Net like in VB6 Pin
Bso_Cool1-Oct-06 15:18
Bso_Cool1-Oct-06 15:18 
AnswerRe: How to Print in .Net like in VB6 Pin
Christian Graus1-Oct-06 15:44
protectorChristian Graus1-Oct-06 15:44 
QuestionHow I can Drag image and image will also move Pin
Aun62530-Sep-06 18:23
Aun62530-Sep-06 18:23 
AnswerRe: How I can Drag image and image will also move Pin
Christian Graus1-Oct-06 9:37
protectorChristian Graus1-Oct-06 9:37 
QuestionSearching word Pin
Xmen Real 30-Sep-06 18:15
professional Xmen Real 30-Sep-06 18:15 
hi i placed 2 richtextboxes and one button on a form
1st richtextbox named "result"
2nd richtextbox named "text1"

i want when i click on button,then it search the word "abcd" in text1.text, if found then write result.text in text1.text in second line("abcd" may be in any line)
so i coded on button :

If InStr(Text1.Text, "abcd") Then
text1.Text = text1.Text + InStr(text1.Text, "abcd") & Microsoft.VisualBasic.ChrW(13) + result.Text
End If

but it gives error that


An unhandled exception of type 'System.InvalidCastException' occurred in microsoft.visualbasic.dll

Additional information: Cast from string "abcd" to type 'Double' is not valid.
AnswerRe: Searching word Pin
Guffa1-Oct-06 0:45
Guffa1-Oct-06 0:45 
GeneralRe: Searching word Pin
Xmen Real 1-Oct-06 4:25
professional Xmen Real 1-Oct-06 4:25 
AnswerRe: Searching word Pin
Guffa1-Oct-06 5:47
Guffa1-Oct-06 5:47 
GeneralRe: Searching word Pin
Xmen Real 1-Oct-06 6:50
professional Xmen Real 1-Oct-06 6:50 
AnswerRe: Searching word Pin
Guffa1-Oct-06 8:16
Guffa1-Oct-06 8:16 
GeneralRe: Searching word Pin
Xmen Real 1-Oct-06 8:50
professional Xmen Real 1-Oct-06 8:50 
AnswerRe: Searching word Pin
Dave Kreskowiak1-Oct-06 9:12
mveDave Kreskowiak1-Oct-06 9:12 
GeneralRe: Searching word Pin
Guffa1-Oct-06 10:21
Guffa1-Oct-06 10:21 
GeneralRe: Searching word Pin
Dave Kreskowiak1-Oct-06 10:27
mveDave Kreskowiak1-Oct-06 10:27 
GeneralRe: Searching word Pin
Guffa1-Oct-06 11:23
Guffa1-Oct-06 11:23 
GeneralRe: Searching word Pin
Dave Kreskowiak1-Oct-06 12:53
mveDave Kreskowiak1-Oct-06 12:53 
GeneralRe: Searching word Pin
Xmen Real 1-Oct-06 18:04
professional Xmen Real 1-Oct-06 18:04 
GeneralRe: Searching word Pin
Dave Kreskowiak2-Oct-06 2:56
mveDave Kreskowiak2-Oct-06 2:56 
GeneralRe: Searching word Pin
Xmen Real 2-Oct-06 4:27
professional Xmen Real 2-Oct-06 4:27 
GeneralRe: Searching word Pin
Dave Kreskowiak2-Oct-06 4:48
mveDave Kreskowiak2-Oct-06 4:48 
GeneralRe: Searching word Pin
Xmen Real 2-Oct-06 9:00
professional Xmen Real 2-Oct-06 9:00 
QuestionSYSTEM DIR. Pin
msleem30-Sep-06 13:42
msleem30-Sep-06 13:42 

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.