Showing posts with label Windows Form. Show all posts
Showing posts with label Windows Form. 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.

Tuesday 20 August 2013

How to draw Text on Mouse Move in VB.NET or C# or Windows Forms | MouseMove Event in VB.NET or C#

Hi friends, in this article I will explain about how to draw Text on Mouse Move in VB.NET or C# or Windows Forms or MouseMove Event in VB.NET or C#.
In previous article i explained about How can I set a form to have a 100% transparent background. and explained some articles on Windows Forms
Take one new project (file---new---project---give name as Form2.vb)

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:

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.

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.

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.

Wednesday 29 August 2012

How to add dynamic controls in VB.NET or C# windows forms | How to add textbox at runtime | How to dynamically add control with loop at Runtime

                       Hi Friends, in this article I will explain about How to add dynamic controls in VB.NET or C# windows forms or  How to add textbox at runtime or How to dynamically add control with loop at Run time.
                       Suppose if we want to add textboxes in the loop then we use this process. Suppose if we to display some number of textboxes then we can’t take the textboxes before run the code. For that time we can display textboxes at runtime. Not only textboxes we can any controls like labels, buttons, checkboxes etc.

Tuesday 21 August 2012

Read data from Excel in VB.NET or C# windows forms | Export data from Excel to Text file

                                    Hi friends, in this article I will explain about how to read the data from excel in VB.NET or C# windows Forms.
                                   I searched so many sites and finally get the solution of how to read the data from excel in VB.NET or C# windows Forms.You can know the How to add dynamic controls in VB.NET or C# windows forms | How to add textbox at runtime | How to dynamically add control with loop at Runtime in the next article How to add dynamic controls in VB.NET or C# windows forms | How to add textbox at runtime | How to dynamically add control with loop at Runtime
For this first we have to add the reference Microsoft.Office.Interop.Excel.
Menu—project—Add reference—COM—Microsoft Excel 12.0 Object Library
Next come to code and imports or using Microsoft.Office.Interop.Excel

Wednesday 20 June 2012

How to delete the text file or Notepad file or.txt file in VB.NET or C# windows forms.


                              Hi Friends, in this article I will explain about how to delete the text file or Notepad file or.txt file in VB.NET or C# windows forms.

                              I already explained in the previous article How to Create, Read, Write, Copy, Move and Delete a Text File or notepad file using C# and VB.NET

How to move the text file or Notepad file or.txt file in VB.NET or C# windows forms

Hi Friends, in this article I will explain about how to move the text file or Notepad file or.txt file in VB.NET or C# windows forms.
I already explained in the previous article How to Create, Read, Write, Copy, Move and Delete a Text File or notepad file using C# and VB.NET

                           For moving the text file we have to using or imports the System.IO namespace. Because the all file classes and methods are located in System.IO namespace. We use the System.IO.File.Move() method to move the text file.

Tuesday 19 June 2012

How to copy a text file or notepad file or .txt file in VB.NET or C# windows forms..

Hi friends, in this article I will explain about how to copy a text file or notepad file or .txt file.
I already explained in the previous article How to Create, Read, Write, Copy, Move and Delete a Text File or notepad file using C# and VB.NET

How to write to a Text file or a notepad file or a .txt file or AppendText() method in .NET

Hi friends, in this article I will explained about how to write to a Text file or a notepad file or a  .txt file or AppendText() method in .NET.
                      I already explained in the previous article How to Create a Text File or notepad file using C# and VB.NET, in that i was using CreateText() method. If you want to write the data to a already file then we are using the AppendText() method.

How to read the text file in C#.NET or VB.NET Windows Forms || StearmReader

Hi friends, in the previous article I explained about How to Create Text File or notepad file using C# and VB.NET.In this article I will explain about how to read the text file in C#.NET or VB.NET.
                         For this we are using StreamReader.StreamReader is a class.It reads the text. It found in System.IO namespace.
Let I explain using the examples.

How to Create, Read, Write, Copy, Move and Delete a Text File or notepad file using C# and VB.NET

                                  Hi friends, in this article I will explain about Create, Read, Write, Copy, Move and Delete a Text File or notepad file using C# and VB.NET.
                                 For the Create, Read, Write, Copy, Move and Delete a Text File or notepad file using C# and VB.NET  we have use the namespace System.IO.Because the above file methods included in System.IO namespace.

Tuesday 12 June 2012

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.

Monday 11 June 2012

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.

                                        Hi friends, in this article I will explain about 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.
First of all, take one windows form.
File—New—Project or Ctrl+Shift+N
Then take the 2 textboxes , 2 labels and 1 button in the below figure.

Thursday 3 May 2012

VB.NET or C# forms Conformation Box | Display conformation box in .NET | Alert box in VB.NET or C#

                                       Hi Friends, in this article i will explain about VB.NET or C# forms Conformation Box.
I already explained the articles on windows forms.If you want click onWindows Forms.
Basically we know about how to display conformation box in javascript.The conformation is like below.
© 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.