|
|
That's the command line that launched the C# compiler to compile your project.
|
|
|
|
|
i Writh Project And use Crystalreport in project
and create setup
but when installing program to PC
and run
crystalreporn not loaded
and show error for DLL Crystalreport
how to add Dll crystalreport in project C#2005 ????
"I'm sorry I'm not good english Write"
thanks
reza mohseni
|
|
|
|
|
(1) Open your project in Visual Studio .NET. Open the Solution Explorer, expand the Project node in the tree and select the References node. Right mouse click and select Add Reference.
(2) On the Add Reference dialog box, select the CrystalDecisions.CrystalReports.Engine component and press the Select button. This will add the library to the Selected Components area at the bottom of the dialog. Repeat this for the CrystalDecisions.Shared component. Press OK on the dialog to add this to the Visual Studio .NET project.
(3) Save the project. You can either build from Visual Studio .NET or you can build from Iron Speed Designer.
Regards,
Satips.
|
|
|
|
|
Thanks for your help to me but i couldn't find the answer yet.
What i want to do is
There are lines of text in the box
1. while (k<20)
2. {
3. for(int i=0;i<10;i++)
4. {
5. Console.writeLine("wwwwwww");
6. Console.writeLine("wwwwwww");
7. }
8. k++;
9. }
I want to write a function if the user send the line numbers
say (3,7) the coding related to for loop should be colourd.
Can u pls help me.........pls.
|
|
|
|
|
Have you considered the following functions and properties?
Lines
Select
SelectionStart
GetFirstCharIndexOfCurrentLine
SelectionColor
SelectionBackColor
|
|
|
|
|
Yes I tried to use Line property which contains the text in each line seperately in an array element.But when i use Line[i] to locate my line there was an erroe saying that there ia no array like that. If u can pls send me an ex coding how to get the text in a line using the Line property. It is urgent.
Thanks a lot.
|
|
|
|
|
You're right. Lines only works if you hit enter to move to the next line. GetFirstCharIndexFromLine should work for you:
private void btnGetLines_Click(object sender, EventArgs e)
{
try
{
string[] lines = richTextBox3.Lines;
int length = richTextBox3.Text.Length;
int index0 = richTextBox3.GetFirstCharIndexFromLine(0);
int index1 = richTextBox3.GetFirstCharIndexFromLine(1);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
Good Luck.
|
|
|
|
|
i want to set First, Last in the datagrid page index at the web application ,how could i do that ? im working with .net1.1.
any help could be useful
|
|
|
|
|
|
Hi,
I am developing an application to get the information regarding all the software installed in a system.
Can anyone please help me?
Thanks in advance
Vijay Kumar
Programmer
|
|
|
|
|
use wmi and select what you need from Win32_Product! if you're not used to wmi, google knows a lot about it..
|
|
|
|
|
Hello All !
I am writing a windows service which is running a Windows Form application.
I marked the desktop option in the windows service properties and the Form is shown when starting the service which is correct.
The problem is that I do not receive Windows Messages in this Form function WndProc.
When I run this Windows application separetely namely not from a windows service, I use the spy++ application to see the WM , I see many WM that hit this form.
But when running spy++ on the same Form that is rendered from a Windows Service this Form does not receive any WM.
I anyone did something similar or anybody know if it is possible to receive WM on a Form that is rendered from a windows service I will be grateful.
Zvika Tubis
|
|
|
|
|
This article should have everything you need about doing UI for your Service. A Service is by definition, a program without any UI... so it's tricky to go out of that box.
|
|
|
|
|
Hello !
Went to the site and did not see anything about my problem.
If anyone know how to get windows messages in a Form that is activated from a Windows service I will be vety grateful.
Thanks everyone
|
|
|
|
|
I have load an image to a picture box like here:
MypicBox.Image=Image.FileName("D/foto1.jpeg")
the pic is now displaying in the box, but how can I clear it now?
thanks
|
|
|
|
|
with the magical line
MypicBox.Image=null;
|
|
|
|
|
|
MypicBox.Image=null
Is it right ?
imagic
|
|
|
|
|
insert the default image to the picturebox or zero it :
pictureBox01.Image = null;
|
|
|
|
|
Hai all I have a problem related to changing the color of text in a rich text box.What I want to do is lets say I have 10 lines of text in the rich text box.I want to change the color (highlight) the color of text from line no 3 to 7.
Pls help.
|
|
|
|
|
Selecting the text you want colored, then setting myRTB.SelectionColor should do it.
|
|
|
|
|
Thanks dear
But the problem is how to select the text.
Ex: I want to display the text like this
for (int i=0; i<10; i++) {
console.WriteLine("Hello world\n");
console.WriteLine("I'm here\n");
}
and I want to color the for statement only.How can I
select the text releted to for statement without statements
inside the for loop.
Plaese help.
|
|
|
|
|
hi ...
i exactly can not understand what do you want ...
but for select a text in rich text box and change it's color you can write follow code ...
richTextBox.Text = "test";
richTextBox.Select(2, 2);
richTextBox.SelectionColor = Color.Blue;
|
|
|
|
|
Hi,
the easiest way is to color the text while adding it to the RTB:
int start=rtb.SelectionStart;
rtb.Add("some text");
int end=rtb.SelectionStart;
rtb.Select(start, end-start);
rtb.SelectionColor=color;
If that is not possible, you must somehow parse the existing text to find
the piece you want colored (e.g. by locating/counting the newlines).
|
|
|
|