|
That's weird. In order to be able to mark a method with override the base class method must be either itself override , abstract or virtual .
... or on my compiler it does anyway.
Regards,
Rob Philpott.
|
|
|
|
|
I do declare the functions as abstract ...
Just not virtual .
|
|
|
|
|
ah ok. virtual is implied from abstract , as an abstract method can't have an implementation, one must be supplied by each child class.
If it wasn't implicitly virtual, you'd not be able to call the method on a base class reference.
Regards,
Rob Philpott.
|
|
|
|
|
An abstract method is also automatically virtual.
---
b { font-weight: normal; }
|
|
|
|
|
Oh... I see...
Thanks guys...
HAND...
|
|
|
|
|
Hello all,
What will be benefit if we use parameterised transactions for inserting, updating records.
For a large scale development which should be better the simple sql complete query based solution or parameterized solution.
|
|
|
|
|
|
Hi
i am new to the world of C# and previously have worked on C++ and C. i have made certain applications using c# but i am not confident on it. Whats the Best way to do learn c# in shortest time?
PLz help
Thanks
Sankalp Verma
|
|
|
|
|
Since you already have a grasp on C++, C# is mostly going to be a search for the correcet namespace. I would recommend a book from Wrox or OReilly on your subject of choice. Keep in mind that Windows (Winforms) and ASP.NET as very different animals. Same syntax, just many different namespaces.
|
|
|
|
|
Thnaks for that idea but there are hell of things in C# like WMI , web based applications ADO.Net ADSI etc and its hee that i get confused that what shall i do?
My main work area is Networking and we need to write script files based on windows.can you tell me is C# the best language to do so or shall i go for WSH or VBS?????
Sankalp Verma
|
|
|
|
|
I may be wrong, but I believe most networking is done in VBS.
There are several articles here that may help you in c# or C++:
http://www.codeproject.com/cs/system/cstcpipwmi.asp
http://www.codeproject.com/dotnet/adduseracetofile.asp
http://www.codeproject.com/w2k/adsiuserdmo.asp
|
|
|
|
|
|
|
hi verma,
we r sailing in the same boat. i am also new to C#.
it is better to do some sample appliations which are related to real time applications.
and work practically each and every concept of C#.
already u r into C++ (into Object oriented Programming), so u should not worry much about C#.
i saw one site,and felt to good for one who is new to C#. it is csharp-station.com.go thru the each and every lession in the Tutorial. and work on their samples.
this site(i mean www.codeproject.com) is also very usefll for us. in
General C# sections, u will find C# Samples. they are really good to learn C# coding standards.
all the best,
rahi
|
|
|
|
|
hi all,
i want to ask a few questions about controlling internet explorer with C#:
* let's assume i am using IE7:
1. (if my browser is open)
- how can i change the first tab's url ? (assume there are a few open tabs)
- how can i add a new tab & open a url ?
2. (if my browser is not open)
- how can i start ie7 with and url ?
* let's assume i am using an older version of IE
1. (if there are a few open IEs)
- how can i change the first IE's (first one on the TaskBar) url ?
- how can i open a new IE with a url ?
thanks in advance, bye.
MFA
|
|
|
|
|
u acn try
System.Diagnostics.Process.Start("http://www.msn.com");
it will open the site in default browser of ur system.
rahul
|
|
|
|
|
HI,
Use this.
process1.StartInfo.FileName="iexplore";
process1.StartInfo.Arguments="NishuSoft.com";
process1.Start();
Which browser you want to use..give its exe file path.....Aand try....
<marquee>nishu
|
|
|
|
|
i have 4 projects/applications and 1 project/application containig a form with 4 panels. when a user click one of these panels the program is supposed to run one of the other 4 programs. how do i do this, presuming on the targetr computer all three will be installed??
rzvme
|
|
|
|
|
u can use
System.Diagnostics.Process.Start("full path with application name");
rahul
|
|
|
|
|
so i'm supposed to knoe where the user installed the projects?!
rzvme
|
|
|
|
|
|
You can also at a "Add Application" option on your program. Let the user find and add the items themselves.
|
|
|
|
|
i think following way colud help you
make your every project a user control and embed them on the panels.and on of click event on every panel you can run your program.
sameer
|
|
|
|
|
suppose my combo is populated and i want when i will press down arrow key then the list of my combo will be shown.pls help with sample code.
tbhattacharjee
|
|
|
|
|
if focus is in ComboBox.then write following code on the key down event of the combobox
if(e.Keycode==Keys.Down)<br />
{<br />
myComboBox.DroppedDown =true;<br />
}
sameer
|
|
|
|