Hello i have two lines of text which have long space (more like 14-15 spaces) before the actual text. I have tried simple replace to split and merge but nothing is working. I have also tried trim and the worst thing is that ascii gives code of 32. But nothing works. here is the text ...
Alright first my situation :
1) a text document which has content like :
uber|uber|ultra
taxi|taxi|taxi cab|cab|minicab|airport taxi|airport transfer
genitalia|genitalia|genitals
skincare|skincare|skin care|cosmetic|natual skin care|natural skin care...
Hello guys, iam having a problem with a program iam making.
Basic function - enter 5-10 urls. Download all web pages using multi threads and then process it. Then in the end, the text from all threads should end up in a richtextbox.
It can't be done using any of my googly searches so i thought...
Yeah that is the problem. Iam no PHP dev and the basic function has been made in like 2 weeks. And believe me it's a simple task of some string manipulation. So that is why iam focusing on desktop tool. Anyways thanks for the answer.
If you have any knowledge can you tell me how i can reset the...
hello, iam making an application which performs some string operations on a text in a richtextbox in the following way:
the user writes some text in a richtextbox and then clicks a button. The text is then send to a PHP page for operation and the result is then stored in another richtextbox...
figured out the problem :
Dim iEnd As Integer = InStr(i, "\ulnone\") - 7
'add text between the start and stop points
ListBox1.Items.Add(Microsoft.VisualBasic.Mid(i, iStart + 7, (iEnd - iStart)))
also rep added to you for help . :)
hey very close but now i get this :
i0 so many
i0 software
i thought of using :
ListBox1.Items.Add(Microsoft.VisualBasic.Mid(i, iStart + 4, (iEnd - iStart)).Split("i0 ")(1))
to split and accept the later part of the string returned but it still leaves with
0 so many
0 software
there is...
hi thanks for reply.my first sentence is this :
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Tahoma;}}
\viewkind4\uc1\pard\f0\fs20 Why\i \ul\i0 so many\ulnone\i \ul\i0 software\ulnone\i \i0 fail\i ?\i0\par
and what i get in listbox is this :
i0 so many\ulnone\i...
Hello, i have a simple notepad application where i want a feature of selecting text which is underlined. Usually what happens is when i click a button the app reads a text file and underlines random text in the richtextbox. What i want is on the click of another button to select the text which...
choose anchor wisely. Anchor attaches the button to a position. Soo let's say you have a button on top-left you apply anchor of top-left, if you have a button in mid-bottom then just apply the anchor of bottom and so on.
selecting words has been solved - thnx to google and you only.
the code has been modified to split at punctuations :
RichTextBox1.HideSelection = False
Dim text As String = RichTextBox1.Text.Replace(vbLf, " ")
Dim str As String = " " & "," & "(" & ")" & "." & "<" & ">" & "?" &...
hi john iam stuck in another problem. Can you please guide me as to how to modify the above code to select words but when underline is detected select the whole phrase?
Eg : i love this forum very much
When i press F1 first I is selected, then love, then this then "forum very" and then much on...
hello john very much thanks for your code but i have one problem. Hasflag is an enum for vs2010 i suppose and is not in vs 2008. So can you please tell me an alternative for .net 3.5?
Also yup regex is not helping. The rtf uses \ul\ and \ulnone\ for underlining but i learned that different...
So how do we do it?
Text is like - hello vb dotnet forums !! you guys are the best coderz
On a button click i want to first select "vb dotnet forums" and on next click immediately select "are the best" (in a richtextbox control) . Iam not getting any idea as to how to proceed. Any help would...
dialog window does not allow focus to other windows. When you click on save as in file menu in firefox try to click anywhere on the webpage - it plays a beep. The save dialog is a dialog - same behaviour.
its alright. I will try to find the solution somewhere else. But could you please checkout the problem in basic regex expression change?
I mean the very first code works for {} but not for []. Do you know why it is so??
actually i am making an article spinner. Its for my article marketing needs. I want to spin articles with this application. What i do is load an article, select each word and replace with their synonyms. The uniqueness depends on how many words we spin. The next step would be to spin sentences...
alright : actually my original problem was multiple blocks in {} brackets. My new problem is multiple {} in SINGLE [] brackets.
Eg: [hello {hi|bye}|lloe]
you see i have multiple {} inside single [] brackets. What i thought is:
first separate block of [] bracket (same way we did for {}). Then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.