|
Hi
I get a equivalance in my program and i should create the chart of that equivalance.
how can i create the chart in windowsApplication.
please help me.
|
|
|
|
|
What is an equivalance ?
You either draw it yourself or you use a charting library. I believe Microsoft offer one now, and there's others about that are free, which I assume is your preference.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
client give me a equavilance and value of variable.
for example f(x)=x^2+4*x+cos(x); and x=30.
I download mschart and i want to work with it.
i need a tutorial and some example with it.
|
|
|
|
|
If x has a known value, how does this equate to a chart ? What is your client trying to do ?
I believe the word you want is 'equation'. Your client has given you an equation, but to draw a chart, you'd be drawing f(x) values against all possible values of x. Providing a value for x means you'll have a specific value for f(x), not a chart.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
let me change my question.
i want to create chart between two points?
for example i want to create chart between these two points: A(1,2) , B(3,6)
|
|
|
|
|
OK, so that's just a line between two points ? You're going to use the MSChart control ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
ya.
i want to use MSCHART and i need some help and some example for mschart control.
do you suggest easier way than MSCHART ?
|
|
|
|
|
The MSChart control documentation looks to me like it's pretty basic. However, I just realised it's a legacy COM control. Try this[^] instead.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Well, you could write some code and create your own chart control, then use that on your form.
Or you could look and see if anyone has already created one that would suit your purpose. For example here[^] is the Microsoft Charting Controls and there are many many more out there just waiting for someone to google or bing for them.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
I have a Form with a few panels and a RichTextBox on it. I need to detect any key messages on the level of form and send them to other child controls on my own way. I tried calling/overriding WndProc, PreProcessMessage, etc. Also tried setting my own MessageFilter via Application.AddMessageFilter() and finally gave a try to a native method SendMessage. None of these work.
I CAN detect the messages. But the problem is that when I'm passing them to the RichTextBox there's no effect (no text is appended). How can I make that control react on the redirected messages?
Thanks in advance.
|
|
|
|
|
Why can't you do it on the level of keydown, keypress and keyup messages ?
Why can't you just detect a keydown and pass the focus to the control ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Firstly, when a key is pressed, I need to add a char to the textbox, even if it does NOT have focus. Then, when I press a key, the keydown event is obviously not detected by the textbox. The same with the form! There is no info about this event. I could use PreviewKeyDown, but I couldn't mark the message as used/handled.
Secondly, the form should distribute the messages, not necessarily to the box. Maybe somewhere else, basing on other conditions.
|
|
|
|
|
Hi evry body.
I Have a Question about error in Asp.net with c#.
i get error " Unable to luanch the ASP.NET develpment server"
Please help me!!
thank you
|
|
|
|
|
Where to start...
1 - we HAVE an ASP.NET forum
2 - The error means the server can't launch, it's a setup problem, not a coding problem.
3 - based on what you've said there's little to no chance that anyone can help.
Why don't you copy and paste the actual error message, with all the details given, so we can try to work out what is going on ? What version of Visual Studio are you using ? I assume this happens when you press F5 ? Do you have IIS installed ( you don't need it, but it would be interesting to know if it works and the ASP.NET server doesn't.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hi
you are very good. since helpe me.
thank you very much
|
|
|
|
|
I am trying to check a checkBox in CheckBoxList using .Selected = true property,
But not working dont know why but changes are not getting reflected On UI.
Could you please help me out in this.
Thanks in Advance.
Truth Is The Simplest !!!!
|
|
|
|
|
its not nessesary to do it by writitng code because the checkboxlist has a build in property MultiColumn to set it TRUE
Qendro
|
|
|
|
|
I do not understand.
Please explain how setting the MultiColumn property to true will help the OP to check a CheckBox in theirCheckedListBox.
Qendro wrote: its not nessesary to do it by writitng code
The OP has already indicated that they are trying to do this in code.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
hello sir,
i got an api for sending sms.i am implemneting it in my software.the hosting company has sent me the url and some codes.when pasting the url in my browser followed by my mobile no and message.then i am able to get the sms.but i have designed a windows form which contains 2 textboxes such as for mobile no and message respectively.and a send button.i want the mobile no and message from textboxes will pass as parameters in the url.how will i pass this value?please help my,its urgent.
i am posting details of my code:
----------------------------------
private static string CALLURL(string url)
{
string Res = "";
try
{
HttpWebRequest gatewayReq; //Used for HTTP Request
HttpWebResponse gatewayRes; //Used for HTTP Response
gatewayReq = (HttpWebRequest)WebRequest.Create(url);
gatewayReq.Timeout = 60000;
gatewayReq.Method = "GET";
gatewayRes = (HttpWebResponse)gatewayReq.GetResponse();
Stream ReceiveStream = gatewayRes.GetResponseStream();
StreamReader sr = new StreamReader(ReceiveStream);//, System.Text.Encoding.ASCII);
Res = sr.ReadToEnd();
MessageBox.Show("message sent successfully.");
}
catch
{
//Res = "URL is not responding at the moment.";
//WriteErrorLog(DateTime.Now + "|" + "Call URL Function: " + ex.Message.ToString());
MessageBox.Show("Sorry,Unable to send Sms.Try Again Later.");
}
return Res;
}
private void send_Click(object sender, EventArgs e)
{
string url;
string msg;
Int64 no;
no = Convert.ToInt64(textBox1.Text);
msg = textBox2.Text;
url = "http://203.212.64.15/genericpushnew/pushsms.aspx?userid=demo123&password=hotmail01&masking=CVRTNP&mobileno=no&message=msg";
CALLURL(url);
}
}
|
|
|
|
|
Use this:
url = string.Format("http://203.212.64.15/genericpushnew/pushsms.aspx?userid=demo123&password=hotmail01&masking=CVRTNP&mobileno={0}&message={1}",
Convert.ToInt64(textBox1.Text), textBox2.Text);
|
|
|
|
|
well its quite easy but ur calling the functions in a wrong way....
We did the same project in VB,C# as well as asp.net successfully.
9870187165
|
|
|
|
|
I am spliting html code with this separators:
string[] datum = new string[] { "<td class=\"datum\">", "</td>" }
Now I split whole html code like this..
string[] datumi=skupaj.Split(datum, StringSplitOptions.RemoveEmptyEntries)
Now i have at datumi[0] empty string..than at datumi[1] full...then again empty..and full etc.
How to get rid of this empty string??
|
|
|
|
|
Aljaz111 wrote: How to get rid of this empty string??
result = s2.Split(stringSeparators, StringSplitOptions.RemoveEmptyEntries); Source[^]
I are Troll
|
|
|
|
|
Exactly what the OP is doing. Read a little closer before replying.
Eddy Vluggen wrote: I are Troll
At least that is correct.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Mark Nischalke wrote: Exactly what the OP is doing. Read a little closer before replying.
I'll try. Once you answer a number of questions, you're bound to make a mistake somewhere.
Mark Nischalke wrote: At least that is correct.
I do make an effort out it
I are Troll
|
|
|
|