-
November 15th, 2012, 03:18 AM
#1
How to Select Characters in vb6 with max letter?
i would like to select all numbers in a line not exceeding the dot(".")
like whats in the picture...
please refer blue text as selected....
tnx in advance ...
-
November 15th, 2012, 07:01 AM
#2
Re: How to Select Characters in vb6 with max letter?
Have a look at InStr and Mid and Left, and Right
-
November 25th, 2012, 02:22 AM
#3
Re: How to Select Characters in vb6 with max letter?
what are those ?
sorry i''m a true beginner ?
-
November 25th, 2012, 09:51 AM
#4
Re: How to Select Characters in vb6 with max letter?
They are VB string functions, look at the documentation and examples in yoru online help or Google them.
Instr() searches for a match in a string and returns the position where the match was found or 0 if it was not found
Mid() allows you to pull characters from any position within a string by telling it where to start and how many characters you want
Left() allows to you get the characters from the left side of a string. You just tell it how many to get
Right() is the same as left but pulls fromt he right side of the string.
Always use [code][/code] tags when posting code.
-
November 29th, 2012, 08:01 AM
#5
Re: How to Select Characters in vb6 with max letter?
ohh ....
thanks !!!
great thing
-
November 29th, 2012, 08:17 AM
#6
Re: How to Select Characters in vb6 with max letter?
im in this forum and it had you!!
can i add something here ??
how can i export rtb textrtf to word ??
with formatting?
like Bold,CenterAlignment...
can this happen?
and also can support any word versions?
another help here please...
-
November 29th, 2012, 08:18 AM
#7
Re: How to Select Characters in vb6 with max letter?
thanks in advance!!!!
-
November 29th, 2012, 04:36 PM
#8
Re: How to Select Characters in vb6 with max letter?
Open it with WORD, and re-Save it as the version of Word that you want. RTF is open, while WORD format isn't.
-
December 4th, 2012, 08:14 AM
#9
Re: How to Select Characters in vb6 with max letter?
hahaha ...
i'm just in a hurry ?
-
December 4th, 2012, 08:12 AM
#10
Re: How to Select Characters in vb6 with max letter?
Again please ....
i Cant understand...
??
please just tellme how?
-
December 4th, 2012, 08:37 AM
#11
Re: How to Select Characters in vb6 with max letter?
Erm :
http://forum.codecall.net/topic/6342...#axzz2E5dyscTO
Basically what David tried to say.... Google is sometimes a very good resource....
-
December 8th, 2012, 01:29 AM
#12
Re: How to Select Characters in vb6 with max letter?
so this means you dont know how ?
-
December 8th, 2012, 02:43 AM
#13
Re: How to Select Characters in vb6 with max letter?
I do know. The thing is, it helps nothing I spoonfeed you. Have you done the effort in going through the link I supplied?
-
December 8th, 2012, 03:32 PM
#14
Re: How to Select Characters in vb6 with max letter?
Well first off just because someone does not give you a detailed post with full code does not mean they do not know how.
Second you do not export anything from a RTB, you save the data to a file or or place it on the clipboard. If you want an export function then you have to write one.
The RTB has 2 properties that you should look at, .text and .textrtf one includes the rtf formatting and the other does not.
Word and Wordpad can each open a proper rtf formatted file and have it display as it should, of course you first need to have the text formatted using RTF, if you have that already then all you do is save the formatted data if not then you first have to format it and if you do not know rtf formatting codes you may want to move on to something else.
Always use [code][/code] tags when posting code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|