|
 |
naimish
Introduction
Quite Often, We may wish to inform the user of a successful or an unsuccessful operation in a web form application. An effective way to communicate an important message to the user is through the use a MessageBox or a JavaScript "alert".
The MessageBox class in the...
|
|
10 |
3,500 |
|
|
naimish
Introduction
Zipping Files and folder without using 3rd party tools
Background
Just add reference to the solution for vjslib available with C# .NET
The code
|
|
8 |
3,370 |
|
|
naimish
Introduction
To call server side events and functions from client side javascript function in asp.net.
Suppose we want to perform both client side and server side activities for an event,we can use this logic
Background
Three are 2 ways to acheive this functionality.
|
|
4 |
6,289 |
|
|
sameer_havakajoka
Introduction
This is a windows service where It will create a .csv file and sends mail on a particular day of week
Background
This solution is used for creating .csv file from datatable and send it on a particular day of week. As it is a windows service no manual intervention is...
|
|
2 |
1,665 |
|
 |
naimish
Introduction
Many times we need to check or validations for numeric/string/Alphanumeric values.
Background
It provides some methods in C# .Net, which can be resue in your web or windows application.
The code
|
|
3 |
2,625 |
|
|
urstop
Introduction
Today I was working with the Tab Container control from Ajax tool kit and I had this requirement of preventing the user from navigating off to a different tab without completing the required fields on the active tab he was in. There is no direct feature in the toolkit that provides...
|
|
4 |
1,879 |
|
|
naimish
Introduction
The functioned mentioned manipulates the already added bar graph(Chart object) using VB.NET(front end).
One can change the value of the bar graphs, the properties of the chart at runtime. Some of the properties are accessed in the function.
Validation can also been...
|
|
3 |
2,300 |
|
|
arithforu
Add Reference of iTextSharp.dll
btnAddWaterMark_Click is a button name.
AddWatermarkImage is a method name.
Enter Input File's Path in input
Enter Output File's Path in output
Enter Image's Path in water
Good Luck.
Private Sub btnAddWaterMark_Click(ByVal sender As System.Object, ByVal e...
|
|
17 |
3,830 |
|
 |
naimish
Introduction
Usually in Projects we need some images which are in icon format. Generally we get images in .JPG OR .BMP format. This code snippet when compiled and executed on .Net machine will convert the JP OR BMP file in to .ico format.
The code
Code: .NET
using System;
using...
|
|
1 |
3,510 |
|
 |
naimish
Introduction
Accessing the Mobile DB (SQL CE/ SQL Mobile) from desktop application. Synchronization of Desktop/Server DB and SQL Mobile
Background
Following code snippets show how to access SQL CE of a PPC 2003 or Windows Mobile DB from Desktop Application when device is craddled and...
|
|
1 |
1,439 |
|
 |
naimish
Introduction
This Solution will provide the status of the particular service and its exit code.
Usually to check the service the analyst need to login into remote machine with the Domain A/c and password which takes 10-15min.,where as this solution will fetch the information with in a...
|
|
2 |
2,552 |
|
 |
naimish
Introduction
To privide smooth paging mechanism while delaing with huge quantitys of DATA.
Background
Below code snippet can be placed in a user control and can be reused as and when we require paging to be performed on a web UI.
The code
|
|
1 |
1,148 |
|
 |
naimish
Introduction
Changing values in databse when a property changes is cumbersome to make it easier we can use propertchanged Event as in the solution.
Background
A script is generated for every property changed when the user wishes to update (Save button clicked) we can run this script.
...
|
|
1 |
1,735 |
|
 |
naimish
Introduction
Have you ever face the problem of merging so many word docs into a single one ?!!!
Heres the solution ;)
Merge multiple word documents into a single document using .Net code.
Background
This asset is used to merge multiple word documents into a single document. If you...
|
|
10 |
2,211 |
|
 |
naimish
Introduction
This stored procedure (works same in vb, c#) adds the given number of Business days to the given date. Only business days aare taken into account. Saturday and Sunday are not included.
Background
Find out how many weekends will come between start and end date and add that...
|
|
2 |
2,643 |
|
 |
naimish
Introduction
Intersystem Cache's $piece functionality is replicated in C#.NET
Background
$piece in Cache Objectscript returns a specific piece of a string based on a specified delimiter. It can also return a range of pieces, as well as multiple pieces from a single string, based on...
|
|
1 |
1,172 |
|
 |
naimish
Introduction
There was a need of a timer which could count down from a partcular time.
Background
Say for example we need to count 01:12:30 then just give the input to the timer as 01:12:30 it will start counting down and even in the negative range too.
The code
|
|
1 |
1,350 |
|
|
naimish
Introduction
This article describes how to develop an Email Activity Control in WF and it constructs an activity and shows how to use that activity within a workflow.
Background
Windows Workflow Foundation (WF) provides a visual interface for creating and hosting workflows that...
|
|
2 |
1,401 |
|
|
naimish
Background
This article continues my previous one, to add watermark in PDF files, now we will go ahead and look how to add password in PDF File. Please check Add WaterMark In PDF Files.
The code
Imports System
Imports System.IO
Imports iTextSharp.text
|
|
11 |
3,871 |
|
|
naimish
Introduction
At present many are using the Production URL with the same cuid (User id). There is no log maintained about the login of the user. Even when some user logs in to the system and does some changes in the contents either intentionally or accidentally, it is difficult to track it. ...
|
|
3 |
1,803 |