|
Actually, the answer to your question is right in the error message. The compiler doesn't know where to find "DocumentNavigator". In C++ you would tell it how by using a #include. In C# you do this by typing in the full namespace for DocumentNavigator, or by a "using" statement that references the namespace where you find DocumentNavigator. (Check MSDN help to find out where it is if you don't already know.)
John
|
|
|
|
|
Is it possible to use COM+ object pooling with .Net remoting. I mean can i have a remote object that is pooled by COM+
Help me James .T
May the Source be with you
Sonork ID 100.9997 sijinjoseph
|
|
|
|
|
Sijin wrote:
Help me James .T
I don't know enough about COM+ to help you there. You might want to check the DOTNET and DOTNET-CLR archives to see if someone else has asked the same question.
DevelopMentor's mailing list homepage[^]
James
- out of order -
|
|
|
|
|
James i think i am getting it a bit now, after two continous days of R&D, the problem is that even i didn't know enough about COM+ and so was asking the wrong questions?. But i found a great article on www.dotnetnut.com which discusses COM+ and .Net.
You see the thing is that if i mark an object as being managed by COM+ then when it is instaniated them the CLR automatically registers it in the COM+ catalog and then provides COM+ services like pooling and JIT and transaction support etc. for the object, which is great for apps which have to be scalable.
Btw, what took you so long to reply, busy with another great article i hope, looking forward to it.
May the Source be with you
Sonork ID 100.9997 sijinjoseph
|
|
|
|
|
Sijin wrote:
Btw, what took you so long to reply, busy with another great article i hope
Sadly, no. I've been busy with a large project so I haven't been hitting CP as much as I used to.
James
- out of order -
|
|
|
|
|
Hi
How do I make a modal dialog box that returns OK or Cancel?
tx
Michel
It is a lovely language, but it takes a very long time to say anything in it, because we do not say anything in it, unless it is worth taking a very long time to say, and to listen to.
- TreeBeard
|
|
|
|
|
I figured it out. For those interested, you set the "CancelButton" form property to one of your buttons, and, for the "OK" button, you set the button's property "DialogResult" to "OK".
Michel
It is a lovely language, but it takes a very long time to say anything in it, because we do not say anything in it, unless it is worth taking a very long time to say, and to listen to.
- TreeBeard
|
|
|
|
|
You can also do it manually (via code) by setting the DialogResult property to DialogResult.OK and DialogResult.Cancel .
This is especially useful when doing form validation in your OK button click event handler. If the form is invalid, just set DialogResul to DialogResult.None .
Derek Lakin.
I wish I was what I thought I was when I wished I was what I am.
Salamander Software Ltd.
|
|
|
|
|
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
|
|
|
|