471,605 Members | 1,492 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

Source code sites?

I am looking for .Net 2.0 VB, C or C# source code (even advanced 1.1 code is
OK). I find that I learn more, faster by tweaking other people's code than
by simply reading book after book on the subject.

Any links that you could provide (the more advanced the better) would be
sincerely appreciated.

Thanks!

Dec 1 '05 #1
13 2819
Microsoft has went to great pains to send code with the Visual Studio
package that you should really take the time to look at. I would also
recommend getting their book on C#.net if you really interested in serious
programming. If you're familiar with programming and want to cut to the
chase...they've done a really nice job of printing a text that doesn't
attempt to re-teach you the fundamentals of programming. The books does a
great job of comparing old C++ to the changes in C#. I know it might be
hard to believe but I give MS a thumbs up on this one...great job MS with
your added examples!

Good Luck,

Chris

--
Securing your systems is much like fighting off disease -- as long as you
maintain basic hygiene, you're likely to be okay, but you'll never be
invulnerable.

Steve Shah - Unix Systems Network Administrator
"Jim Hubbard" <Ji*@notmyaddress.com> wrote in message
news:gJ*******************@bignews7.bellsouth.net. ..
I am looking for .Net 2.0 VB, C or C# source code (even advanced 1.1 code
is OK). I find that I learn more, faster by tweaking other people's code
than by simply reading book after book on the subject.

Any links that you could provide (the more advanced the better) would be
sincerely appreciated.

Thanks!

Dec 1 '05 #2
Hello Jim ,

For advanced and really good code i find that DEVX is a valuable website
for me , also the VB2themax website is one of my favorites ( the website of
Francesco Balena in contradiction to its name it also has C# code )

http://www.devx.com/

http://www.vb2themax.com/
regards

Michel Posseth [MCP]

"Jim Hubbard" <Ji*@notmyaddress.com> schreef in bericht
news:gJ*******************@bignews7.bellsouth.net. ..
I am looking for .Net 2.0 VB, C or C# source code (even advanced 1.1 code
is OK). I find that I learn more, faster by tweaking other people's code
than by simply reading book after book on the subject.

Any links that you could provide (the more advanced the better) would be
sincerely appreciated.

Thanks!

Dec 1 '05 #3
Which M$ C#.net did you have in mind? Could you give the title? Or
even better, the ISBN?

Chris

Chris Springer wrote:
Microsoft has went to great pains to send code with the Visual Studio
package that you should really take the time to look at. I would also
recommend getting their book on C#.net if you really interested in serious
programming. If you're familiar with programming and want to cut to the
chase...they've done a really nice job of printing a text that doesn't
attempt to re-teach you the fundamentals of programming. The books does a
great job of comparing old C++ to the changes in C#. I know it might be
hard to believe but I give MS a thumbs up on this one...great job MS with
your added examples!

Good Luck,

Chris

Dec 1 '05 #4
The title is "Microsoft Visual C#.net Step by Step"

You'll have to be careful because this ISBN is for the 2003 version...not
for the 2005 version. They have a 2005 version in print...they're both
$39.99. Here is the ISBN...

0-7356-1909-3

Good luck!

Chris

--
Securing your systems is much like fighting off disease -- as long as you
maintain basic hygiene, you're likely to be okay, but you'll never be
invulnerable.

Steve Shah - Unix Systems Network Administrator
"Chris Bootland" <"bootland at cyberone dot com dot au"> wrote in message
news:43**********************@ken-reader.news.telstra.net...
Which M$ C#.net did you have in mind? Could you give the title? Or even
better, the ISBN?

Chris

Chris Springer wrote:
Microsoft has went to great pains to send code with the Visual Studio
package that you should really take the time to look at. I would also
recommend getting their book on C#.net if you really interested in
serious programming. If you're familiar with programming and want to cut
to the chase...they've done a really nice job of printing a text that
doesn't attempt to re-teach you the fundamentals of programming. The
books does a great job of comparing old C++ to the changes in C#. I know
it might be hard to believe but I give MS a thumbs up on this one...great
job MS with your added examples!

Good Luck,

Chris

