|
Thanks for your reply, will do.
|
|
|
|
|
All such editors that I know of rely on embedded, non-printing codes to delimit the regions affected by special effects. As Sherlock's smarter brother indicated, a good starting point will be researching the rich text control. But if you want to add capabilities not found elsewhere, you'll want to begin compiling a list of effects you want to produce and assign tags that won't conflict with any already in use.
Will Rogers never met me.
|
|
|
|
|
Have you checked outC# Open Source?. Also WPF would be way cooler than Winform. The learning curve will be worth your time as you're also developing skills in Silverlight and WP7 at the same time.
"You get that on the big jobs."
|
|
|
|
|
Nice link, Rob. Thanks!
/ravi
|
|
|
|
|
|
There's some interesting material ... somewhere ... on the text editor used in SharpDevelop (open source .Net IDE). It might be in a book that my dad has that I borrowed briefly, but see if searches on that topic help you.
I don't think I'd recommend starting from the rich text box, getting that to do what you want is quite hard and it isn't really designed for this kind of thing. I would start completely from scratch with a UserControl, if you're doing it as an exercise for yourself (if not, just find and use an existing component with a license that allows you to do so, since it's quite a large block of work however you go about it).
|
|
|
|
|
|
Nobody in their right mind is going to download and run code from an untrusted source from a complete stranger.
You also didn't specify what your problem was, the circumstances under which it occurs, and the code snippet in which it occurs.
|
|
|
|
|
i need help with the server
|
|
|
|
|
I'm assuming it is the game server you are talking about. What makes you think anyone here knows about this server. Why don't you post the question on the game site[^] where you stand a chance of geting an answer!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
They won't tell me and i didn't get it from them i got from a guy who work with them but they treaded him bad to he left
|
|
|
|
|
So you have a pirate copy of the game server that you cannot get working and the owner of the code will not help you, and you want a bunch of software developers who make a living out of writing code to help you hijack someone elses work.
Do you not see a problem with this scenario!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I didn't jack no one project the owner gave me it
|
|
|
|
|
The individual "who left the company" because they treated him badly is not an owner of the code. The company who was paying him owns the code, not the developer who STOLE the code when he left.
I wasn't, now I am, then I won't be anymore.
|
|
|
|
|
Oh, now THAT just spelled everything out, didn't it?
You didn't answer the most basic of questions, like WHAT IS THE PROBLEM YOU ARE HAVING? So how do you expect anyone to help you?
|
|
|
|
|
I want to find out how can i host it and fix some problem with debugging it
|
|
|
|
|
AND ____ ????
Seriously? You really have no idea how to ask a simple question, do you?
What you're doing is taking your car into a repair shop, handling them the keys and asking them to fix the car. They have no idea what you think is broken, so they're going to stand there and stare at you like you have a hole in your head.
Would you mind terribly TELLING US WHAT PROBLEM IS!?!?
This is the last time. If you don't spell out what the problem is, you get ignored.
|
|
|
|
|
You know what. I downloaded the package on one of my throw away VM's and took a quick peek inside.
This thing weighs in at over 680MB, in over 16,000 files and 3,900 folders and you want us to just read your mind to figure out what's wrong??
Sorry, but noone is going to invest weeks of time digging through all of this code to figure out what's wrong and help you fix it.
You're ONLY source of information, and most likely help, is going to be the guy who handed you the project.
Good Luck!
|
|
|
|
|
Ok, so what's the problem?
I took a quick look and the server appears to be working, at least up to the point where it starts doing something. I didn't try to connect to it with a client.
It appears to be listening on port 13000, I hope the "problem" isn't just that you forgot to forward that port.
|
|
|
|
|
The problem is with the client and the server how can i make them connect to each other
|
|
|
|
|
So you mean they don't even Attempt to connect to each other?
Is the server address hardcoded somewhere in the client?
|
|
|
|
|
The problem is that it has the alteriwnet connect but i want to change it to my
|
|
|
|
|
Hi All !
I am two form (Form1 And Form2) , in Form2 , I want to get ID from Form that show in a textBox ,
when I want to use it in SQL Statement , I get this Error "
data type mismatch in criteria expression ........
In Form 1 here is my code :
public static int SendId;
...
SendId = Convert.ToInt32(txtIDPersonel.Text);
.....
public int Get_SendID
{
get { return SendId; }
}
And I Form2 , Here is My Code :
private void Test_Load(object sender, EventArgs e)
{
int ReciveID;
frmBankProject BankPrj = new frmBankProject();
ReciveID = Convert.ToInt32(BankPrj.Get_SendID.ToString());
label1.Text = ReciveID.ToString();
}
......
private void btnShowData_Click(object sender, EventArgs e)
{
int ReciveID;
frmBankProject BankPrj = new frmBankProject();
ReciveID = Convert.ToInt32(BankPrj.Get_SendID.ToString());
string strFilter;
strFilter = "SELECT * From MyTable WHERE PersonID='" +
Convert.ToInt32(label1.Text) + "'";
try
{
SalaryConnection = new OleDbConnection(conString);
dsSalary = new DataSet();
SalaryConnection.Open();
daSalary = new OleDbDataAdapter(strFilter, SalaryConnection);
daSalary.Fill(dsSalary, "myTable");
dgSalaryTable.DataSource = dsSalary.Tables["MyTable"].DefaultView;
SalaryConnection.Close();
}
catch (Exception exCode)
{
MessageBox.Show("Error in ConnectionCode " + exCode.ToString());
Application.Exit();
}
}
my Error Related to :----> daSalary.Fill(dsSalary, "Pardakht");
" data type mismatch in criteria expression ... "
thanks for any Help
|
|
|
|
|
You are putting single quotes around the PersonID as if it is a string.
strFilter = "SELECT * From MyTable WHERE PersonID='" +
Convert.ToInt32(label1.Text) + "'";
Try removing the quotes.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|