|
Have you resolved this?
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
yep needed to twink it a little. but it works fine now ended up using an dll file i got online thouh to do the remoting that is
|
|
|
|
|
Glad you got it to work
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
hi i am trying to send a int data from1 pc running an window applcation to another pc running another window application.
i tried remoting but it seems too hard is there an easier way to do this please help
|
|
|
|
|
Hi,
I believe Socket programming would be suitable here, and its not that complicated.Try this:
http://www.codeproject.com/cs/internet/socketsincsharp.asp
blumen
|
|
|
|
|
My name is Jatiner and I work for Microsoft on the TechEd event. I generally read IT blogs to keep up with what is going on in the industry and decided to jump on in with a little plug for TechEd 2007 (June 4 – 8). This year we’ve dedicated 50% of the event content to developer specific tools with deep technical training that covers Visual Studio® 2005, Windows Vista™ development and the .NET Framework. You can also get in-depth information on building software using Visual C++®, Visual Basic® and Visual C#®. The incredible amount of information you can learn at TechEd is awesome but it is also an incredible place to network and let loose a little. The event is in Orlando, FL this year so the attendee party is at Universal Studios Islands of Adventure and the place is reserved for TechEd attendees only! Trust me, these parties are a blast. If you decide to go you should register now before it sells out like it did last year…we are also offering a bit of an incentive, all registrations before May 11th are entered to win either 1 of 5 Xbox 360 Elites (killer graphics) or 1 of 5 Amex gift cards (Disney ain’t cheap!) www.microsoft.com/teched
Jatinder Singh
|
|
|
|
|
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
|
|
|
|