Click here to Skip to main content
15,890,438 members
Everything / .NET / .NET 3.0

.NET 3.0

.NET3.0

Great Reads

by Jeffrey Walton
Import and export Cryptographic Keys in PKCS#8 and X.509 formats, using Crypto++, C#, and Java.
by Sacha Barber
It would probably be like Cinch, an MVVM framework for WPF.
by Nish Nishant
This articles explains how to implement a TypeDescriptionProvider for a class to support multiple object types using a single class type
by Waleed Elkot
Reading text from any image using Microsoft Office 2007 OCR

Latest Articles

by Christ Kennedy
A fully functional Irish Language Word Processor written in C#
by Rahman Masudur
Few tricks about using a Resource Dictionary in WPF
by Richard Atkins
Create a fluid, multi-column, vertically ordered list using nested, floating divs
by pdoxtader
A multithreaded server class that accepts multiple connections from a provided client class. Each client can send and receive files and text (byte data) simultaneously along 250 available channels.

All Articles

Sort by Updated

.NET 3.0 

1 Apr 2023 by Pratyush Tripathi
Response.Redirect(Default.aspx...
21 Mar 2023 by Ich bin der Bes
I have an application which developed few years back using .netcore 3.1. Now want to implement the SSO using keycloak with open id connect. Currently, when I run the app it can direct to keycloak sign in. But when successfully signed in, it can...
21 Oct 2022 by Rohitsingh.icfai
Can anyone practically guide me as to what is the difference between Response.Redirect - True / False, I mean Response.Redirect('Default.aspx",True) V/s Response.Redirect('Default.aspx",False) What I have tried: Need clarification...
15 May 2022 by visitvasavi
Hai, I want to connect with IBM MQ series from my .net application.I have send data from application to MQ series(i.e existen in server).For that i need to add reference to import "using IBM.WMQ".Any one can help me...
27 Jan 2022 by DoingWork
Please help. I failed to set the console application icon in my .csproj file through Visual Studio Code. I'm trying to make a build for Linux. Here is my error: Error building Win32 resources -- Icon stream is not in the expected format. What...
26 Jan 2022 by M Imran Ansari
Make sure your path is correct and your icon should be .ico format. bin/Debug/icons/myIcon.ico Or place icon file on your root path and use the following in your csproj file. ...
15 Jan 2022 by Christ Kennedy
A fully functional Irish Language Word Processor written in C#
24 Sep 2021 by Vivek Deshmukh
Hi,I have created simple wpf application having DataGrid Control.binding of this is done well.Now I want to perform insert , update delete operations using this DataGrid as we do in GridView.Please guide me how can i achieve this.Thanks in advance.
24 Sep 2021 by Member 15370512
Here i have done insert and update operation using sp in datagrid... But I am getting an error ...No mapping exists from object type System.Windows.Controls.DataGridTextColumn to a known managed provider native type.' Can AnyOne Solve This...
12 Sep 2021 by guruprakashc
Excel Printed Area only publish to web page code in C# ?m_addin.Application.ActiveWorkbook.publishObject.Add("?");I want to Publish the Active Sheet Only to Web Page?code in C#can any one help me ?
1 Jul 2021 by Anusha T 2021
Hi, I am very new to ASP NET Core razor pages. I have a requirement to set up Google Tag Manager in ASP NET Core razor pages. Usually in the ASP.Net solution we use Google Analytic's tag.js script in page load. In angular we usually set up in...
18 Apr 2021 by Member 2434056
Hi I am developing large client server application. One client in different VMs and several servers on other VMs. User creates entities in GUI The GUI sends message via RabbitMQ to the server and the servers stores it in DB The customer asked to...
18 Apr 2021 by Uroš Šmon
It depends :) If data is prepared as single enity, which is then sent to server and saved, you can have undo on client. You will need simple queue of commands. If data is continously sent to server, you must implement undo on server, with added...
17 Jan 2021 by Chris Maunder
// Given filePath = location of file // newFileName = name of file to save // // Ensure you have "using System.IO.Compression" FileInfo file = new FileInfo(filePath); using (FileStream originalFileStream = file.OpenRead()) { using...
17 Jan 2021 by preetpal kapoor
Hi ,Couls some one please help me . I have to unzip a .gz file. The ziped file is of 33 MB and after zip it will be around 3GB . I have written the below code and able to unzip the file of only 256 kb. public static void Main() { string path =...
2 Apr 2020 by Rahman Masudur
Few tricks about using a Resource Dictionary in WPF
19 Nov 2019 by Richard Atkins
Create a fluid, multi-column, vertically ordered list using nested, floating divs
13 Nov 2019 by pdoxtader
A multithreaded server class that accepts multiple connections from a provided client class. Each client can send and receive files and text (byte data) simultaneously along 250 available channels.
28 Oct 2019 by Igor Ladnik
Simple Kafka producer and consumer written in C# and Scala with Avro schema read either from local file or simple Web server
21 Oct 2019 by iampradeepsharma
hi all ,if an item in the listview is seleced then to know if any item is selected ..I tried using listview1.SelectedItems.Count and listview1.SelectedIndices.Count but everytime it is giving count to 0 after selecting an item ...thnx ,
21 Oct 2019 by YOUSEF ZAREIE
// Loop through all items the ListBox. for (int x = 0; x
18 Sep 2019 by Manidas Payyoli
Hi,i am new to this technology please help me.in my mvc project,i am developing a web API projects when i run the program i am getting this error An exception of type 'System.IO.IOException' occurred in mscorlib.dll but was not handled in user codeAdditional information: The device is not...
13 May 2019 by JawadHafiz
Conversion failed when converting date and/or time from character string.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details:...
13 May 2019 by Member 14366976
I got the same problem and had to spend days before i solved it.. 1. check your date format (if you used "Date" as your datatype in SQL then the date format should be "yyyy-MM-dd", that is based on your customization. i used this and it worked for me. Click on the date picker, go to properties...
24 Apr 2019 by QxOrm
QxOrm C++ library: Persistence (based on QtSql Qt library) - Serialization (based on boost::serialization library) - Reflection (introspection)
18 Apr 2019 by Member 9784436
can any one tell me how to make windows form responsive in c# windows form application.like all form looks similar in all computer and laptop.actually when i runs form in diffrent device it looks bad label goes right and all that.so please help me thank you.
27 Mar 2019 by Member 13312004
Use TableLayoutPanel
31 Dec 2018 by Randy Kroeger
This article provides an example on how you can change application configuration settings within an existing ClickOnce publish, update the manifest files, followed by using the Mage utility for updating the manifest using the existing cert file.
30 Dec 2018 by Chinmoy Mohanty
Multiple techniques of implementing The Observer Pattern in .NET
11 Dec 2018 by omeecode
Google Maps Offline in windows discusses how one can download or save Google maps and then view these images offline
31 Oct 2018 by Aydin Homay
In this article, we will discover the power of generics in C#.
10 Sep 2018 by Evaldas Jocys
JavaScript class library which partly replicates Microsoft .NET Framework structure and functionality.
8 Sep 2018 by VBNetHack
re VS 2107 and WinForms Solution 2 is along the right lines. This is what I did; 1) From Extensions and Updates, download and install Microsoft RDLC Report Designer … 2) As in Solution 2, go into Toolbox, select a section where you want the ReportViewer to appear. Right click and select Choose...
8 Sep 2018 by Yonathan1111
Hallo everybody,I did try again and again to add ReportViewer control into the toolbox,it is checked but couldn't be viewed in the choose item.I don't know how to solve this. This only happens when the project is Asp.Net application. It is visible when the project is windows...
15 Aug 2018 by Toadill
You could try something like this....C# Win32 application using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO.Ports; namespace WindowsApplication1 { public...
15 Aug 2018 by ganesh24mca
is this possible to make voice phone call using c# program or .net framework?
19 Jul 2018 by Ajcek84
WinForms library containing the IncipitViewer control for drawing musical notes
23 May 2018 by Shambhoo kumar
sir i have a double type of variable and it's contain a value like (113976.84375) but i don't want to show value in this format i only want to show (113976.84)but i don't know how it done...so help me.
22 Apr 2018 by JohnLeitch
This article details how to make .NET applications scriptable with Aphid, an embeddable scripting language.
20 Mar 2018 by Snyezana Miletich
I had the same problem. I was googling and tying many of solutions but nothing worked. At the end i just changes my URL links to "https://" in request and it worked!
20 Mar 2018 by mayank.bhuvnesh
Hi in the below code I am receiving error "stream.length' threw an exception of type 'system.notsupportedexception'"I have tried using MemoryStream but still its the same??What i am missing????protected void Button1_Click(object sender, EventArgs e){ string encodedURL =...
18 Jan 2018 by m_abh
Hi All, I need your help please in very urgent issue, I need to fill a .net datatable with a huge data( about 400 MB), when load data i face a memory problem , Out of memory exception , i found it take more than 1GB from memory. I search about this problem and find somebody talk that...
17 Jan 2018 by honey the codewitch
Dependency free, fast, lightweight JSON parsing and light query
23 Dec 2017 by Nyoman Rahmadi
1. Right Click on Toolbox and check "Show All" There are two reportviewer in reporting tab. 2. Right click again and click "Choose Items..." 3. Disable ReportViewer in ".Net Framework Components" tab and click Ok Reportviewer will dissappear. 4. Right click again and click "Choose Items..." 5....
7 Aug 2017 by JasonShort
LINQPad helps you learn LINQ
7 Aug 2017 by JasonShort
Buffer.BlockCopy is not as fast as you think
1 Aug 2017 by Dmitry Brant
A custom control for Windows Forms that looks like an electronic 7-segment LED display.
22 Jul 2017 by Duncan Edwards Jones
How to use a Windows Azure storage table, blob or file as an event store for event sourcing
5 Apr 2017 by Juan Francisco Morales Larios
Useful Actions for debugger in System.Diagnostics
26 Mar 2017 by Aydin Homay
In this article, I tried to show a real benchmark based on presser test method, for a Big Data collection deals on C++, C#, and VB.NET.
21 Mar 2017 by Christiaan van Bergen
An article on converting text files or csv-files to a System.Data.DataSet based on regular expressions
16 Mar 2017 by lepipele
ASP.NET MVC C# Opensource library that abstracts social logins for OAuth providers like Facebook, Google, Twitter, PayPal
4 Mar 2017 by Duncan Edwards Jones
An outline of how a paired Azure queue and Azure table can be used for the command side of a CQRS application
3 Mar 2017 by Paolo Foti
Save and restore your design work using a persistence manager based on XAML code
25 Feb 2017 by RickZeeland
Create an Installer which allows to change the Forms application settings in a custom Inno Setup page
24 Feb 2017 by Ebenezar John Paul
An Ideal Code Review Checklist that applies for most programming languages
17 Feb 2017 by Legendof507
I have a MDIParent form with two menubar 1)Annotation2)Retentionwhen we click on annotation manu it will open annotation formand when we click on retention menu it will open retention form..the problem is when i click on annotation or retention menu for first time, it opens form, after...
17 Feb 2017 by Member 13008760
Try this code....... :)private void toolStripMenuItem64_Click(object sender, EventArgs e) { try { Frm_DoaCreditNotePending DOADBNPartyWise = null; if (IsFormAlreadyOpen(typeof(Frm_DoaCreditNotePending)) == null) ...
3 Feb 2017 by tranthanhtu.vn
In "REST - Overview" article, I were introduced the basic rules in RESTful, Can you show me how to implement in WebApi?Ok, in this article, we will learn how to implement those rules in WebApi using C#.Where could I get sourcode was used in this article?Please checkout the code at https://github.com
3 Feb 2017 by lepipele
An overview that presents all PayPal integration options, targeted especially at C# developers.
10 Dec 2016 by Cory Charlton
A thread-safe implementation of the ObservableCollection class
29 Sep 2016 by QuentinEllison19
The following errors occurred while attempting to load the app.- No assembly found containing an OwinStartupAttribute.- No 'Configuration' method was found in class 'Microsoft.VisualStudio.Web.PageInspector.Runtime.Startup, Microsoft.VisualStudio.Web.PageInspector.Runtime, Version=1.0.0.0,...
29 Sep 2016 by Shashangka Shekhar
Add OWIN Startup class name it : Startupthen enable the service :)public void Configuration(IAppBuilder app){ app.MapSignalR();}
11 Sep 2016 by Avatar2400
This is a simple class that allows you to have message box with checkbox and other small features.
21 Aug 2016 by Seth Ji
// Partner salesPartnersStruct.SetValue("PARTN_ROLE", "SP"); salesPartnersStruct.SetValue("PARTN_NUMB", "102003");replace the above code with// Partner salesPartnersStruct.SetValue("PARTN_ROLE", "AG"); ...
21 Aug 2016 by Naveedathar
I am trying to integrate SAP with a .net web application using SAP nco 3 .net connector. I have successfully connected to the SAP system but when i try to create a sales order in SAP using BAPI "BAPI_SALESORDER_CREATEFROMDAT1" i get the following error: "Please enter sold to party or ship to...
18 Aug 2016 by agent_kruger
i know that the password of Windows is stored in dll with hash encoding but i need to know that is it possible to decode it. Any piece of code in c# will be appriciated:)
18 Jul 2016 by Amarnath S
An article describing the computation of the Sinogram of an image in C#, using the Radon Transform of the image.
20 Jun 2016 by M.CHAITHANYA
Hi, I have a button in my form .When i click,Programatically ReportViewer should get generated,i have to bind a datasource to the report viewer and display a report to the enduser based on some constraints.Please help me how to do this.Thanks in Advance.RegardsChaithanya M
20 Jun 2016 by David Miller
Hi Chaithanya check below this useful link.ReportViewer Tutorial[^]Using ReportViewer in WinForms C#[^]I hope it will help you
12 Jun 2016 by David A. Gray
What happens when you have more items in your list than you have items in your control string?
27 May 2016 by icemanind
How to automatically create data access layers and business layers from a Microsoft Access or a SQL Server database
13 May 2016 by geeta pavate
When I open an webapplication default document mode is lowest. I want set it to open in latest mode. I have converted my application to from .net 3.0 to 4.5.What I have tried:When I am running my application in the localhost it is opening in the latest document mode, for live application...
3 May 2016 by Southmountain
this post discussed .NET versioning and multi-targeting of .NET application and component written in C#.
22 Apr 2016 by Shambhoo kumar
i m generating datagridviewcheckboxcolumn in run time but i don't know how can i check it's checked property true or false....plz any one help me...(In Windows Application)thanks in advance.....
13 Apr 2016 by Steve Grundy
This article describes using the Windows MIDI API functions in a managed environment.
12 Apr 2016 by Jalapeno Bob
A VB.NET version of Ray Koopa's 21 Mar 2016 article, Getting All "Special Folders" in .NET
2 Apr 2016 by David Vanson
A progress bar control you can customize
1 Apr 2016 by varun bansal
A quick program to compute and measure hash comparison
23 Mar 2016 by Carlos A Merighe
I had a problem with a DataTable throwing an out of memory exception randomly. As it turned out, the project's Build Platform target was set to "Prefer 32-bit". Once I unselected that option, the random out of memory exception went away.Carlos A Merighe
17 Mar 2016 by Ravi Bhavnani
An object that harnesses the power of Google's online natural language translation tools.
10 Feb 2016 by Kouji Matsui
This library is simple and is a substitution of System.String.Format.
28 Jan 2016 by Pritam Zope
In this Article we will create an Auto Completion/Code Completion Window using C# that automatically shows popup of the list of words or keywords and inserting those into a RichTextBox
8 Jan 2016 by Member 12213653
This confirm box help you to get correct response with having Ajax.java script code for geting confirm value. function Confirm() { var confirm_value = document.createElement("INPUT"); confirm_value.type = "hidden"; ...
29 Dec 2015 by Rajesh Buddaraju
A simplified example is used to describe the state pattern
28 Dec 2015 by danah gaz
A lightweight, high performance, easy to use asynchronous stream copy method using IOCP with progress, throughput tracking, and no explicit thread creation.
27 Dec 2015 by 0xC0000054
A C# library to host Photoshop-compatible filters in .NET 2.0 and later
17 Dec 2015 by Ebenezar John Paul
Here exceptions occur when, * The specified path/searchoption is not a valid one. * You are trying to access an unmapped network location. * You do not have the persmission.I have taken a sample from the microsoft website. Just insert the following code into your...
8 Dec 2015 by Thomas Daniels
This article explains speech recognition, speech to text, text to speech and speech synthesis in C#.
22 Nov 2015 by saleemy2ks
This Article discusses on Memory allocation in .Net and how JIT compiler optimizes non-volatile code. It also talk about Value Type, Reference type, Stack, Heap, Boxing, Unboxing, Ref, Out and Volatile.
12 Nov 2015 by dnibbo
Is this in development or post implementation?If this is a click once deployment and the error is post implementation then you set the report viewer as a prerequisite so it is downloaded prior to the application launch if I remember correctly. This may have changed since my last project...
12 Nov 2015 by Anisuzzaman Sumon
Show some code. check where you place your .rdlc report.It seems that reportviewer could not find your report.
12 Nov 2015 by Member 10234718
See the end of this message for details on invokingjust-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.ReportViewer.WinForms, Version=11.0.0.0, Culture=neutral,...
8 Nov 2015 by RISKYROCKS
$( document ).ready(function() { $(function () { $.ajax({ type: "POST", url: "Single_page.aspx/getCity", data: '{}', contentType: "application/json; charset=utf-8", dataType: "json", ...
8 Nov 2015 by DotNetSteve
Using delegates to group, conquer cross cutting concerns and create dynamic validators
4 Nov 2015 by Murray Foxcroft
Integrating WPF and XAML with the Windows forms NotifyIcon control to produce a slick, styled popup window when the mouse is moved over the NotifyIcon
2 Nov 2015 by icemanind
25 Oct 2015 by Greg Nutt
This is a VB.NET Version for ".NET Remoting Events Explained"
20 Oct 2015 by OriginalGriff
This is one of the most common problems we get asked, and it's also the one we are least equipped to answer, but you are most equipped to answer yourself.Let me just explain what the error means: You have tried to use a variable, property, or a method return value but it contains null -...