Showing posts with label .NET. Show all posts
Showing posts with label .NET. Show all posts

Friday 23 August 2013

How to convert bitmap to .ico file using VB.NET/C# windows Forms or How to save Bitmap as icon in VB.NET/C#

Hi Friends, in this article I will explain about how to convert bitmap to .ico file using VB.NET/C# or How to save Bitmap as icon.
I already explained some articles on Widows Forms.
Lets I explain about how to convert bitmap image to icon.
Take one new project
File---New—Project---give name
Take one button, OpenFileDialog and SaveFileDialog
Create one function BitmapToIcon() as below.

Thursday 22 August 2013

How to Add ToolTips to Controls on a Windows Form or Tooltip to button in vb.net/C# or .NET - How can I display a tooltip over a button using Windows forms or how to set hand symbol to button

Hi friends, in this article I will explain about How to Add ToolTips to Controls on a Windows Form or Tooltip to button in vb.net/C# or .NET - How can I display a tooltip over a button using Windows forms or how to set hand symbol to button.
In previous articles I already explained about Windows Forms.
Lets I will explain how to add tooltips to button
First create one new project.
File--- New---Project---select windows Application --give name to form as aspdotnet-roja.vb

Wednesday 21 August 2013

How to open the existing AutoCAD drawing using VB.NET /C# windows forms Or VB.NET / C# - Open an Existing Dwg from Stand-Alone exe

                               Hi friends, in this article I will explain about how to open the existing AutoCAD drawing using VB.NET /C# windows forms or VB.NET / C# - Open an Existing Dwg from Stand-Alone exe
Lets I will explain about Open A Drawing in VB.NET /C# as shown below.

How to open new AutoCAD drawing using VB.NET or C#? Or How to Connect with AutoCAD and Open A Drawing in VB.NET /C#

                                          Hi Friends, in this article I will explain about How to open new drawing using VB.NET or C#? Or How to Connect with AutoCAD and Open A Drawing in VB.NET /C# .
Lets I will explain about Open A Drawing in VB.NET /C# as shown below.
Take one new project (File—New—Project—give a name to form).A form will be made.

Monday 19 August 2013

How can I set a form to have a 100% transparent background | How to animate the form. | Make a form's background 100% transparent

                                         Hi friends, in this article I will explain about make a form's background 100% transparent or how can I set a form to have a 100% transparent background or how to animate the form.
Basically we use the windows forms but we know how to change form’s background color, form’s font, forms’ height and form’s width etc.
I explain how to make form’s background as transparent in two ways.
1. Using Opacity property
2. Using TransparencyKey property:

Tuesday 6 August 2013

ASP.NET ViewState example in VB.NET or C# || How to use ViewState ASP.NET || Working with ViewState in ASP.NET

Hi friends, in this article I will explain about ASP.NET ViewState example in VB.NET or C# || How to use ViewState ASP.NET || Working with ViewState in ASP.NET.
I explained in the previous article about state management on Cookies and Sessions.
  • ViewState is the mechanism that allows state values to be preserved across page postbacks.
  •  I already explained about state management using cookies and sessions.
  • Viewstate is also the mechanism used to store the values across the page postbacks.
  • Maintaining the viewstate is the default for ASP.NET web pages.
  • If you don’t want to maintain the ViewState then include the directive <%@ Page EnableViewState="false" %> at the top of an .aspx page or add the attribute EnableViewState="false" to any control.

Friday 2 August 2013

What are the different types of applications supported in .NET (or) .NET Framework? || Interview Questions on .NET or .NET Framework

Hi friends,in this article i will explain about What are the different types of applications supported in .NET (or) .NET Framework?i already explained in the previous articles about  .NET Interview Questions

What are the different types of applications supported in .NET (or) .NET Framework?
                     When you hear the name .NET, it gives a feeling that it is something to do only with internet or networked applications. Even though it is true that .NET provides solid foundation for developing such applications it is possible to create many other types of applications.The below figure shows .NET framework versions from 2.0 to 4.0.

Wednesday 31 July 2013

How do I set Custom Date Format in DateTimePicker (WinForms)? || Windows Controls - .NET Interview Questions and Answers || Interview Questions on .NET Windows Forms.

Hi friends in this article I will explain about how do I set Custom Date Format in DateTimePicker (WinForms)?  Or Windows Controls - .NET Interview Questions and Answers or Interview Questions on .NET Windows Forms.
How do I set Custom Date Format in DateTimePicker (WinForms)?
You can set custom date format in DateTimePicker using below code.

Tuesday 30 July 2013

Difference between Cookies and Session in ASP.Net || What is cookie? || What is session? How to use sessions and cookies?

