Facebook
Welcome to Techsapphire

Articles

Using excel as database using vb.Net Or excel and VB.Net

Using excel as database using vb.Net Or excel and VB.Net Solution code: Imports System.Data.Oledb Public class form1 Private Const connstring As String = “Provider=Microsoft.Jet.OLEDB.4.0;” & _ “Data Source=c:\Test.xls;Extended Properties=””Excel 8.0;HDR=YES;””” For full solution click here.

Reading PDF documents using .Net

Reading  PDF documents using .Net For this you could prefer active control of existing reader. For this you could use active control of Adobe reader. But if you use adobe or any other active then that software must be installed on the system where you have to use your project having their active. Coding for reading […]

Editing Registry using .net

Editing Registry using .net For editing registry using .net you need to import microsot.win32 namespace. The Microsoft.Win32 namespace provides two types of classes: those that handle events raised by the operating system and those that manipulate the system registry. In editing registry we have to do following operations. Those are: Creating Subkey: First you have to import […]

Add font at run time .Net Or Font VB Net Or Install Font run time

Add font at run time .Net Or Font VB Net Or Install Font run timeYou could install or add font at run time for particularly use in your project. This sample code is for installing font to project at run time in Vb.Net.Solution:Namespace required: Imports System Global Declaration:    Dim PFC As Drawing.Text.PrivateFontCollection   Dim NewFont_FF As […]

Writing Text to image using Vb.Net Or writing text to image .net Or writing to image file .Net

Writing Text to image using Vb.Net Or writing text to image .net Or writing to image file .NetYou can write text to image pro grammatically using VB.Net. This is sample code in VB.Net.Solution:Namespace required: Imports System.Drawing Imports System.Drawing.ImagingSource Code:        Dim objBitmap As New Bitmap(100, 50)         Dim objGraphics As Graphics = Graphics.FromImage(objBitmap)         Dim objPoint As New […]

Creating BarCode using VB.Net. or Barcode and Vb.Net.

Creating BarCode using VB.Net. or Barcode and Vb.Net. In this project we used font which is added to font at run time. It is barcode font it convert entered text in form of Barcode value. There is file name “rmad ” this must be copied into Debug folder of project so that font could be […]

C language project

Bricks it is game in c Language. You could download it from here. Click Here.Paratrup it is game in c Language. You could download it from here. Click HereComputer shop management system. You could download it from here. Click here.

Mystic Programs

These are special program which are not supposed to be practiced by normal programmer. Even these question are asked during interviews and quizs.Some question are:How to print 0 if input is even and 1 if input is odd?How to divide any number with 256 without using arithmetic operator?

HTML Editor using VB Or HTML editor using Visual Basic Or website builder using VB

HTML Editor using VB Or HTML editor using Visual Basic Or website builder using VB Or Front page using Visual BasicThis is project in Visual Basic with this you could edit HTML page and also can create HTML page in very user friendly way. You just have to select option from menu to insert HTML […]

Hotel management system using .net Or college management system

Hotel management system using .net Or college management system This project is compatible to visual studio 2005 and later. If you are using Visual studio version 2008 and later then you just need to change connection string i.e“provider=microsoft.jet.oledb.4.0;data source=” & Application.StartupPath & “\Imperial.mdb;jet oledb:database password=’iihm’;”To“provider=Microsoft.ACE.OLEDB.12.0;data source=” & Application.StartupPath & “\Imperial.mdb;jet oledb:database password=’iihm’;” If you find […]