Dec 1 '05 #5
Jim,

I use these samples.

http://msdn.microsoft.com/vstudio/do...s/default.aspx

The only problem with those is that the VBNet samples are often obviously
made by C# programmers, so you don't see methods like the CDate and there
are constructions like this "If (true) then"

However I thought that you are very well able to see that.

I hope this helps,

(Written from the VB language newsgroup)

Cor
Dec 1 '05 #6
I read very often: http://www.codeproject.com, may be it will help you.

Dec 1 '05 #7

Thanks for the links so far.......but does anyone have more advanced code?

I'm looking for code examples like mirror drivers in .Net or defragging in
..Net....that type of thing. Perhaps coding mirror drivers for a LAN remote
pc application cannot be done in .Net....but, I thought that .Net was
supposed to be the successor to C++. Am I wrong about that?

"Jim Hubbard" <Ji*@notmyaddress.com> wrote in message
news:gJ*******************@bignews7.bellsouth.net. ..
I am looking for .Net 2.0 VB, C or C# source code (even advanced 1.1 code
is OK). I find that I learn more, faster by tweaking other people's code
than by simply reading book after book on the subject.

Any links that you could provide (the more advanced the better) would be
sincerely appreciated.

Thanks!

Dec 1 '05 #8
> I am looking for .Net 2.0 VB, C or C# source code (even advanced 1.1
code is OK).


Dave Donaldson's CodeKeep (http://www.codekeep.net/) is a great online repository
of snippets. You can query and find interesting stuff to dig through there.
Dec 1 '05 #9
Sweet!

Wish I had known this earlier.......I've been writing my own site/add-in
that mirrors this functionality for the last few hours.

Oh well.....mine works with 2005 Express editions (I'm sure they're working
on one too.)

And, yes, it will be free as well.

I think that incorporating a way to post to/read from the newsgroups will
also be included - just in case you couldn't find the snippet you were
looking for.

I'll let you know something in a few days.

Maybe somebody will help me with an interface to a mirror driver in exchange
for all of my hard work...... :). I have the mirror driver, but I am not a
C/C++ programmer. I would love to get a .Net interface written for the
mirror driver by a good C/C++/.Net programmer.

Hey! That would be a great snippet for the site!

Thanks so much for your help!

"Jim Holmes" <jim@NOSPAM_IterativeRose_DOT.com> wrote in message
news:a6*************************@msnews.microsoft. com...
I am looking for .Net 2.0 VB, C or C# source code (even advanced 1.1
code is OK).


Dave Donaldson's CodeKeep (http://www.codekeep.net/) is a great online
repository of snippets. You can query and find interesting stuff to dig
through there.

Dec 1 '05 #10

"Jim Hubbard" <Ji*@notmyaddress.com> wrote in message
news:xl*****************@bignews2.bellsouth.net...

Thanks for the links so far.......but does anyone have more advanced code?

I'm looking for code examples like mirror drivers in .Net or defragging in
.Net....that type of thing. Perhaps coding mirror drivers for a LAN
remote pc application cannot be done in .Net....but, I thought that .Net
was supposed to be the successor to C++. Am I wrong about that?

"Jim Hubbard" <Ji*@notmyaddress.com> wrote in message
news:gJ*******************@bignews7.bellsouth.net. ..
I am looking for .Net 2.0 VB, C or C# source code (even advanced 1.1 code
is OK). I find that I learn more, faster by tweaking other people's code
than by simply reading book after book on the subject.

Any links that you could provide (the more advanced the better) would be
sincerely appreciated.

Thanks!



No .NET (a marketing term really) is not the successor of anything like a
programming language. C++ is a programming language and what you call .NET
covers a framework that can be used to build general purpose user
applications, running in top of the so called CLR (or CLI in Ecma parlance).
There are numerous (managed) programming languages that target the framework
like: C#, VB.NET, ME C++, JScript and C++/CLI to name a few. None of them
are however meant to replace C++, while the "managed" languages may have
several advantages over native C++, depending on the problem domain, a lot
of programming task can't (or shouldn't) be done using any of them. The
problem is not directly the language per se , it's more related to the
managed environment (the Common Language Runtime).
One of the programming domains for which you can't use .NET (any language)
are drivers (any kind), here the only supported language is C++ (or lower
;-)).
Other domains not targeted by .NET are high performance servers (aka.
Databases, mail servers), High performance desktop application (CAD/CAM,
Imaging etc...) kernel OS components, system libraries, runtime libraries
etc....
Note that C++ is part of the Visual Studio offering and VS2005 includes the
latest version supporting native C++ as well as C++CLI.

