|
thanks Swader,
but I want to load and create object in the run time, 'cos if we add it as reference I will will have to recompile my program each time the dll version changes..
|
|
|
|
|
Nope.. Thats the feature of .net that you wont need to recompile your project unless you want to use the new features of the dll
------------------------------------------------------------------
Life would have been much easier if I had the source-code!!
|
|
|
|
|
but Is it true if the dll is created in VB6..??
'cos now I need to change references in my program each time anything changes in the VB dll
|
|
|
|
|
hi friends i am tiwari i need a urgent help
i am doing a project in which i have to perform drag and drop operation with resizing on a canvas. the main problem is saving the form such that whenever the user opens it the form must be ready for editing please send me code in c# my id
is mr.sindhutiwari@yahoo.com
its me sid
|
|
|
|
|
Hello tiwari, you are new here so you should read the thread at the top of this forum titled "How to get answers to your questions".
This will tell you (among other things)
1) Use descriptive thread titles (this is the C# forum so your subject of C# is not helpful)
2) Not to use the word "Urgent" - everything is urgent
3) We dont write full code for you - we help when you get stuck on a specific piece of code.
|
|
|
|
|
i really appreciate u but ur suggestions would have been better if they were with answers
its me sid
|
|
|
|
|
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.
|
|
|
|
|