Hi Friends, in this article I will explain about the Difference between Cookies and Session in Asp.Net.
I already explained in the previous articles about what is cookie? How to use cookie? What is session? How to use sessions? and i gave one Session State example in ASP.NET Session State Example in C#, VB.NET.and one cookie example in Example for cookie.
We can use session and cookies to maintain the state while during page postbacks.

Monday 29 July 2013

ASP.NET Session State Example in C#, VB.NET || What is Session in .NET || How to use Session in .NET ?

Hi friends, in this article I will explain about what is session? How to use session in ASP.NET?
Session : Server Side objects for saving your data for the session you are using the site, there is a time for which these objects stay in the memory and that is defined in web.config for session state section otherwise 20 mins by default.

Monday 22 July 2013

How to Create Setup project in visual studio || Step By Step To Create Setup.exe For .NET Project || Create Setup and Deployment Project

Hi Friends,in this article i will explain about how to Create setup in visual studio or Step By Step To Create Setup.exe For .NET Project or Create Setup and Deployment Project.

I already explained in previous articles on Windows Forms.

Step 1: First of all, create a Windows Forms application with text boxes and button what you want like an application. 

Step 2: Next add a setup project by clicking on File-> Add-> New Project.

Sunday 21 July 2013

how to save each sheet in an Excel workbook to separate CSV files or saving data in Excel in different sheets of a workbook

Hi friends, in this article I will explain about how to save each sheet in an Excel workbook to separate CSV files or saving data in Excel in different sheets of a workbook.
I will explain through some example. I take one excel workbook it contains 10 worksheets and worksheets names like c1 c2 c3 etc.
Open Microsoft visual studio
Open File--> new-->project

Thursday 11 July 2013

What are the differences between an EXE and a DLL in .NET? | Difference between an EXE and a DLL in .NET

                                     Hi friends, in this article I will explain about the difference between an EXE and a DLL?.In Previous article i already explained about the  Interview Questions in VB.NET, .NET Framework.ASP.NET interview Questions , Interview Questions on SQL Server , ASP.NET Interview Questions Part II and Interview Questions on SQL Server Part II
I am giving some difference, may some have same meaning but I think in interviews at least we can remember some of them. That’s why I give more points but have same meaning.Below are the differences between an EXE and a DLL.

Compares the access modifiers in VB.NET |What are class access modifiers? | What are class access modifiers in .NET

                               Hi friends ,in this article I will explain about how to Compares the access modifiers in VB.NET |What are class access modifiers? | What are class access modifiers in .NET 
What are class access modifiers?
Access modifiers are keywords used to specify the declared accessibility of a member or a type. This section introduces the four access modifiers:
  •  Public
  • Protected
  • Private
  • Friend ( Internal in C#) and
  • Protected friend (protected internal in C#)

Tuesday 9 July 2013

Difference between Structure and Class in .NET || What are the difference between Structure and Class in .NET?

                           Hi friends in this article I will explain about the difference between Structure and Class.I think it may useful in interview Questions.I explained about the interviews questions in the previous articles Interview Questions in VB.NET, .NET Framework.ASP.NET interview Questions , Interview Questions on SQL Server , ASP.NET Interview Questions Part II and Interview Questions on SQL Server Part II

What are the difference between Structure and Class?

Friday 28 June 2013

how to read the data from NOTEPAD or .txt file.How to split the .txt file and save in different .txt files in windows forms

                             Hi Friends in this article i will explain about how to read the data from NOTEPAD or .txt file.How to split the .txt file and save in different .txt files in windows forms.                             I already explained in the previous post how to save the data in notepad in VB.NET or C# windows forms and how to create notepad file or how to append the data to existing notepad file in VB.NET or C# windows forms.

Monday 15 April 2013

How to call Lisp Program from VB.NET ? || Calling AutoCAD commands from .NET

                                    Hi Friends, in this article I will explain about how to open AutoLISP file through vb.net windows forms.
Suppose we are working on VB.NET windows forms ,suddenly we call the LISP function from VB.NET windows form then it use because we already the code in AutoLISP and rewritten the LISP file in VB.NET its time waste so simply call the AutoLISP command from VB.NET is very easy compare to rewrite.
I already explained in the article How to open new AutoCAD drawing using VB.NET or C#? Or How to Connect with AutoCAD and Open A Drawing in VB.NET /C#
How to create a project in VB.NET?
I explain the create the project in screenshots, follow below screenshots.
© 2012-2018 Aspdotnet-Kishore.blogspot.com. All Rights Reserved.
The content is copyrighted to Kishore and may not be reproduced on other websites without permission from the owner.