|
That may be, but you're expecting people to provide full code, based on a question that, frankly, makes no sense. When you pay people to help you, you can treat them however you like. When you look for free help, you can expect to have to fit within the mores of the place where you choose to ask. You've broken about every one that I can think of, with the possible exception that your question doesn't appear to be homework.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: That may be, but you're expecting people to provide full code, based on a question that, frankly, makes no sense. When you pay people to help you, you can treat them however you like. When you look for free help, you can expect to have to fit within the mores of the place where you choose to ask. You've broken about every one that I can think of, with the possible exception that your question doesn't appear to be homework.
Damn, but you're on form today.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
*grin* Spent the day with the kids in a theme park. Therefore, I've suffered enough for one day.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
That would do it. Took mine to see Ratatouille. Absolutely fantastic film.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Wow. There are just so many things wrong with your post.
1. The title - this is a C# forum, so a title of C#.net is redundant. It doesn't tell us anything about what your underlying problem might be. Make it meaningful.
2. We don't do your work for you. If you have a specific problem, then we will help out but we don't write code for you. If you want that, try rentacoder.
3. Don't put urgent in. It's always urgent - nobody ever says "take your time, I couldn't care less".
4. Don't put your email address in a post, that's a very good way to get spammed. While the forums aren't crawled just yet, there are plans to allow this to happen.
5. Google should have been your first port of call here. A simple search or two will save you so much time.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Whilst I'd love to help you out, I can't actually distil a question from your post. Specifically, what is it you would like us to help you with?
--
Cheers,
Gary
http://www.garyshort.org
|
|
|
|
|
sindhutiwari wrote: need a urgent help
How rude and use more meaningful subject lines.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
i am declaring two classes
class A
{
virtual void abc()
{
}
}
class B:A
{
override void abc()
{
}
}
now i create an object for both the classes
A d = new A();
B e =new B();
d.abc();
or
e.abc();
how can i call the the function of class a , using the object of class b
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
d.abc() u r rit.
-- modified at 5:11 Monday 22nd October, 2007
|
|
|
|
|
squattyarun wrote: e.abc()
Nah.. It would be d.abc()
Since the in Class B.. the function of Class A is overriden.
I hope I am right
------------------------------------------------------------------
Life would have been much easier if I had the source-code!!
|
|
|
|
|
If i am not mistaken, ((A)e).abc();
But I got to wonder, do you ever learn anything from the questions you posted, or do you just want the answer of each question and that's it?
|
|
|
|
|
darkelv wrote: do you just want the answer of each question and that's it?
That would seem to be the case. She doesn't seem to be willing to do anything to help herself. All I can conclude is that she's either lazy or unwilling to think for herself.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Pete O`Hanlon wrote: All I can conclude is that she's either lazy or unwilling to think for herself
What I don't get is that the questions are often so devoid of meaning that it's hard to believe she's actually writing something with this stuff. It just seems to be random.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
darkelv wrote: If i am not mistaken, ((A)e).abc();
I am afraid that you are. When calling a virtual method, the actual type of the object is used, and casting the reference to a different type doesn't change the actual type of the object.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
Sonia Gupta wrote: how can i call the the function of class a , using the object of class b
What have you tried?
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Why do you start a new thread, instead of continuing in the same thread?
Sonia Gupta wrote: how can i call the the function of class a , using the object of class b
You can't.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
At this point, I'm assuming that you're trolling. I can't think of any other explanation for the stream of posts that just keep coming, regardless of how many people urge you to learn to do some basic research.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: At this point, I'm assuming that you're trolling. I can't think of any other explanation for the stream of posts that just keep coming, regardless of how many people urge you to learn to do some basic research.
I would have to agree with you on this one. Almost all of the posts are trivial in nature at best and all could have been answered by reading a single introductory book to programming and .NET.
Given the large amount of questions posted like this in such a short period of time (843 in 6 months, at last count) and the number of people that have responded by actually providing an answer and/or telling her to go out and pick up said introductory book, any way to ban this account or at least put her on probabtion of some kind? (It might not be worth it since she could always just open another account, but it might serve to get the message across and would be one small step to help everyone here not waste time cralwing through these messages.)
By the way, according to her profile, her homepage is the Visual Basic/VB.NET Fourm.
|
|
|
|
|
|
Hey guyz,
I am currently learning C# and wanna know how to change the look of the form?
For example.. See this pic..
http://img206.imageshack.us/img206/6296/gomvx6.png
So How to make forms like that in C#?
Thanks.
------------------------------------------------------------------
Life would have been much easier if I had the source-code!!
|
|
|
|
|
You can try this[^] (comes with a video[^]).
Take care,
Tom
-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com
|
|
|
|
|
Thanks for the links mate.. Will try them out
------------------------------------------------------------------
Life would have been much easier if I had the source-code!!
|
|
|
|
|
Hi,
I need your help for some sporadic problem that I got during starting new process (C# 1.1).
when I 'm starting new process on remote machine (using remoting), my process starts properly and launching an external application, but from some strange reason it does not exit , and the CPU is growing almost to 98% despite the fact that the application I run via this process finished its job.
Please see my code below:
Code: ( text )
proc = new Process();
proc.EnableRaisingEvents = true;
proc.StartInfo.FileName = m_AppExeName;
proc.StartInfo.WorkingDirectory = m_AppFolderName;
proc.StartInfo.UseShellExecute = false;
proc.Start();
10x,
Lior
|
|
|
|
|
Hello,
Two Point's that come in my mind:
.)
Are you holding the reference to the Process all the time or are you disposing it proper.
You could use a 'using'-block for that:
using (Process proc = new Process())
{
proc...
}
.)
Why are you setting the 'EnableRaisingEvents' to 'true'.
Are you handling the 'Exited' event somewere?
All the best,
Martin
|
|
|
|
|
Thanks for your quick response
I'm holding a reference to this Process indeed.
In addition, I'm using the 'Exited' event later in the code in order to get notified
when my process finished its job (notify the client).
Do u think it can cause this problem??
Thanks,
Lior
|
|
|
|