Questions tagged [.net-2.0]

The 2.0 version of the .NET Framework. For questions on .NET Framework generally, use the .net tag.

The 2.0 version of the .NET Framework.

What's New in the .NET Framework 2.0
.NET Framework 2.0 System Requirements

Released by Microsoft Corporation
Version Number: 2.0.50727.42
Release Date: 2005-11-07

2578 questions
1
vote
1 answer

How to avoid the Windows (XP) Security Warning when launching a "DOS" command line within C#?

This question is related to this initial question asked a little while ago. Now, that I have chosen the extracting tool, I'm iterating through a given in command line parameter directory and subdirectories to extract the compressed .zip…
Will Marcouiller
  • 23,773
  • 22
  • 96
  • 162
1
vote
1 answer

VS 05 - Designer Attributes and Component Designer. How are they related?

I had this answer on another post I asked: "I believe the VS designer does it [components of a menustrip/statusstrip] by getting an instance of the control's designer (see the Designer attribute), and, if the designer is a ComponentDesigner, getting…
Miles
  • 5,646
  • 18
  • 62
  • 86
1
vote
4 answers

Is the method that I am using for retrieval in my generic list optimized

At some time there will be a large amount of records, about 50,000. with that in mind is the method GetEquipmentRecord up to the task. thanks for you opinions. c# ,net 2,0 public enum EquipShift { day, night }; public class EquipStatusList :…
fishhead
  • 5,829
  • 7
  • 32
  • 43
1
vote
1 answer

.NET Remoting - Redirect Message / Host Redundancy

I'm trying to accomplish some form of redirection of messages in .NET Remoting. As you can see in the image I would like for the client to send a message to the provider (which is the only URI that the client has to know about), which will then…
Andreas Ågren
  • 3,879
  • 24
  • 33
1
vote
3 answers

Programming pattern using typed datasets in VS 2008

I'm currently doing the following to use typed datasets in vs2008: Right click on "app_code" add new dataset, name it tableDS. Open tableDS, right click, add "table adapter" In the wizard, choose a pre defined connection string, "use SQL…
devzero
  • 2,510
  • 4
  • 35
  • 55
1
vote
4 answers

How to Implement an Interface that Requires Duplicate Member Names?

I often have to implement some interfaces such as IEnumerable in my code. Each time, when implementing automatically, I encounter the following: public IEnumerator GetEnumerator() { // Code here... } public IEnumerator GetEnumerator1() { …
Will Marcouiller
  • 23,773
  • 22
  • 96
  • 162
1
vote
1 answer

DevExpress and missed reference

When I am trying to change references in my project from DevExpress 9.2 to DevExpress 11.2 for all of them, I am getting follow exceptions in one of my classes: <...> The type or namespace name 'DevExpress' could not be found (are you missing a…
Ivan
  • 89
  • 1
  • 12
1
vote
3 answers

Event Log SecurityException for Web Application?

I have an app that writes messages to the event log. The source I'm passing in to EventLog.WriteEntry does not exist, so the Framework tries to create the source by adding it to the registry. It works fine if the user is an Admin by I get the…
Pokus
  • 11,383
  • 11
  • 37
  • 27
1
vote
2 answers

Fading in and fading out for a form

i have a requirement in which my form is transparent,if my mouse enters into it the form should became visible,if my mouse leaves out of the form it becomes transparent, i have three different controls placed in my form , each controls mouse leave…
karthik
  • 4,485
  • 8
  • 30
  • 45
1
vote
1 answer

.Net Compact Framework 2.0 touch and nice controls

I would like to know if somebody knows free custom nice controls for .NET Compact Framework 2.0. There are nice controls as Manila Interface SDK (http://forum.xda-developers.com/showthread.php?t=566188), Sense Interface SDK…
ERiDeM
  • 41
  • 8
1
vote
2 answers

Sorting a List based on an ArrayList within a custom Object

I am using a list to keep track of a number of custom Row objects as follows: Public Rows As List(Of Row)() Row has 2 properties, Key (a String) and Cells (an ArrayList). I need to be able to sort each Row within Rows based on a developer defined…
Matt Weldon
  • 1,413
  • 11
  • 18
1
vote
1 answer

Changing the IP address on an .NET 2.0 Remoting service breaks new clients from connecting

I have a C++ Windows service exposing a .Net Remoting interface for a local client to use and everything works great until the IP address changes. Since I have to support .Net 2.0, switching to WCF isn't an option. Any ideas on what I can do? Here's…
Iunknown
  • 347
  • 1
  • 2
  • 16
1
vote
2 answers

C# Inter-Application Communications through SendMessage

So after a lot of problems finding a proper way to make a way for my different processes to communicate, I cobbled together this: public const uint HWND_BROADCAST = 0xffff; [DllImport( "user32" )] public static extern bool SendMessage(IntPtr hwnd,…
1
vote
2 answers

How can I expose a 3rd party's enum through my asmx?

Given: An asmx web service. A 3rd party dll that contains a useful enum. Question: How can I expose this enum through my web service without having to repeat myself and re-type the enum's members in my webservice's public class?
Jim G.
  • 15,141
  • 22
  • 103
  • 166
1
vote
2 answers

PropertyGrid: getting PropertyValueChanged notifications from a CollectionEditor

The PropertyGrid control is very useful for editing objects at run-time. I'm using it as follows: Form form = new Form(); form.Parent = this; form.Text = "Editing MyMemberVariable"; PropertyGrid p = new PropertyGrid(); p.Parent = form; p.Dock =…
Jason Sundram
  • 12,225
  • 19
  • 71
  • 86