- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
[CODE] RichTextBox1.SelectionStart = RichTextBox1.Find("Not Found") RichTextBox1.SelectionColor = Color.Red[/CODE] that is my code.. my problem is in my richtextbox1, there are many line that contain "Not Found". So how can i change colour for all of that text to red colour? my code only work only with a single line that … |
|
Re:
Hello I would like to read a file and display certain lines ( like from line 5 to 10) in a label. i know how to read the file line by line but not the specified line i want. Thanks in advance |
|
How can i extract the information as below from the input file and then show it in the messagebox? and can i show it as center alignment? Adjustment Statistical Summary ============================== Convergence Iterations = 2 Number of Stations = 36 Number of Observations = 128 Number of Unknowns = 70 … |
|
I have attached that file. The sample of data are as below: PUBLT 167_89 656 PB -38321.478 6807.984 657 PB DAUD 200005041 278.271074.5150 69.4035 08370074.1830 69.2755 083800254.1925290.4620083900254.5615291.010008400008390098.2710 74.3630 20.3943 278.27100.0211 15.5954 74.3726 278.2748 PUBLT 167_89 656 PB -38321.478 6807.984 657 PB DAUD 200005042 278.271074.4940 68.1425 08430074.1610 68.0010 084400254.1720292.1650084500254.5400292.315508460008450098.2710 74.3418 22.0833 … |
|
i have a ASCII file that contain 3 line of numbers as below: 307.1642127.1642334.3412154.3412[COLOR="red"]3[/COLOR][COLOR="red"]34[/COLOR][COLOR="red"].[/COLOR][COLOR="Red"]3412[/COLOR]88.2652 271.330896.104 127.1642307.1642285.1534105.1530[COLOR="red"]285[/COLOR][COLOR="red"].[/COLOR][COLOR="red"]1532[/COLOR]87.3500 272.2500214.227 285.1532105.1532307.1642127.1642[COLOR="Red"]307[/COLOR][COLOR="red"].[/COLOR][COLOR="red"]1642[/COLOR]87.2001 272.395952.055 i just want to extract red number which is its stand for angle/azimuth ... so how can i do that in vb.net? the problem here is its not separated by any … |
|
I have a file that contain data structure as below: L,13206,11,02,06,000,3981.100 19,22,25,26,19 END L,13207,11,02,06,000,6561.000 22,24,7,8,9,25,22 END K,[COLOR="Red"]1[/COLOR],P [COLOR="red"]-18970.811,53728.643[/COLOR],BKL,,e-Coord,M END so how can i extract 1 and -18970.811,53728.643 and export it into a new output file with new structured as below: C [COLOR="red"]1 [/COLOR] [COLOR="red"]-18970.811 53728.643[/COLOR] For your information, the value … |
|
Re:
I am useing the OpenFileDialog component with a Button Sub to use the text file that the user selects (it can change everyday) in the next part of my program that will read that file and then covert it into an xml format. How do I get the second part … |