Willy.


Dec 1 '05 #11
So, learning C++ is not a waste of time then....

But, it looks like the learning curve is quite steep and I may be better off
hiring out this little project (making a .Net interface to the C++ mirror
drivers).

Thanks for the info!

"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
news:uM*************@TK2MSFTNGP10.phx.gbl...

"Jim Hubbard" <Ji*@notmyaddress.com> wrote in message
news:xl*****************@bignews2.bellsouth.net...

Thanks for the links so far.......but does anyone have more advanced
code?

I'm looking for code examples like mirror drivers in .Net or defragging
in .Net....that type of thing. Perhaps coding mirror drivers for a LAN
remote pc application cannot be done in .Net....but, I thought that .Net
was supposed to be the successor to C++. Am I wrong about that?

"Jim Hubbard" <Ji*@notmyaddress.com> wrote in message
news:gJ*******************@bignews7.bellsouth.net. ..
I am looking for .Net 2.0 VB, C or C# source code (even advanced 1.1 code
is OK). I find that I learn more, faster by tweaking other people's code
than by simply reading book after book on the subject.

Any links that you could provide (the more advanced the better) would be
sincerely appreciated.

Thanks!



No .NET (a marketing term really) is not the successor of anything like a
programming language. C++ is a programming language and what you call .NET
covers a framework that can be used to build general purpose user
applications, running in top of the so called CLR (or CLI in Ecma
parlance). There are numerous (managed) programming languages that target
the framework like: C#, VB.NET, ME C++, JScript and C++/CLI to name a few.
None of them are however meant to replace C++, while the "managed"
languages may have several advantages over native C++, depending on the
problem domain, a lot of programming task can't (or shouldn't) be done
using any of them. The problem is not directly the language per se , it's
more related to the managed environment (the Common Language Runtime).
One of the programming domains for which you can't use .NET (any language)
are drivers (any kind), here the only supported language is C++ (or lower
;-)).
Other domains not targeted by .NET are high performance servers (aka.
Databases, mail servers), High performance desktop application (CAD/CAM,
Imaging etc...) kernel OS components, system libraries, runtime libraries
etc....
Note that C++ is part of the Visual Studio offering and VS2005 includes
the latest version supporting native C++ as well as C++CLI.

Willy.

Dec 1 '05 #12
SourceForge.net - a variety of platforms, languages, etc. (have to search
for C#)
CodeProject.com - similar
GotDotNet.com - look at the workspaces

MSDN site also has code samples in a variety of their articles.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***********************************************
Think Outside the Box!
***********************************************
"Jim Hubbard" <Ji*@notmyaddress.com> wrote in message
news:gJ*******************@bignews7.bellsouth.net. ..
I am looking for .Net 2.0 VB, C or C# source code (even advanced 1.1 code
is OK). I find that I learn more, faster by tweaking other people's code
than by simply reading book after book on the subject.

Any links that you could provide (the more advanced the better) would be
sincerely appreciated.

Thanks!

Dec 1 '05 #13
I think the best source of learning .NET and C# is ROTOR(Shared Source
Common Language Infrastructure). The entire CLR(with some changes i'm
sure) source code for version 1.0 is included as well of most of 1.0
libraries. When learning C# it was helpful getting classes like
ArrayList and stepping through them. Anyway, you can get Shared Source
Common Language Infrastructure here
http://www.microsoft.com/downloads/d...displaylang=en

Dec 1 '05 #14

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Michael Dekson | last post: by
9 posts views Thread by Michael Dekson | last post: by
8 posts views Thread by Steven T. Hatton | last post: by
reply views Thread by Michael C | last post: by
5 posts views Thread by colin | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.