.net-2.0

ASP.NET Outlook Appointment scheduling

Hai TEchies Can anyone tell me how can i set an appointment /reminder in the outlook express , from my ASP.NET web page. I am using ASP.NET 2.0 Thanks in advance ...

How can I disable the input panel for a form?

I've created a Windows CE 5.0 application which runs on a handheld scanner. The scanner has its own (hardware) keypad and almost all input comes from the scanning unit. Unfortunately whenever the text box receiving the scanned characters is focused the input panel appears at the bottom of the screen, blocking almost a third of the scree...

WinMM Library Issues

I wrote a WinMM library wrapper library that exposes WaveOut and WaveIn classes for the purpose of recording and playing raw audio streams. Everything works great, but in order to follow the operating system specs on how to handle the finished buffers, I added a thread that unprepares the buffers and frees the memory. I also got all of...

Paging Problems With Standard .net 2.0 Gridview using VB.Net

I am using a standart .net 2.0 Gridview which uses an XMLDatasource to populate the Grid. The Data property of the XMLDatasource is set dynamically which allows the gridview to change based on input. All this works fine however I am having problems with paging... I have set the AllowPaging Property to "true" and set the PageSize Proper...

Viewing a database over Collections, ORM Lists...

I've been researching to find out how and what to use to get say the name's of the fields in a class, then to invoke that class and get the properties of the class, as in the field values. Give you an example, Say if I one to get one value from one record from one table, I would create an object of that class as in; DBTable<cars> cartab...

tranzila & ASP.net 2 integration module

does anyone knows a good free dll for integration with tranzila credit card payment? ...

Confusion with NULLs in C#

I am always confused with the different ways of expressing nulls. There is the null reference type (aka "null"). Then I've seen that throughout my application, developers have used MinValue to represent nulls. Ex: Double.MinValue or DateTime.MinValue except for a String for which they use "null" Then there is System.DBNull (and System.D...

SHDocVw.WebBrowserClass register to refresh event

is there a way to know when the user perform refresh to the page using the SHDocVw.WebBrowserClass of ie using C# ...

Validating xml nodes, not the entire document.

I'm working with some xml 'snippets' that form elements down the xml. I have the schema but I cannot validate these files because they are not complete xml documents. These snippets are wrapped with the necessary parent elements to form valid xml when they are used in other tools so I don't have much option in making them into valid xml ...

MailMessage.From.DisplayName not behaving as expected with SmtpClient.Send()

I am using the following code to send an email in .Net2.0. MailMessage message = new MailMessage(); message.From = new MailAddress("[email protected]", "[email protected] on behalf of someone else"); message.To.Add("[email protected]"); message.IsBodyHtml = true; message.Body = "some actual html here, not just a string...

How do I upgrade a resx file to be compatible with .NET 2.0?

I have a .NET 1.0 program that I've had to use a disassembler on in order to recover the source code. Once I had the code files using File Disassembler I used VS2008 to upgrade it. I've managed to get the application to the point where it is able to compile...but when I run it I get an error message saying Fatal error, exiting: Coul...

Cross tab data control for winform.net 2.0

Could anyone suggest me any winforms controls for showing cross tab data in .net? Updates: 1. The control should be editable 2. Binding support will be add-on feature. ...

ToolStripSplitButton vs. ToolStripDropDownButton

What is the difference between ToolStripSplitButton and ToolStripDropDownButton? (Visual Studio 2008) (Also asked here, not on SO). At first blush, they seem to be largly the same; especially in the designer. ...

Using generics its declared as a Button but is treated as a Control internal to class. Why?

What a great site this is, I have lurked on here reading others questions for ages but now I have one of my own. My workmate wrote a class very like the one below. As soon as I saw it I knew it wouldn't work but I have no explination for him why it doesn't work. What he expected when declaring it as a ControlItem<Button> is that the...

Chinese language codes

We are updating an old .net 1.1 website to 2.0. The site currently supports Chinese (Traditional) & Chinese (Simplified) I'm getting a run time error when trying to detect the language & culture using the codes: zh-CHS (simified) & zh-CHT (traditional): Please select a specific culture, such as zh-CN, zh-HK, zh-TW, zh-MO, zh-SG. From...

How to eliminate IIS/ASP.NET double handshake?

I have a .NET 2.0 ClickOnce application that runs in a corporate environment and it's setup to work via Windows Authentication. So the users download the app via ClickOnce and then it connects to an IIS server and communicates via Web Service calls. The problem is that for every single call there is a double handshake. The first cal...

Get ProgID from .NET Assembly

I want to write a program to find all the com visible .NET classes, and their ProgIDs from a .NET assembly. What's the best way to do this? ...

C# - What is good SQLException Error Handling for Time-outs and failed connections

I use EntitySpaces for all of my Database related coding. As a sole developer I don't have time to sit and write the SQL for each and every application I write, so using a generator such as ES Suites me down to the ground and saves me days, if not weeks, of time. I generally write a series of helper classes for each of the tables that m...

Which FIPS compatible algorithm is better in dotNet 2.0?

I used Rijndael algorithm to encrypt/decrypt my data. But it is not FIPS compatible. I want to change it to another one. Could you please give me a suggestion that which one is better? Better means: FIPS compatible High security level This algorithm should came from dotnet 2.0 framework which provided by Microsoft. Thanks -Jamebo ...

Seeking class that allows a custom sort method

I wrote a small app that allows me to compare two database schemas to check for differences in structure. It goes all the way down to column details, which is nice. When I was comparing very small databases, I had no trouble but when I start to compare databases with hundreds of tables, it is annoying to scroll up and down to find where ...