|
Hi,
I installed .NET 3.0 and I want to know how do I see that it was installed? I installed Enterprise Library April 2007 and it went through fine, but it would've gone through even if I had only 2.0 installed.
Please can someone advise??
Regards
ma se
|
|
|
|
|
Add/Remove Programs control panel is an easy way.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Hi Dave,
Thanks for the feedback, I don't know why I didn't check this in the first place. I probably did but overlooked it somewhere.
Just a quick question on Enterprise Library April 2007. If 3.0 is installed, it will install all the necessary projects for 3.0? Is there a way that I can check it?
Have you started working on .NET 3.5?? Is there anything available for download. Do you know if it is going to be like 3.0 where it won't be necessarily required to use it if you have 2.0?? 3.0 is basically for workflows, right?
Thanks
ma se
|
|
|
|
|
ma se wrote: Just a quick question on Enterprise Library April 2007. If 3.0 is installed, it will install all the necessary projects for 3.0? Is there a way that I can check it?
No idea. I don't use the Enterprise Library.
ma se wrote: Have you started working on .NET 3.5??
No, I haven't had any time to play around with it.
ma se wrote: Is there anything available for download.
If you want to play around with the next release of Visual Studio and .NET 3.5, go here[^]. Warning - the downloads are massive.
ma se wrote: 3.0 is basically for workflows, right?
Wrong. .NET 3.0 is actually .NET 2.0 with some extensions added to it. As far as the Base Class Library, there's no difference between the two. .NET just adds Windows Presentation Foundation, Windows Communication Foundation, Windows Workflow Foundation, and CardSpace support.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Dave Kreskowiak wrote: .NET 3.0 is actually .NET 2.0 with some extensions added to it. As far as the Base Class Library, there's no difference between the two.
Will this still be the case with .NET 3.5? Where can I found out what new features they are planning to add with .NET 3.5?
|
|
|
|
|
ma se wrote: Will this still be the case with .NET 3.5? Where can I found out what new features they are planning to add with .NET 3.5?
Yes, the .NET 3.5 release contains the following:
|
|
|
|
|
You can always check your c:\windows\microsoft.net\framework directory to see if you have a 3.** directory. That is where the framework files are stored.
Ben
|
|
|
|
|
Hi Ben,
Just a quick question on Enterprise Library April 2007. If 3.0 is installed, it will install all the necessary projects for 3.0? Is there a way that I can check it?
Have you started working on .NET 3.5?? Is there anything available for download. Do you know if it is going to be like 3.0 where it won't be necessarily required to use it if you have 2.0?? 3.0 is basically for workflows, right?
Thanks
ma se
|
|
|
|
|
|
Actually, you don't need to download orcas for this. You can download the different packs that you need from http://www.netfx3.com/[^]. Take a look at the areas on the right, e.g. Windows Presentation Foundation.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
problem while deserialing image
how can i send image through msmq and retrive it
|
|
|
|
|
What kind of image? How is it represented in your code?
|
|
|
|
|
how does one change the properties of an attribute at run time. The quasi-code at the end hereof is an attempt to show what I want to do.
It seems that even tho member's can change the value of their own and other members attributes (via the attributes property set accessors), when another member gets that attribute the attribute's state variables revert to their compile (load) time value. If you can follow my code, the interrogation of StringProperty's myStateAttribute in the SomeMethod code always yields a value of myStates.InitialValue in the State property of the myStateAttribute attached to the StringProperty, even tho it gets changed to InError or CurrentValue in the StringProperty set accessor.
In this code the attributes content is pertinent to the runtime state of the member instance to which it's applied, i.e. it is <u>dynamic</u> metadata rather than static metadata such as DisplayName etc.
<code>
enum myStates{InitialValue, InError, HasChanged, CurrentValue,}
class myStateAttribute : Attribute {
public myStates State {get this.theState;}set{this.theState=value;}
public myStateAttribute() {
this.State = myStates.InitialValue;
}
private myStates theState;
}
...
[myState()]
string StringProperty {
get {return this.theStringProperty)
set (
{
PropertyInfo _p = this.GetType().GetProperty(_n, BindingFlags....
object[] _o = _p.GetProperty(typeof(myStateAttribute);
myStateAttribute _a;
if (_o.Length == 1 && _o is myStateAttribute){
_a = (myStateAttribute) _o;
else
throw new ApplicationException("whoops, forgot the myState attribute");
if (value!=null &&
value.Length < Properties.Settings.MinStringSize ||
value.Length > Properties.Settings.maxStringSize) {
string _n = new StackTrace().GetFrame(0).GetMethod().Name.SubString(4);
_a.State = myStates.InError;
}
else
a.State = myStates.CurrentValue;
}
}
}
.......
private whatever SomeMethod()
{
...
data.PropertyString = someOtherString;
interrogate PropertyString's myStateAttribute and act accordingly
}
</code>
|
|
|
|
|
Unfortunately, you can't change the value of an attribute at runtime and when you think about it this makes sense. I wrestled with this problem for a while, and came to realise that allowing you to change attributes could end up opening your system to a whole world of pain.
Suppose you have designed an application that uses attributes to control what the maximum size of a field is in a database, so you don't end up trying to post more data into that field than it can really hold. Now, if you change the value of this attribute you could end up breaking the application by allowing more characters than the field holds.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Whilst not the answer I might have been looking for, it does confirm that I hadn't missed the b... obvious.
Not sure that I agree with the rationale. If you don't want the value of a property in an attribute to change, then simply omit the set accessor.
Thanks for your response - Rgds PhilD
|
|
|
|
|
Hi,
Following are the settings in my machine.config file
[tag] section name="defaultProxy" type="System.Net.Configuration.DefaultProxyHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" [/endoftag]
I want to know what I need to do in order to bring the proxy server settings so that my client application build on .NET 1.1 framework runs fine. Internet explorer has been configured to used the automatic configuration script.
PS : Note that [tag] and [eoftag] are just placeholders for XML constructs.
Thanks,
Tom
|
|
|
|
|
Have you resolved this?
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
Hi,
Following are the settings in my machine.config file
[tag] section name="defaultProxy" type="System.Net.Configuration.DefaultProxyHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" [/eoftag]
I want to know what I need to do in order to bring the proxy server settings so that my client application build on .NET 1.1 framework runs fine. Internet explorer has been configured to used the automatic configuration script.
PS : Note that [tag] and [eoftag] are just placeholders for XML constructs.
Thanks,
Tom
|
|
|
|
|
hi
i am new to .NET framework. i need some books for WinCE.NET. can anyone help???
thanks
|
|
|
|
|
hi,
try these:
http://www.microsoft.com/mspress/books/6535.aspx
http://www.codeproject.com/netcf/netcfgetstarted.asp
blumen
|
|
|
|
|
Hi everyone.
Having just finished a major data project using typed datasets and ADO.NET, a Java co-worker has been mocking me for all my 'dependent' code and manual hard work I had to do.
He's flying Hibernate in my face like it's the Good Year blimp.
So, last night I did a little research thinking about an upcoming project, and wondering about using some OR/M (ORM ... OR Mapping ... pick your acronym) tools, and I found a plethora.
So I'm curious as to who's using what, and why.
Is nHibernate the defacto standard? While I know that Hibernate has a huge following in the Java community, I couldn't find much literature about nHibernate post 2004 (and there's been a couple of releases since then).
Also, in reading up, it looks like there's a fair amount of manual pluming code required for these tools. Do people use MyGenerator et al to bridge this gap?
So -- what's your choice?
Marty Pitt
|
|
|
|
|
Well, depending on what I want to do I use either DevExpress eXpress Persistent Objects (XPO) or CastleProject's ActiveRecord. Both are very good at what they do but they do require a bit of a mindshift.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
I have a laptop streaming video from a web-base camera. I have 2 options: a Verizon wireless modem on the PCMCIA slot, and a Satellite modem on a USB slot. My C# code does all my controlling I need EXCEPT how do I switch between the two comms options - both automatically and manually?
tks xlthim
|
|
|
|
|
Hey,
I'm trying to find a dialogbox in Visual Studio 2005.
Its a box that appears normally after installation. It gives you the option to setup default layout. And selection of either C# settings, or VB settings or C++ settings.
Anyone know where I can find that?
I'm stuck with VB layout, and I want to change it back.
Mark
|
|
|
|
|