Questions tagged [.net-3.5]

The 3.5 version of the .NET Framework, which is based on the 2.0 .NET Framework with extra assemblies (including 3.0). Use for questions specifically related to .NET Framework 3.0. For questions on .NET Framework generally, use the .net tag.

The 3.5 version of the Microsoft .NET Framework, which is based on the 2.0 .NET Framework. In addition, it installs .NET Framework 2.0 SP1, (installs .NET Framework 2.0 SP2 with 3.5 SP1) and .NET Framework 3.0 SP1 (installs .NET Framework 3.0 SP2 with 3.5 SP1).

What's New in .NET Framework 3.5
.NET Framework 3.5 System Requirements

Released by Microsoft Corporation
Version Number: 3.5.21022.8
Release Date: 2007-11-19

5938 questions
3
votes
0 answers

Excel VBA Object Not Released as Expected When Using .NET 3.5 Hashtable

When I call the Add method of an instance of a .NET 3.5 System.Collections.Hashtable to add an instance of a VBA class, I cannot subsequently get the Hashtable to release the instance of the VBA class. Here is my minimal VBA class (named…
mbmast
  • 960
  • 11
  • 25
3
votes
2 answers

Microsoft.Maintainability Error with List Extension Methods

So I have tried to create some basic extension methods for List. Essentially I have a UniqueAdd and UniqueAddRange. It will check for the existence of a value before adding and if its already in the List it will not add it. Here is the code: public…
Ian Dallas
  • 12,451
  • 19
  • 58
  • 82
3
votes
3 answers

WinForms: ListBox item updates case insensitive?

I have a Windows Forms ListBox data-bound to a BindingList of business objects. The ListBox's displayed property is a string representing the name of the business object. I have a TextBox that is not data-bound to the name property but instead is…
blah238
  • 1,796
  • 2
  • 18
  • 51
3
votes
2 answers

Parallel on .NET 3.5 - Threads not Finishing Their Tasks in Nested For

I downloaded Parallel Extensions for .NET 3.5 SP1 on DevLabs a while ago and started using it. Everything seemed to work fine until I noticed some exceptions in the logs which I have a hard time to understand why they happened. Here's a snippet of…
notlkk
  • 1,231
  • 2
  • 23
  • 40
3
votes
1 answer

How would I expand a Datagrid details section from a button click?

I'm trying to implement a datagrid that works like a folder tree (i.e. each row represents a folder and the details view is another datagrid showing files in the folder). I've tried to trim down my code for simplicity, so there could be mistakes,…
Adam
  • 1,580
  • 21
  • 40
3
votes
1 answer

How to import a net assembly

I downloaded zlib.NET and there's a file that I must import,its named "zlib.net.dll". My question is :How do I import that file so I can use it in C# Express 2008 like "System.zlib.etc"? Thanks.
Ivan Prodanov
  • 34,634
  • 78
  • 176
  • 248
3
votes
1 answer

Process.Start() to open .exe in CE5 using .netcf-3.5. Win32Exception

Hoping this question will get answered. Basically I am attempting to open an executable file from within an application I have created which runs on windows ce5 on a unitech barcode scanner using the .net compact framework 3.5. I have included a…
CSharpened
  • 11,674
  • 14
  • 52
  • 86
3
votes
3 answers

Why is my Decrypt Method throwing a "Length of the data to decrypt is invalid" Cryptographic Exception

This is a really common exception, but obviously none of the solutions I've found have resolved my issue. I have an Encrypt and a Decrypt method; I encrypt a string and write it to a file, then read the string from the file and decrypt it (in…
Scott Baker
  • 10,013
  • 17
  • 56
  • 102
3
votes
2 answers

Ability to detect if this is the users first login to Windows 7

I have an windows application (WPF) in which we are running on each login, however when the user first logs into a new PC the application will need to do some specific tasks, but only on the users first login and never on subsequent times. Is there…
Lima
  • 1,203
  • 3
  • 22
  • 51
3
votes
4 answers

.Settings file in Win Form App, Best Practice

I have a Win Form app that stores some per user settings in a UserSettings.Settings file. This has worked well so far, however it seems that the Settings file gets "reset" when ever I release an update. Which I do through ClickOnce. Is this the…
Refracted Paladin
  • 12,096
  • 33
  • 123
  • 233
3
votes
1 answer

C# and SQL Server 2008 CLR Serialization Problem

I am trying to create a SqlUserDefinedAggregate in C# to attach to my SQL Server 2008 instance. I am working with .NET 3.5. Basically, I want to count the number of times I see string values. It does need to be an aggregate function because of the…
Nik
  • 7,113
  • 13
  • 51
  • 80
3
votes
1 answer

"An existing connection was forcibly closed by the remote host" in .NET 3.5

I'm writing a program for viewing, archiving and restoring SQL-Data. The problem occurs only in restoring and while using target framework .NET 3.5. .NET 4.0 and higher seem to have solved the issue, but I have to write the program with 3.5 to…
aaronwe
  • 33
  • 4
3
votes
1 answer

Best way to wire up database-driven menu in ASP.NET MVC

I'm looking for a way to handle a database-driven menu in ASP.NET MVC that doesn't violate the MVC principles. I want to replace the hard-coded, default, "Home, About" menu with something from my database. How would I wire this up? Would I just…
Brian David Berman
  • 7,514
  • 26
  • 77
  • 144
3
votes
2 answers

Multi-key dictionary with optional keys

I have a need for a dictionary with multiple keys of 2 different types (int and string, both unique, so they can appear only inside of 1 key). Here is an example: group information (GroupInfo) can be queried by either GroupdId or one of the member…
kateroh
  • 4,382
  • 6
  • 43
  • 62
3
votes
3 answers

Using Rx to queue operations I don't want executed until particular time?

Summary: I have a web app that executes workflows on business objects and sometimes needs to deliberately wait several seconds or minutes between steps. I'm looking to (perhaps via Rx.NET), improve the execution of these workflows so I do not…
Joel P.
  • 869
  • 10
  • 20