|
sounds like you want to use a delegate.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
You're starting to sound like "Clippy".
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
i want to implement samll system that can retrieve information from some file, but i really don`t know how to do it? how to calculate Term frequency? how to indexing? i want to do it in C#.NET
|
|
|
|
|
Sounds like you need to hire someone, talk to your teacher, or tell your client they hired the wrong person,depending on your reason for wanting to do this.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Generally, the marker size of the legend should be changed automatically with changing the marker size of the corresponding series.
but I found that when the marker size of the series is increased to larger than some value, the maker in the legend does not change at all!
(it is changed only when the marker size is increased from very small value to some value, then it is not changed anymore!)
is this the bug of Chart Control? I found the maximum marker size in the legend is too small for me, I try to make it bigger, but I can not.
anyone can help me to clarify it?
|
|
|
|
|
I compare the speed of plotting between Zedgraph and MS chart control,
I found MS chart control is much slower than Zedgraph. Anyone knows the reason? Or just because MS chart control
contains more functions which may need more time for initialization or because MS chart use differet implementation technique from the one Zedgraph?
|
|
|
|
|
How can we possibly answer your question unless we know how you came to this conclusion?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
thanks for your reply.
I just plot the same line chart with Zedgraph and MS chart control (i.e., the same x and y list values), then the time taken by MS chart control is much longer than Zedgrah.
|
|
|
|
|
Are we talking minutes, seconds, days? You gotta provide more info.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Well, two things
1 - are you sure it's faster for ALL graphs, or just the type you're testing
2 - why do you care ? Just use the control that works best for you.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Your testing, or results, is very incomplete.
Besides, the MSChart control is older than dirt itself, wasn't designed with the .NET Framework in mind (interop overhead, and pre-dates even the idea of the .NET Framework). Then there's ZedGraph, which was designed entirely under .NET. Is it really such a surprise??
|
|
|
|
|
Hi
i want share my exe app in network and users can run it via network, but i need grant full trust permisson to my assemblies, but i don't know how to do that.
Note 1 : i don't want to do this by caspol.exe, i want to do this by code or setting properties(within my app).
Note 2 : i found this url[^] for grant permisson to assemblies (Using the Trust Assemblies Location Property), but it is for VSTO and i want to do this for Visual Studio 2005.
can anybody help me ?
Thanks
|
|
|
|
|
I'm not sure a) you can do that programatically, or that b) it's a good idea. Security is put into place for a reason, and any application that attempts to circumvent it should be untrusted.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
modified on Saturday, January 3, 2009 5:58 AM
|
|
|
|
|
Hi John
if you follow that link, it's possible to do that programatically.
|
|
|
|
|
Yes it is possible to do it programatically. Obviously your application will need to be full trust to do it.
Think it though! What would be the point of having this security if an application can just grant themselves the permissions they don't have without any checks?
|
|
|
|
|
Thanks Mark
I don't have any security policy, i want only test it and do that which how to set app full trust programatically ?
Thanks
|
|
|
|
|
Hi
I have a very strange problem. I am using Visual Studio 2005 and C# to develop a Windows application. My database is a MS Access 2003 database.
On my Form I have a DataGridView that is bound to a table in the database. There are also a few DataGridViewComboBoxColumns that are bound to different lookup tables in the database. I specify the BindingSources for all of these using the designer. When I run the app the DataGridView is populated as expected. The DataGridViewComboBoxes also work fine and I can change the values. The database is also updated correctly. So everything seemed fine.
Then I added a Button control to the form by dragging a Button control from the Toolbox onto the Form. Before I added any further code I ran the app again to check something. This time I encountered a problem. After I clicked the Close button in the Controlbox (Top right on the form) the DataGridView gets cleared of data row by row and when all the rows have been cleared the following message appears: "Index 0 does not have a value.".
I just cannot see the relationship between just adding a Button to the form and this error message.
I am stumped and any advice will be appreciated.
Regards.
Kobus
|
|
|
|
|
It seems pretty obvious that you're trying to delete one more row than the grid has.
Try using the debugger - I know, that might seem too much like being a programmer, but after the first few times, you'll find the debugger to be pretty damn useful.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Thanks for the reply.
What baffles me is that I have not made any changes. I have not added new records, or modified records. or deleted any rows.
I run the app and immediately closes it and the error comes up.
Kobus
|
|
|
|
|
Hi,
How can I save web page in IE by c# such that it just like one clicking the "Save" button in IE and the web pages will be save in one html plus a folder of its associated images ?
Thanks
|
|
|
|
|
Kim0618 wrote: How can I save web page in IE by c#
AFAIK, you can't do that. For saving web pages, work with "WebClient" class. It has got methods to download a file or data from a webpage. Then use regular expressions to see what are the other resources (images,styles etc) used and send separate request for these to download.
There should be an article on this here in CP. Try searching.
|
|
|
|
|
Will this[^] article help?
/ravi
|
|
|
|
|
Hello!
My application has a DataGridView , which contains a DataGridViewComboBoxCell . Is there any way to make the combo box drop down its list on the first mouse click?
Currently, the first mouse click activates the cell, the second one creates the hosted combo box, and the third click finally drops down the combo box list. I'd like the combo box drop down immediately on one click instead of 3.
Thanks and best regards
Dominik
|
|
|
|
|
Hi
I am not sure if you can set it for individual cells. If you set the EditMode of the DataGridView itself to EditOnEnter then the comboboxes drop down at the first click. Unless another DataGridViewComboBoxCell was in open position. Then the first click will first close the open one and the second click will open the selected DataGridViewComboBoxCell.
All the other cells in the DataGridViewRow will also now be editable as soon as they get focus.
Regards.
Kobus
|
|
|
|
|
That's exactly what I was looking for. Works perfectly, thank you very much!!
Best regards
Dominik
|
|
|
|