Click here to Skip to main content
15,896,154 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionremoving xmlns="" [modified] Pin
ONeil Tomlinson19-Mar-07 4:48
ONeil Tomlinson19-Mar-07 4:48 
AnswerRe: removing xmlns="" Pin
Johan Hakkesteegt20-Mar-07 0:49
Johan Hakkesteegt20-Mar-07 0:49 
QuestionDo I need an adapter/connection to run an SQL statement? Pin
penguin500019-Mar-07 4:03
penguin500019-Mar-07 4:03 
AnswerRe: Do I need an adapter/connection to run an SQL statement? Pin
Christian Graus19-Mar-07 4:41
protectorChristian Graus19-Mar-07 4:41 
GeneralRe: Do I need an adapter/connection to run an SQL statement? Pin
penguin500019-Mar-07 6:02
penguin500019-Mar-07 6:02 
GeneralRe: Do I need an adapter/connection to run an SQL statement? Pin
Christian Graus19-Mar-07 7:09
protectorChristian Graus19-Mar-07 7:09 
QuestionHelp with StreamReader Pin
Brad^19-Mar-07 3:48
Brad^19-Mar-07 3:48 
AnswerRe: Help with StreamReader [modified] Pin
JUNEYT19-Mar-07 5:16
JUNEYT19-Mar-07 5:16 
Text file suppose to have more than one record there fore you should read the values inside a loop. Please see example below. The shown code sample below suppse to be inside Login_Click procedure WTF | :WTF:

Dim webe As New ProcessStartInfo()
Dim username1 As New IO.StreamReader("C:\Textfile.txt")

Do While NOT UserName.EndOfStream
   If UserName1.ReadLine() = UserName.Text.toString & PassWord.Text.ToString Then
      'login information exist perform some type of actions
      exit do
   ElseIf UserName.Text & PassWord.Text = "Admin" & "admin" Then
      StatusStrip.text = "WelCome" & userName.Text
   End IF
Loop
UserName1.Close()



-- modified at 12:28 Monday 19th March, 2007


What a curious mind needs to discover knowledge is noting else than a pin-hole.


GeneralRe: Help with StreamReader Pin
Brad^19-Mar-07 5:34
Brad^19-Mar-07 5:34 
GeneralRe: Help with StreamReader Pin
JUNEYT19-Mar-07 5:53
JUNEYT19-Mar-07 5:53 
GeneralRe: Help with StreamReader Pin
Brad^19-Mar-07 6:52
Brad^19-Mar-07 6:52 
GeneralRe: Help with StreamReader [modified] Pin
Brad^20-Mar-07 14:31
Brad^20-Mar-07 14:31 
GeneralRe: Help with StreamReader Pin
JUNEYT20-Mar-07 22:12
JUNEYT20-Mar-07 22:12 
QuestionHow to retrieve a value from application config file? [modified] Pin
JUNEYT19-Mar-07 3:17
JUNEYT19-Mar-07 3:17 
AnswerRe: How to retrieve a value from application config file? Pin
coolestCoder20-Mar-07 1:21
coolestCoder20-Mar-07 1:21 
GeneralRe: How to retrieve a value from application config file? Pin
JUNEYT20-Mar-07 2:10
JUNEYT20-Mar-07 2:10 
AnswerRe: How to retrieve a value from application config file? Pin
JenisysJohn11-Apr-07 8:14
JenisysJohn11-Apr-07 8:14 
GeneralRe: How to retrieve a value from application config file? Pin
JenisysJohn11-Apr-07 8:15
JenisysJohn11-Apr-07 8:15 
QuestionRetrieving information (urls, ...) about temporary internet files Pin
haleemha19-Mar-07 0:55
haleemha19-Mar-07 0:55 
QuestionChange color at run time Pin
nawalage18-Mar-07 23:07
nawalage18-Mar-07 23:07 
AnswerRe: Change color at run time Pin
Kschuler19-Mar-07 9:21
Kschuler19-Mar-07 9:21 
QuestionRe: Change color at run time Pin
nawalage19-Mar-07 21:36
nawalage19-Mar-07 21:36 
QuestionHow to convert existing C# Windows Application to C# Web Application.. Pin
MPS_DotNet18-Mar-07 21:10
MPS_DotNet18-Mar-07 21:10 
AnswerRe: How to convert existing C# Windows Application to C# Web Application.. Pin
Colin Angus Mackay19-Mar-07 0:52
Colin Angus Mackay19-Mar-07 0:52 
AnswerRe: How to convert existing C# Windows Application to C# Web Application.. Pin
Dave Kreskowiak19-Mar-07 1:40
mveDave Kreskowiak19-Mar-07 1:40 

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.