Click here to Skip to main content
16,006,378 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Remove the (Forward) slash in a TextBox Pin
Bob Zagars14-Jan-06 8:46
Bob Zagars14-Jan-06 8:46 
GeneralRe: Remove the (Forward) slash in a TextBox Pin
Joshua Quick14-Jan-06 9:00
Joshua Quick14-Jan-06 9:00 
GeneralRe: Remove the (back) slash in a TextBox Pin
Bob Zagars14-Jan-06 10:38
Bob Zagars14-Jan-06 10:38 
AnswerRe: Remove the back slash in a TextBox Pin
Joshua Quick14-Jan-06 11:07
Joshua Quick14-Jan-06 11:07 
GeneralRe: Remove the back slash in a TextBox Pin
Bob Zagars14-Jan-06 11:28
Bob Zagars14-Jan-06 11:28 
GeneralRe: Remove the back slash in a TextBox Pin
Joshua Quick14-Jan-06 12:22
Joshua Quick14-Jan-06 12:22 
GeneralRe: Remove the back slash in a TextBox Pin
Bob Zagars14-Jan-06 12:38
Bob Zagars14-Jan-06 12:38 
GeneralRe: Remove the back slash in a TextBox Pin
Joshua Quick14-Jan-06 12:58
Joshua Quick14-Jan-06 12:58 
Bob Zagars wrote:
Dim myStartPointer As Integer = Me.ebLoginName.Text().IndexOf("\")
Dim myLength As Integer = Me.ebLoginName.TextLength()
Dim myString As String = Me.ebLoginName.Text()
If myStartPointer >= 0 Then
Me.ebLoginName.Text() = myString.Substring(myStartPointer + 1)
Me.mccDomain.Clear()
End If


I've just ran your above code with the string "MYDOMAIN\test". It worked for me. Either the input string is not what you expected or the problem lies elsewhere in your code. In either case, I recommend that you step through your code in the debugger and keep a sharp eye on your ebLoginName.Text property.
GeneralRe: Remove the back slash in a TextBox Pin
Bob Zagars14-Jan-06 13:14
Bob Zagars14-Jan-06 13:14 
GeneralRe: Remove the back slash in a TextBox Pin
Bob Zagars14-Jan-06 11:40
Bob Zagars14-Jan-06 11:40 
GeneralRe: Remove the back slash in a TextBox Pin
Joshua Quick14-Jan-06 12:04
Joshua Quick14-Jan-06 12:04 
GeneralRe: Remove the back slash in a TextBox Pin
Bob Zagars14-Jan-06 12:10
Bob Zagars14-Jan-06 12:10 
AnswerRe: Remove the back slash in a TextBox Pin
CodyGen15-Jan-06 4:37
CodyGen15-Jan-06 4:37 
GeneralRe: Remove the back slash in a TextBox Pin
Dave Kreskowiak15-Jan-06 16:35
mveDave Kreskowiak15-Jan-06 16:35 
Questioninvoke to marshal Pin
Makniteasy14-Jan-06 8:07
Makniteasy14-Jan-06 8:07 
AnswerRe: invoke to marshal Pin
Joshua Quick14-Jan-06 8:52
Joshua Quick14-Jan-06 8:52 
QuestionPassing values to a page....... Pin
daviiie13-Jan-06 23:14
daviiie13-Jan-06 23:14 
AnswerRe: Passing values to a page....... Pin
mrabaya14-Jan-06 7:21
mrabaya14-Jan-06 7:21 
QuestionHi I 'm new Need Help abt VB Pin
gorillazpetersu13-Jan-06 20:05
gorillazpetersu13-Jan-06 20:05 
AnswerRe: Hi I 'm new Need Help abt VB Pin
Joshua Quick13-Jan-06 21:45
Joshua Quick13-Jan-06 21:45 
AnswerRe: Hi I 'm new Need Help abt VB Pin
mrabaya14-Jan-06 7:27
mrabaya14-Jan-06 7:27 
GeneralRe: Hi I 'm new Need Help abt VB Pin
gorillazpetersu14-Jan-06 15:16
gorillazpetersu14-Jan-06 15:16 
QuestionHow do I bind a multi-table DataSet to a Web Forms DataGrid Pin
kenn_rosie13-Jan-06 15:39
kenn_rosie13-Jan-06 15:39 
QuestiondataGrid Pin
andy3813-Jan-06 15:20
andy3813-Jan-06 15:20 
QuestionAPI.User32 Pin
militiaware13-Jan-06 13:08
militiaware13-Jan-06 13:08 

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.