|
|
|
|
|
Total Hits: 39 | Today: 0
|
Author: Rajesh Naik Ponda Goa
|
Rating:
|
|

This code snippet illustrates how to capture desktop or any window to a bmp file with minimum coding. It also demonstrates a neat way to save device context (DC) to a file on hard disk. To capture window we can make use of built in functions available in Windows API. To get list of functions available in this API, use API Viewer tool which can be added to Visual studio from Add-Ins Manager. Here is the list of some functions used from API : * GetWindowDc - Retrieves device context of DC
|
|
|
|
Total Hits: 33 | Today: 1
|
Author: Shashidhar Rao Nellutla
|
Rating:
|
|

Manually preparing data dictionary document will take ages in MS Word which contains 100's of tables, stored procedures, functions, triggers, views, indexes, etc. in the SQL Server database as you need to type each and every column of the table along with the associated dependencies. I need a data dictionary document which generates the database schema automatically in one click with nicely formatted. For this I did lot of research in Google to find the solution and finally I have wrote my own c...
|
|
|
|
Total Hits: 27 | Today: 0
|
Author: Alexandre Moura
|
Rating:
|
|

Visual Studio 2008 introduces types that do not have a type name – these are called anonymous types. In this walkthrough, you'll see what happens behind the scenes when anonymous types are created, and how generics are used to reduce the number of implicitly declared types in your assembly. We will look into the resulting Intermediate Language (IL) to better understand what gets created to support the use of an anonymous type....
|
|
|
|
Total Hits: 38 | Today: 0
|
Author: asm2me123
|
Rating:
|
|

This is a SIP softphone Gateway written by C# and VB.Net ,Based on the sipXtapi Library.
Can be used as a trunk gateway with Asterisk PBX.
All what you do is to supply the text on the form and wait for the SIP call, when the call arrives the gateway dials a number and connect the call....
|
|
|
|
Total Hits: 32 | Today: 0
|
Author: Marco_Frigerio_
|
Rating:
|
|

Hi to all, this is my first control, and it was created after an unsuccessful search for an ActiveX control capable of scrolling text vertically. This control will mimic (it’s not perfect, but u get the idea) the about box in winamp, it lacks of all the events handling but it works! For instance display some credits if you like!.
Use this code freely, if you like it, please try to improve it to get the most out of this control and be sure to send me an email with the new version,...
|
|
|
|
Total Hits: 18 | Today: 1
|
Author: Tommi G
|
Rating:
|
|

One annoying feature I have found from Visual Studio 2005 is how it handles the SQL Server 2005 Express database files (.MDF and .LDF) while debugging project. As by default Visual Studio has for content files of database type the option "Copy To Output Directory" set to "Copy Always". This is good is you constantly change the database schema, tables, stored procedures, views etc, but if you have a working schema that you want to edit both with your application and with the IDE, you have to set ...
|
|
|
|
Total Hits: 30 | Today: 0
|
Author: Philipos Sakellaropoulos
|
Rating:
|
|

This small application recursively extracts multiple zip files from a source folder and its subfolders to a destination folder. Source and destination folders can be the same. After the extraction the user is asked to delete the zip files. Beyond its utility as an application, the code demonstrates the BackgroundWorker component, introduced in the .NET framework v.2....
|
|
|
|
Total Hits: 32 | Today: 0
|
Author: Elkay
|
Rating:
|
|

So here I am, back at it once more. I needed a color-picker control for a project I'm working on and like most developers, I turned to my handy toolbar to see what Microsoft had for me in Visual Studio.
It wasn't long before I had a ColorDialog box coded and ready to use...ran my ap, clicked on the select color icon and there it was - or there something was. I guess technically, it IS a color selection tool...I mean, there are colors on the dialog box and you CAN pick them...but (and I am...
|
|
|
|
Total Hits: 80 | Today: 0
|
Author: Bala Murali S
|
Rating:
|
|

