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
2 answers

Cleaning up .NET HTML generation

I am looking to clean up some of the HTML generated by a .NET 2.0 TreeView controller. Switching to another version/model is not an available option. My first crack yielded an extended TreeView, with an overridden Render that Regex'd out the text I…
Gavin Miller
  • 43,168
  • 21
  • 122
  • 188
1
vote
2 answers

Passing List (Of ChildClass) as parameter to method expecting List (Of ParentClass)?

I have implemented inheritance for two parent classes called Table and Field. Each parent class has several child classes. In the Table parent class, I created a method that expects parameter List(Of Field). I get an error when trying to pass in…
Nicholas
  • 35
  • 2
  • 8
1
vote
2 answers

Searching through XML to find a list of items

I have an xml doc as such: Fruit Apple Banana Peach Strawberry
Ben
  • 1,023
  • 7
  • 18
  • 35
1
vote
1 answer

Dynamic field type handling

I have to do an export from DB to CSV. (.NET 2) field; fileld; field... etc Have 3 types of fields: Alpha, Numeric and Bool respresented as "alphaValue",intValue and True/False. I try to encapsulate this in a fields collection, in order to export…
serhio
  • 28,010
  • 62
  • 221
  • 374
1
vote
1 answer

Start a form's message loop without calling show()

I have a System.Windows.Forms.Form window, that needs to get events delivered to it with Control.Invoke(). However, the messages are not getting delivered prior to calling Show() on the form. In order to work around this, I tried this kludge in the…
Nikos C.
  • 50,738
  • 9
  • 71
  • 96
1
vote
1 answer

ActiveReport 3.0 (.NET Framework 2.0) will work in .Net Framework 4.5

I have Active Report 3.0 version for .Net Framework 2.0 and it is working fine. But I want to upgrade my Asp.Net Application to .Net Framework 4.5 will this Active Report 3.0 version work in .Net Framework 4.5? Thank in advance for Help.
1
vote
1 answer

Best tools for testing bulk emailing in .net?

Scenario is that we send out thousands of emails through SMTP server. Content is created in advance and picked up when sent. The thing is we want to find where our bottlenecks are in production environment and where work needs to be done. Goal is…
dove
  • 20,469
  • 14
  • 82
  • 108
1
vote
3 answers

Getting list of installed programs on 64-bit Windows

I am using this code to make a list of all the installed programs: object line; string registry_key = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"; using (Microsoft.Win32.RegistryKey key = Registry.LocalMachine.OpenSubKey(registry_key)) { …
Kidades
  • 600
  • 2
  • 9
  • 26
1
vote
2 answers

Sort Dictionary<> on value, lookup index from key

I have a Dictionary<> which I want to sort based on value so I've done this by putting the dictionary into a List<> then using the .Sort method. I've then added this back into a Dictionary<>. Is it possible to lookup the new index/order by using…
paulio
  • 393
  • 7
  • 18
1
vote
3 answers

Databinding DropDown Control in .Net

I am binding the dropdown with db entity. ddlCustomer.DataSource = Customer.GetAll(); ddlCustomer.DataTextField = "CustomerName"; ddlCustomer.DataBind(); I want to add "SELECT" as the first itemlist in dropdown and bind then entity to the…
jbcedge
  • 18,965
  • 28
  • 68
  • 89
1
vote
2 answers

Quickly generate/publish RSS feeds from ASP.NET projects?

Under a timeline, therefore the salient point is "quickly" and willing to throw some $ at it too (not meaning I'll pay the correct answer, but rather for a commercial product :) ). Looking for an RSS feed generator usuable in .NET framework 2.0.…
John K
  • 28,441
  • 31
  • 139
  • 229
1
vote
3 answers

ClickOnce application won't start up under a given profile

This issue has come up three times in our environment. After installing the ClickOnce application, I expected it to startup automatically (as I have it set to do after install completes), but it did not. I try running the application from the…
Hobo Spider
  • 280
  • 4
  • 11
1
vote
1 answer

How can I show an MP4 video inside a Winforms application without the need for installing missing codecs?

We're currenty building a little company presentation application for USB sticks that is used to display PDF files regardless of any PDF reader installed on the system. That works quite well, so we now also want to show videos directly inside the…
Rob
  • 11,492
  • 14
  • 59
  • 94
1
vote
2 answers

DirectShow.Net v2.1 show black screen with Logitech C920

I am using DirectShow.Net v2.1 to preview the webcam's image. It works ok, but on some newer webcams like Logitech C920, which is full HD 1080p, it shows black screen instead of webcam's image. My project is in C# WinForms and compiled with .Net…
Matin Lotfaliee
  • 1,745
  • 2
  • 21
  • 43
1
vote
1 answer

Get Content of a http request

i am trying to get the content of http request...my program is using threads and sockets to comunicate to a access terminal.. i ne this is the request sent from the terminal: POST /iclock/devicecmd?SN=2182682370001 HTTP/1.1 and the content is…
Hugo Silva
  • 352
  • 8
  • 26
1 2 3
99
100