Click here to Skip to main content
16,005,121 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow can i update custom document properties... Pin
koolprasad200313-Jul-07 0:01
professionalkoolprasad200313-Jul-07 0:01 
Questionmultiple items dragging and dropping from one list box to another listbox.? Pin
sudhakar7912-Jul-07 23:56
sudhakar7912-Jul-07 23:56 
AnswerRe: multiple items dragging and dropping from one list box to another listbox.? Pin
Dave Kreskowiak13-Jul-07 3:29
mveDave Kreskowiak13-Jul-07 3:29 
GeneralRe: Your logic is not working? Pin
sudhakar7915-Jul-07 19:12
sudhakar7915-Jul-07 19:12 
GeneralRe: Your logic is not working? Pin
Dave Kreskowiak16-Jul-07 2:03
mveDave Kreskowiak16-Jul-07 2:03 
GeneralHere is the code... Pin
sudhakar7916-Jul-07 2:54
sudhakar7916-Jul-07 2:54 
GeneralRe: Here is the code... Pin
Dave Kreskowiak16-Jul-07 13:25
mveDave Kreskowiak16-Jul-07 13:25 
Questionwhat is the problem with this code Pin
chiyankrishna12-Jul-07 23:32
chiyankrishna12-Jul-07 23:32 
Dim str1 As String
str1 = " "
Dim i As Integer
i = 0
Dim intag As Boolean
intag = False
Dim thetag As String
thetag = " "
Dim htmlinput As String
htmlinput = TextBox1.Text
Dim tempchar As String
Const a As String = "ControlChars.Tab"
For i = 0 To htmlinput.Length() - 1

tempchar = htmlinput.Chars(i)
If (tempchar.Equals("<")) Then
intag = True
thetag = ""
tempchar = ""
ElseIf (tempchar.Equals(">")) Then

intag = False
tempchar = ""
ElseIf (tempchar.Equals(" ")) Then
tempchar = ""
End If
If (intag) Then
thetag += tempchar
ElseIf (thetag.Equals("td")) Then
str1 += tempchar + " "
thetag = ""
ElseIf (thetag.Equals("tr")) Then
str1 += tempchar + " "
thetag = ""
ElseIf (thetag.Equals("\n")) Then
str1 += tempchar
thetag = ""
Else
str1 += tempchar
End If
Next
TextBox2.Text = str1



i have a file txt file with following text


row1col1
row2col2



now i want to display the txt file code in another textbox as this is displayed in a html file.

my code at the top has a certain mistake. which i am not able to rectify.

could any one help


there is no such thing as good or bad.

AnswerRe: what is the problem with this code Pin
Guffa12-Jul-07 23:42
Guffa12-Jul-07 23:42 
GeneralRe: what is the problem with this code Pin
Vasudevan Deepak Kumar13-Jul-07 0:05
Vasudevan Deepak Kumar13-Jul-07 0:05 
AnswerRe: what is the problem with this code Pin
chiyankrishna13-Jul-07 0:31
chiyankrishna13-Jul-07 0:31 
GeneralRe: what is the problem with this code Pin
Dave Kreskowiak13-Jul-07 2:53
mveDave Kreskowiak13-Jul-07 2:53 
AnswerRe: what is the problem with this code Pin
Guffa13-Jul-07 3:18
Guffa13-Jul-07 3:18 
GeneralRe: what is the problem with this code Pin
Dave Kreskowiak13-Jul-07 3:31
mveDave Kreskowiak13-Jul-07 3:31 
AnswerRe: what is the problem with this code Pin
Paul Conrad13-Jul-07 4:32
professionalPaul Conrad13-Jul-07 4:32 
QuestionWhy can't i catch parameter Pin
boyindie12-Jul-07 23:10
boyindie12-Jul-07 23:10 
AnswerRe: Why can't i catch parameter Pin
Guffa12-Jul-07 23:40
Guffa12-Jul-07 23:40 
GeneralRe: Why can't i catch parameter Pin
boyindie12-Jul-07 23:47
boyindie12-Jul-07 23:47 
GeneralRe: Why can't i catch parameter Pin
Dave Kreskowiak13-Jul-07 2:45
mveDave Kreskowiak13-Jul-07 2:45 
GeneralRe: Why can't i catch parameter Pin
boyindie13-Jul-07 2:56
boyindie13-Jul-07 2:56 
GeneralRe: Why can't i catch parameter Pin
boyindie13-Jul-07 3:05
boyindie13-Jul-07 3:05 
GeneralRe: Why can't i catch parameter Pin
Dave Kreskowiak13-Jul-07 5:51
mveDave Kreskowiak13-Jul-07 5:51 
AnswerRe: Why can't i catch parameter Pin
Guffa13-Jul-07 6:03
Guffa13-Jul-07 6:03 
GeneralRe: Why can't i catch parameter Pin
boyindie16-Jul-07 4:33
boyindie16-Jul-07 4:33 
GeneralRe: Why can't i catch parameter Pin
Guffa16-Jul-07 12:15
Guffa16-Jul-07 12:15 

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.