Ajax stands for Asynchronous Javascript and XML. Beginners may feel hard when they want to learn Ajax. They may got confused when they get into the samples like Atlas. This article is mainly for beginners of Ajax. The sample code is very easy and self-understandable. This code does not use Ajax.dll. It uses xmlHttp object to perform Ajax implementation....
|
|
|
|
Total Hits: 38 | Today: 1
|
Author: Pascal Ganaye.
|
Rating:
|
|

For the last two years, every couple of month or so an article appears claiming “C# is faster than VB.NET”. I agree C# is possibly very slightly faster, I won’t argue. Perhaps it is only fair. Perhaps it is to compensate the fact that C# programmers are probably not as good a VB programmers. You understand that, it is time to revive a good old war like we had years ago between Atari and Amiga. If we can't decide which Language is best, let's see which programmers are best, whether it is VB progr...
|
|
|
|
Total Hits: 175 | Today: 1
|
Author: Mohammad Ali
|
Rating:
|
|

Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents....
|
|
|
|
Total Hits: 157 | Today: 0
|
Author: Intelligent Solutions Inc
|
Rating:
|
|

This is a simple example illustrating some of the new objects in ADO.NET, the new version of ADO will ship with Visual Basic.NET. The example illustrates use of the DataSet Object, which is like a disconnected recordset in ADO. In ADO.NET, connectionless database applications are emphasized, and the DataSet object is a major part of how they are implemented....
|
|
|
|
Total Hits: 238 | Today: 0
|
Author: Hari Om Prakash Sharma
|
Rating:
|
|

This application can be used to shutdown, reboot, and logoff remote PCs. Client application that is 'remoteClientX' must be installed on client PCs and 'ServerX' is used to give commands like shutdown, reboot and logoff....
|
|
|
|
Total Hits: 186 | Today: 0
|
Author: Tony Selke
|
Rating:
|
|

There are many, many examples of how to do encryption and decryption in .NET. So why one more? Well, for one thing, I find that the majority of good code examples of any type are issued in C#. This isn't surprising, since those from a C++ or Java background will have an easier transition to C# than a similarly experienced Visual Basic developer moving to VB.NET. It will take time for the VB.NET community to develop into what the C++ and Java community already has at its disposal. So, I thought t...
|
|
|
|
Total Hits: 32 | Today: 0
|
Author: salysle
|
Rating:
|
|

This article describes an easy approach to keeping track of each installation of an application. The intent of the example is to demonstrate the use of a simple web service to collect and store information about each user and machine running the application....
|
|
|
|
Total Hits: 52 | Today: 1
|
Author: Greg Osborne
|
Rating:
|
|

Why do we need another ProgressBar? We don't, but as long as there are different ways to do things, someone will think they can do it better....
|
|
|
|
Total Hits: 36 | Today: 0
|
Author: mlangman
|
Rating:
|
|

Tried to find this solution myself, was supprised to find that it is not that easy to find.
This option will retart your computer after a 30 second delay.
Code: = System.Diagnostics.Process.Start("ShutDown", "/r")...
|
|
|
|
Total Hits: 21 | Today: 0
|
Author: dmm12
|
Rating:
|
|

please extract application to c:\xtremephoto
Project can work fromanywhere, but default photos are hard coded to c:\xtremephoto #
I had a lot of help on this project, thanks to Michael Combs great article, I was inspired to create this tool so you can see exactly the impact of the color matrix on the color transform. This mini-app has 25 trackbars to control every aspect of matrix... this will not do negative however. It will control bars as (1-100)/100 giving a range of .01 t...
|
|
|
|
Total Hits: 108 | Today: 1
|
Author: Bala J
|
Rating:
|
|

I came up with the problem of creating an application that was driven according to User rights. I thought to implement the menus to be driven through BackEnd. All the menu names and the form (formname) to open when the child menu was clicked, all comes from the table. To implement menus I used MenuStrip from VB.NET....
|
|
|
|
Total Hits: 30 | Today: 0
|
Author: Jan Geerinckx
|
Rating:
|
|

I was looking for a control that I could use for different kinds of headings and captions. After creating several seperate controls, I decided to create just one control. A control that could be configured to have different colors, different borders and that would respond on a mouse-action....
|
|
|
|
|
|