|
Read this [^]
only two letters away from being an asset
|
|
|
|
|
I found your post very surprising, how could you know C# well without understanding the .Net Framework.
|
|
|
|
|
Hey budy ................ i learned C++ and with out knowing what it is in our lab .............. i started working C# forms(very easy one) ................ coz most of the time I learned by my slef .............. after a while I downloaded some c# codes and see what i can get .......... so how could you expect me to know it without any clue about it .......................... I just post this question to get some idea from u guys ................. but every body whistles ............................ any ways if you are ok with that I wish you could helped me.
Thank you
|
|
|
|
|
matiIsGreat wrote: Hey guys I am working on c# appllication ......... i know it well ..... but I cant understand the aim of the .Net Framework ................ what is its apllication??? i am confused
The .Net framework is just a collection of classes and services. The classes serve to simplify development by providing common tasks, and allowing you to interop using PInvoke. The services clean up after you, making sure that the stuff you create using new is released at the end of its scope.
It's language agnostic - the only difference between C#, VB.Net, C++ (CLI) and a few others is a bit of syntax. You can use the same .Net framework in most MS languages.
Originally it just ran on Windows 98+, but recently it's been ported to Linux as Mono. You can also run a subset of the framework on Pocket PCs.
The .Net framework can run either online or offline applications. By online applications I mean Silverlight applications. By offline applications I mean the usual WPF/Windows Forms applications, like the one you've been writing.
Each release of the .Net framework is a superset of the previous. Version 2.0 builds on top of version 1.1, and so on. So you could theoretically build a program which is usable by any version of the framework - it's just not commonly done.
Windows Vista and Windows Seven have got versions of the .Net framework installed by default, so you can deploy your applications to there without too much hassle.
The .Net framework also does deployment applications, like installers. You might want to research ClickOnce as an example of this.
Between the idea
And the reality
Between the motion
And the act
Falls the Shadow
|
|
|
|
|
Hey dude .... thanks a lot..... you gave me a good start.... and I hope I can do much better if i know a little bit ..... you are better than the others ........ they thought i was kidding ..... every body replyed negative thoughts .... that is not expected from the so called "Programmers" ........
By the way I have 1 question for you.... from your answer
Computafreak wrote: The classes serve to simplify development by providing common tasks, and allowing you to interop using PInvoke.
I didnt understand the word PInvoke
Thanks a lot.
|
|
|
|
|
You told everyone you know C# very well. The problem is you can't possibly know c# that well at all if you didn't know what the .NET Framework was and what the .NET CLR is. It seems from the two questions you asked in this thread that you don't know C# beyond the basic contructs of the language itself.
|
|
|
|
|
PInvoke is short for platform invoke. It allows CIL, which is managed code which uses the .Net framework, to call native code, which is basically, C++, C or assembly code. It's commonly used to do pointer arithmetic (in VB.Net) or work directly with Windows.
Most of the people who replied to you are usually helpful. It's just that most of the information I gave you, you could have found out by looking the .Net Framework up on Wikipedia. No offence
Between the idea
And the reality
Between the motion
And the act
Falls the Shadow
|
|
|
|
|
|
I voted a "1" before looking at his copy/paste responses and can no longer report the message.
|
|
|
|
|
sir,
can u send me all the details along with the code explanation of all properties,events and methods of each and every control in .net(vb,asp)
|
|
|
|
|
There[^] you are, enjoy
Find me 10 normal people - and I will cure them
|
|
|
|
|
The original question was not well-written, and the poster failed to indicate what resources he'd tried to look at. Microsoft's documentation isn't as helpful as it could be; it would certainly be useful to have some better explanations of some common scenarios.
For example, what happens when a user presses the space bar when a particular form is the front-most window, and what factors control that behavior? What happens in various circumstances when someone interacts with a TextBox (e.g. typing a printable character, using an arrow key or shift+arrow key, control-V, control-insert, tab, enter, etc.)
I'd really like to have a guide that explained how all the events and overridable methods interact, but I'm not aware of any. Would you have any to recommend?
|
|
|
|
|
The only one I know of is experience. I haven't seen any kind of print version of what you're talking about.
|
|
|
|
|
supercat9 wrote: The original question was not well-written, and the poster failed to indicate what resources he'd tried to look at. Microsoft's documentation isn't as helpful as it could be; it would certainly be useful to have some better explanations of some common scenarios.
That part of MSDN can best be used as a reference-manual. I've remapped my F1-key to point there, as it loads quite quickly. It's not a good learning resource, but there's a different portal for that[^]. If you're after a specific common scenario, browse the "How Do I" video's[^].
There are some hidden nuggets in MSDN, explaining the differences between the French[^], Spanish and Polish sort-orders. My personal favorite is definitely the UX Guide[^] (also available as PDF[^]) explaining how a decent user-interface is made, and what one has to consider during the design
supercat9 wrote: For example, what happens when a user presses the space bar when a particular form is the front-most window, and what factors control that behavior?
There's some electrical things going on, there's some things going on in the driver, some in the OS, and then some. I very much enjoyed reading the weblog[^] of Raymond Chen, learning about Messages [^] and how they are handled[^]. It's not all in the form of guides, but you can go far just by reading what's online.
supercat9 wrote: What happens in various circumstances when someone interacts with a TextBox (e.g. typing a printable character, using an arrow key or shift+arrow key, control-V, control-insert, tab, enter, etc.)
Like I said, there's some gems hidden[^] on MSDN
supercat9 wrote: I'd really like to have a guide that explained how all the events and overridable methods interact, but I'm not aware of any. Would you have any to recommend?
I'm not sure what it is that you seek; the best "guide" that I found on both events and OO is the book "Head First C#[^]".
If I interpret the question right, then you already know what an event is, how it differs from a delegate and how you replace a method in a derived class. In that case, you might be interested in the poster[^] that graphically depicts the Framework (part of the poster-pack[^]).
Ask five developers what you should learn next, and you'll get five[^] different[^] answers[^].
The only good piece of advice that I can give is to become very, very curious
|
|
|
|
|
Hi Eddy,
Eddy Vluggen wrote: Ask five developers what you should learn next, and you'll get five different answers
you clearly don't need four colleagues, you provided more than five different answers all by yourself.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Hi Luc,
"We got carried away while answering, but we enjoyed it"
I are Troll
|
|
|
|
|
Eddy Vluggen wrote: We got carried away while answering, but we enjoyed it
That's OK then!
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Thank you for your reply. It seems very useful and worth a book-mark. I've tried Google'ing for the information various ways, but I found oodles of pages that didn't really show what I was looking for. The "hidden" MSDN page you pointed me to looks like just what I was looking for (though the other links seem worth a gander as well). I wish Microsoft would have a more useful internal link structure to make it easy to find such information. In any case, I'm glad you pointed me to it. Thanks again.
|
|
|
|
|
Thanks, and you're welcome
|
|
|
|
|
Hi Good Day!
I'm new in Web development using ASP.net with C#.net page language..
I have some question for those really know about the WEB SERVICE..is it really possible that WEB SERVICE send to the WINDOWS SERVICE these two parameters DATEFROM and DATETO.
The WINDOWS SERVICE execute the T-SQL which the parameter value entered by the user.
Thanks And More Power
HONORABLE
|
|
|
|
|
Web-Services works on a request/response architecture. It can't do anything until there is a request for it. That said, a web-service can't send anything to a windows service.
Windows service can access this web-service to get information instead.
|
|
|
|
|
|
It is possible - you'll have to use remoting to do this, but it is possible. Basically, you'll need to define an interface that you will use on both sides:
public interface IUpdate
{
void UpdateDatabase(DateTime from, DateTime to);
} Then, you'll implement this interface in your windows service inside a class that derives from MarshallByRefObject. To activate this object from your web service, you use code that looks similar to:
TcpChannel clientChannel = new TcpChannel();
ChannelServices.RegisterChannel(clientChannel, false);
IUpdate upd = (IUpdate)Activator.GetObject(typeof(IUpdate), "tcp://myserver:1234/UpdateClass); This example assumes that your server is called myserver, that it remotes on port 1234, and that the class that you connect to is called UpdateClass.
At this point, you can call
upd.UpdateDatabase(dateFrom, dateTo); It's that simple.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
In a simpler way you can write a small xml file to store your dates from WebService.
You Windows Service would keep polling the file and picks the dates whenever it gets the values.
Now with a more complicated implementation would be have the Remoting implementation (which is already suggested).
A bit more complicated and proper implementation might be Microsoft Message Queueing. In this way, keep one Message Queue to send your data from WebService in the Queue. Your Windows Service would pick from there. Please visit the <a href="http://articles.techrepublic.com.com/5100-10878_11-6170794.html">blog</a>[<a href="http://articles.techrepublic.com.com/5100-10878_11-6170794.html" target="_blank" title="New Window">^</a>]which will help you about messaging beween processes.
Now you decide the approach better suitable for you.
Enjoy..
|
|
|
|
|
sir,
1)can u tell me the code how to display the entire row selected from datagridview control at runtime into textbox control
2)code for how to bind a checkedlistbox control into datagridviewcontrol without using a wizard
|
|
|
|