|
I want to develop an application in C#, a plain simple window with "Hwllo World" string displayed in the centre. Thats it!!
Then i want to distribute this product. Please tell me what "minimal" things i need to include with the setup program of this very simple application???
Also tell me the combined minimal size of the resultant things that i need no distribute, so that this application "successfully" work onsystem having no .NET installed proviously.
|
|
|
|
|
You need the .NET redistributable installed (25mb) to my knowledge it is not possible to run it otherwise.
Why waste time learning when ignorance in instantaneous
-Hobbes
|
|
|
|
|
Last Thursday, we announced a few future C# language features at OOPSLA 2002. The features are:
* Generics
* Iterators
* Anonymous Delegates
* Partial Types
Note that these features are not in the version of VS that's current in Beta, VS "Everett".
For more information - and to sign up to receive email when we have specs ready - visit http://www.csharp.net
|
|
|
|
|
Eric Gunnerson (msft) wrote:
* Generics
* Iterators
I can't wait for these.
Nick Parker
May your glass be ever full.
May the roof over your head be always strong.
And may you be in heaven half an hour before the devil knows you’re dead. - Irish Blessing
|
|
|
|
|
If you really can't wait you could try Envision! (Eiffel .NET for Visual Studio .NET)
http://www.eiffel.com. There is a free non-commercial version.
Kevin
|
|
|
|
|
|
Thank goodness leppie...I didn't know either...
You will now find yourself in a wonderous, magical place, filled with talking gnomes, mythical squirrels, and, almost as an afterthought, your bookmarks
-Shog9 teaching Mel Feik how to bookmark
I don't know whether it's just the light but I swear the database server gives me dirty looks everytime I wander past.
-Chris Maunder
|
|
|
|
|
An iterator is a practical and innovative language construct based on similar features in research languages such as CLU, Sather, Icon, and more. Simply put, iterators make it easy for types to declare how the foreach statement will iterate over their elements.
I'm more confused than I was before. Innovative ? Are we talking about something different to what the STL calls an iterator here ?
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
I thought the generics were old news. I'm interested to know what is meant by 'iterators' though - do we glean from this that there will be an STL like container collection in the next version as well ? Is there anywhere we can see some examples of the syntax of the new features ?
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
Iterators are a way to make writing foreach-able classes easier. It's fairly easy currently to do this for something like an array, but doing it for a tree requires some gymnastics. With iterators, the compiler does the gymnastics for you.
|
|
|
|
|
Eric Gunnerson (msft) wrote:
For more information - and to sign up to receive email when we have specs ready - visit http://www.csharp.net
Eric, the link there for demo files is broken. The powerpoint file downloads OK though.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
Are they worth the download? I dont feel like downloading PPTView and installing it....
"I dont have a life, I have a program."
|
|
|
|
|
I apologize for that. A file was supposed to get copied to the website, and it didn't. It should be fixed presently...
|
|
|
|
|
Well, you know, I'd rant and rave about Microsoft letting me down again, but last time I checked, I was not perfect either ( although damn close, let me add )......
Thanks - I'll check again later today. I'm really excited about this stuff, I must say, especially how verbose the generic syntax isn't.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
|
Eric Gunnerson (msft) wrote:
Anonymous Delegates
I read elsewhere about Anonymous Methods instead. Are they one and the same or is there a subtle difference?
ASP.NET can never fail as working with it is like fitting bras to supermodels - it's one pleasure after the next - David Wulff
|
|
|
|
|
Ok scratch that, just learnt that it's "Anonymous methods via delegates"
ASP.NET can never fail as working with it is like fitting bras to supermodels - it's one pleasure after the next - David Wulff
|
|
|
|
|
Anonymous Methods is the proper term - I made a mistake in my posting.
|
|
|
|
|
Without wanting to start a VB vs VC# troll, is this the split between these 2 languages that I've been hearing about from your South African colleagues?
Either way, you guys are doing great work.
Cheers,
Simon
"VB.NET ... the STD of choice", me, internal company memo
|
|
|
|
|
C# and VB .NET are targetted at slightly different audiences, and that changes the stack rank of features. Many features are interesting to both groups, but the importance of the feature may be high in one group and low in another. Each of the product groups decides where to devote their resources for a given release.
I don't know what the plans are for VB .NET WRT generics. I do know that generics have always been one of the top requests from C# customers, and that's why we're doing them.
|
|
|
|
|
Thanks, Eric.
That clears things up for me.
Cheers,
Simon
"From now on, if rogue states want to buy weapons of mass destruction, they're going to have to go on eBay," Mr. Bezos said.
|
|
|
|
|
I have a situation in which data from a database is extracted via ExecuteReader(), with all of this taking place in the Page_Load event in a codebehind file. The data is then stored in several variables whos contents are displayed on different parts of the page. I now would like to add a usercontrol to make updating the navigation panel easier. However part of the navigation require key data that was extracted from the database.So...
Is there anyway to give 'myusercontrol.ascx' on 'somepage.aspx' access to variables in 'somepages-codebehind.cs' ???
It would be extremely convenient if there were, which is why I'm asking
Otherwise I will have to rewrite the entire way data is access
Thanks for the help.
********************
* SteveMcLenithan
* steve@steve-mac.com
* http://steve-mac.com
********************
|
|
|
|
|
ASP.NET forum question! And no dont double it there too!
Steve McLenithan wrote:
Is there anyway to give 'myusercontrol.ascx' on 'somepage.aspx' access to variables in 'somepages-codebehind.cs' ???
You just need to mark the members (variables) protected public ( ) and then u can use the USerControls Page property to get the page, cast it somepage and whala!
"I dont have a life, I have a program."
|
|
|
|
|
|
I have a rich text control....and a rich text document to display in that control. Is there any easy way to bind that file to the control, or do I have to access the file and stream it into the control at form load?
Thanks
_____________________________________________
I have a tendancy to where my mind on my sleeve I have a habit of losing my shirt...
|
|
|
|