|
Can you show me example code?
I have tried and got error.
myChart.Series("Series 2").XAxisType = AxisType.Secondary;
|
|
|
|
|
Which office version are you using?
Basically, you will have to create a new chart type and then add a series to it. You will then have to add this to your Chart.
"The worst code you'll come across is code you wrote last year.", wizardzz[ ^]
|
|
|
|
|
How to draw a excel chart with combination of bar and line charts.
eg: left handside is frequency, right handside is percentile with the interval as x-axis.
And how to remove the legend entry?
|
|
|
|
|
|
That is a surface chart.
What I want is a line graph + column graph on the same chart
|
|
|
|
|
I have an array includes list of users session id.
I wanna expire all of them.
Is it possible in ASP.Net (c#), if so, how ?
else, how can I do it with C#?
Thanks in advanced
|
|
|
|
|
Try Session.Abandon();
This should destroy data related to the session.
BTW, this is the C# forum.
Try posting in the ASP.Net forum next time onwards....you have better chances of getting a propert answer.
|
|
|
|
|
Well, Because I guess, it couldn't done in ASP.Net, I've written it in C# forum.
AFAIK Session.Abandon(); expire current session ! I wanna expire a session with session id
|
|
|
|
|
If I were doing this, I would use SessionIdManager[^] as a base. Basically, I would inherit from this and implement my own session management.
|
|
|
|
|
Hi, i am working on a project named object tracking in video files as part of my academics.
I used "A Simple C# Wrapper for the AviFile Library" for working with Avi Files.
It is working well in my system for my inputs and getting output as expected.
My system configuration
os: windows 7
.net version: Visual studio 2010(version 4)
And when i tried to run the same code on different system with same
configuration as mine it is not working.
and also i tried to do with different configuration as shown below.
os: windows XP Service pack 2
.net version: Visual studio 2008 (version 3.5)
it is also not working.
no errors.
no warnings.
I'm getting exception showing "process or thread has changed since last step"
exception at
" if(getFrameObject == 0){ throw new Exception("Exception in
VideoStreamGetFrameOpen!"); }" in VideoStream.cs file.
I'm not getting the solution what changes i've make to run the code on
other system.
|
|
|
|
|
Please restate your question more clearly. First you say "no errors, no warnings," then you say you're getting an exception.
Also, "it is not working" doesn't tell anything useful. Give details.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
the problem is stated as follows.
I developed a my academic project named as object detection and tracking in video files.
I used "A Simple C# Wrapper for the AviFile Library" available in codeproject site only.
It is working well in my system.
I'm getting output in my system.
and I took the code from my system and installed in other system of my educational institution.
It is not executing.
I'll get front end and stops executing there itself without showing the input video.
I'm getting exception as Exception in VideoStreamGetFrameOpen
at line
" if(getFrameObject == 0){ throw new Exception("Exception in VideoStreamGetFrameOpen!"); }"
in VideoStream.cs file.
showing "process or thread has changed since last step" when i went on debugging step by step in a blue dot indicating at the above stated line of code.
I'm not getting the solution what changes i've make to run the code on
other system.
Is that video codec problem or some other??
|
|
|
|
|
helloww!!
i can't find all the codes (all functions of event handler of every type,i.e. button,listBox,etc., all functions of this types) can u please provide me the links where i can find all thes codes!!
thnxx
|
|
|
|
|
Sure, take a look at MSDN and read through the various help pages. They are all there.
|
|
|
|
|
Here are the most important codes:
483 498 379 531 478 239 943 438
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
42
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
There is no single page which holds a list of Events for all controls - there are just too many of them.
Instead, they are (as Pete said) all available on MSDN, but listed under the individual control.
For example, the Button class description[^] lists all teh properties, methods and events which are applicable to a Button, while the TreeView class description[^] does the same for the TreeView.
Decide what type of user interface control you want to use, then search Google for "Button class MSDN" or "ListView class MSDN" and you will normally find the page at the top of the list.
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
hi
How to make the windows form that can Zoom out-in (something like Image that have zoom in and out without any changes to it)
|
|
|
|
|
Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...
A very quick search gave over 300,000 results. A very quick look at the first page of these gave complete code and tutorials!
http://www.dotnetcurry.com/ShowArticle.aspx?ID=196[^]
In future, please try to do at least basic research yourself, and not waste your time or ours.
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
Handle the mouse wheel events ..
|
|
|
|
|
What are you trying to accomplish exactly? Do you want to make all of the controls on the form larger or smaller? Do you just want the size of the form to get larger or smaller? Are you trying to use the form as an image viewer and zoom the image in/out?
|
|
|
|
|
Hi All,
I have created an object book which is as follows
public class book
{
public string bookname;
public string bookauthor;
public string bookprice;
}
public class books:List<book>
{
}
now on the load of the page i get some book details stored in the database and add them to the "books" object and also I add a empty book object to the books so which can be used by the users to add one new book.
I then bind this to a datagrid on the aspx page with template columns.
Books books = new Books();
books=Books.getBooks(); //also adds on blank book object
dgbooks.datasource = books;
dgbooks.databind();
on click of the save button i require the datasource to be type cast as books object. I am trying to do this on the click event of the save button
books = (Books)dgbooks.datasource;
but this is not working because the datasource is entry. Because during the postback it is wiped off. Can someone please help me to come around with this one?
The above code is just a sample code.. hence please ignore the mistakes.
Jack Sparrow
--------------------------------------
Defeat is not the worst of failures. Not to have tried is the true failure.
|
|
|
|
|
It's not "wiped out", it's just not set yet because the page is still loading. The asp.net events are a bit of a mess. You should try to get the books in the Load or LoadComplete events. And you should also check if you have EnableViewState set to false.
|
|
|
|
|
Can anyone help me how to retrieve the below computer event statistics on a network, i.e. The exact time computer gets logged on, logged off, locked, unlocked, remote logged on etc, also the user name who is responsible for events..
Also this should work on windows OS(XP/Server/7).
If this can be done through WMI, please let me know how...
Thanks!
|
|
|
|
|
Windows doesn't track any of this information, so no, you can't do it the way you're thinking. There are no "events" for this kind of stuff.
You'd have to write a client you install on every workstation you want to track to do this.
Since you're supporting Windows XP, what you do will be different than it will be for Vista/7.
Most of this information you can poll from the Terminal Services API, like here[^].
|
|
|
|