(abad_string.cpp To abad_string.cpp : 0.00%
Data Type: 0.00%
Control Structure: 0.00%
0 VARIABLES are the same
abad_string.cpp To Alarcon_string.cpp : 81.03%
Data Type: 100.00%
Control Structure: 0.00%
2 VARIABLES are the same
)
(Alarcon_string.cpp To...
i want all the text inside the red box that start in the word abad_string.cpp until the blank line only will be displayed in the richtextbox.. like on the image above..
how can i display all the abad_string.cpp lines with the following lines until the blank line?
i try to use regexpression but it's doesn't show. :( plss help
TIA!
hi.. how can i do that things?
exmple i have textbox or richtextbox that contain this:
#include<stdio.h>
int main();
{
int a,b;
int c;
printf("Enter two numbers: ");
scanf("%d, %d", &a,&b);
c = a + b;
printf("The sum of two numbers is: %d", c);
getch();
}
i want...
how about change the color of number into a 2 color like this
if the number is greater than or equal to 50.00 then its color will be RED.
if the number is less than 50.00 then it's color will be BLUE.
it is possible?
it is possible to change the color of numbers in richtextbox?
example.. i have richtextbox that contains a text like this
"i have 50 words inside my richtextbox" //this is the first line of richtextbox.
"and i need only 30 of it" //this is the second line.
i want to change...
yes i comparing words inside the two lines at a time fron RTB.. i see the solution for that nested loop :) i just only add an condition then boom.. it works. hehe thanks for the help :) i really appreciate all your suggestion and helpful comments :)
here is my code.. i always get error..
Document save = new Document(iTextSharp.text.PageSize.LETTER, 10, 10, 42, 35);
PdfWriter write = PdfWriter.GetInstance(save, new FileStream("Report.pdf", FileMode.Create));
save.Open();
PdfPTable pdfTable = new...
that code is running but i dont know.. why the variable b and d always incrementing at the same time.. :( i dont know why they always increment at the same time..
here is with comments..
//this is the first loop variable
for (int b = 0; b < fileCount.browseCount; b++ )
{
var rtb = tabControl1.TabPages[b].Controls.OfType<RichTextBox>().Single();
//this is the second loop variable
for (int d = 0; d < fileCount.browseCount; d++)
{...
for (int b = 0; b < fileCount.browseCount; b++ )
{
var rtb = tabControl1.TabPages[b].Controls.OfType<RichTextBox>().Single();
for (int d = 0; d < fileCount.browseCount; d++)
{
if (b != d)
{...
i have only the tabcontrol and browse file button in form.. i created the richtextbox programmatically. here is my code
foreach (String file in browse.FileNames)
{
//Create Tab control and tab pages
TabPage tab = new...
i have problems on how to use array..
i want to define an array of richtextbox regardless on the count.
here is my code.
if(tabControl1.TabPages.Count == browse.FileNames.Count())
{
for (int i = 0; i < browse.FileNames.Count()...
i cant open any other file extension except text file. i want to put all text of the files inside the richtextbox. but it does'nt appear on richtextbox.
but when i browse a text file, the text inside the files are appear on richtextbox.
please help :(
how can i count a selected words in a richtextbox? example i want to count a word "if" and show the result foreach (char q in richTextBox1.Text) { if (char.IsWhiteSpace(q)) { newline++...
i tried to run that. i compare 5 texts in a single run that contains a thousand lines.. it ends up with a single second. i dont know i set the progressbar maximum value to all richtextbox strings.
int progval = richarraycom.Count() + richarraycom2.Count(); progressBar1.Maximum = progval;
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.