Quantcast
Channel: Database and Application development tips
Browsing latest articles
Browse All 35 View Live

Sending SMS from MS Access using google voice

Couple weeks ago I got call from my client who asked me to add function into his call managment application to send SMS with one click. His call agents used to add call into application then copy and...

View Article


PHP snippet to get city and state using Yahoo API

One of my clients asked me to store City and State into database if user just enter zip code. I found free Yahoo web service  to accomplish this task. you don’t have to obtain api keys and service is...

View Article


Another cool API City and State look up by IP Address done in PHP

I been asked to implement city and state lookup based on client browser IP. I searched the web and found cool free web service provided by ipinfodb.com  so I downloaded ipinfodb.class.php file from...

View Article

vb.net unzip files made easy

Couple weeks ago I started new project data feed processing. I should download several files unzipped the files. I have found easy way to do it utilizing ICSharpCode.SharpZipLib.dll then I add...

View Article

asp .net create excel file with couple lines of code

I got very simple asp.net project. The task was to display gridview with data below button to download data in excel file than file upload so user can upload updated data and store it in sql database....

View Article


Autocomplete text box with C# and Jquery

Me and my partner working on business directory project http://www.placenearme.com . One of the project requirements was implement auto complete to populate keywords like google search. So if user type...

View Article

upload excel file with php

Just couple days ago one of my clients ordered php script which would upload excel file for processing so I was breaking my head how can process the file using php. I did it many times in .NET using...

View Article

how to create ftp function with vb.net

  I just finished another vb.net project where I need to downloaded dozens of files with ftp. I used Dos for ftp files before now I decided instead of creating bat script to do ftp use FtpWebRequest...

View Article


vba merging excel files

Offen I got calls from customers asking me to mail merge excel files with calculated data on one excel file and data feed on another sometimes with printed area on other workbook of template excel...

View Article


extract data from outlook with vba

Couple month ago I got call from my client asking to extract some data from his emails. He got leads posted from his web forms into his email. So now he wants to extract and use data for marketing...

View Article

Filling PDF Forms with iTextSharp

Real estate broker call me and asked if I can create application where he can enter Tenant and Owner information click on submit button and filled PDF ligal lease form will popup. So first  I edited...

View Article

Load atom feed into dataset with c sharp

I am trying to get some nice content into http://placenearme.com This site I am building with my partner. For SEO purposes I would need to place nice content in home page so we decided to process and...

View Article

LDAP Authentication with asp.net

Often I use LDAP Authentication against active directory to aunthiticate for ASP.NET applications. The benefit of using active directory that user don’t remember multiple passwords and have different...

View Article


Email address validation with php

Most of the times developers validate email address with javascript or Jquery using regular expresion but it doesn’t prevent from getting invalid email for example someone enter email with none...

View Article

How to restrict user to upload excel file in php

Many of us using file upload when we develop sites ether in php or asp.net or regular HTML forms. I will demonstrate simple JavaScript validation function to restrict upload files with xls extension...

View Article


How to add jquery datepicker

I had an issue last week using Ajax tool kit for ASP.NET application on godaddy shared windows hosting. The application was working on my local iis server. So I spend a lot of time trying to identify...

View Article

Traditional Mortgage Calculator script with PHP

Recently I was working on reverse mortgage and traditional mortgage culculaters. So I deside to publish script for traditional calculator. Insite the script I have html form with 4 fields validated by...

View Article


How masking input fields with JQuery

In ASP.NET applications I used masking extender from Ajax Tool kid but I found it complicated so I start using JQuery to replace it. Masking need to format US Phone Fax numbers Social Security Number...

View Article

How to create autotab with JavaScript

Often we brake phone number into several fields. Now I will demonstrate how to implement autotab function to jump from one feiled to other. Below is a Javascript function code you need to add into head...

View Article

email function for asp.net

Email function is most useful function in today web development most of the sites have contact form request forms and etc .. In this post I will post email function which will accept 1 or more email...

View Article

How to get data form other excel file with vba

Last week I got very small project from one of my clients to create vba micro to process data row by row from one excel file brake one text column into records with 250 characters long and write output...

View Article


How to create tabs with jquery

Tabs are very popular web2.0 future in web application development. I could not believe how easy to implement tabs with JQuery vs javascript and css. So for start you need to download JQuery css and...

View Article


Watermark textbox with Jquery

Sometimes contact form on the site doesn’t have place for textbox labels and we need to use textboxes instead of labels on the site or top of texbox. So in help we got JQuery plugin watermaek 1.0 you...

View Article

Browse files using ftp in vb.net

Couple post before I described how to upload fiels with vb.net now i will show you function to list all directories on remote server with ftp. Function will accept several parameters like host user...

View Article

delete all items in dropdown list

In asp.net sometimes dropdown list needs to reload. If an AppendDataBoundItems attribute set to true then each time list get reloaded values will be accumulated So before populating a list script need...

View Article


How to merge MS Access with Word using vba

Couple days ago got small vba project to fill Microsoft word document with data from access database. The access database UI form has several sub forms in different tabs on top of the form menu bar...

View Article

How to hide column in gridview asp.net

Just got a call from customer asking me not to display last two columns on the gridview for some condition. The project was done in c sharp. So I have tryied to do it with one line of code by …...

View Article

how to connect mysql database with asp.net application

  One of my customers has asked me to create application in asp.net which ftp files from host and save them in file directory. I have done application in .Net with C sharp. Couple weeks later, he...

View Article

How disable submit button with javascript

 I seen some code on codeproject.com web site how to avoid inserting twice when user refresh page in ASP.NET. Here is a quick tip how to prevent double submission of the form request while it is...

View Article



How to upload multisheet excel file into ms sql with asp.net

Oh I found excel.dll in http://exceldatareader.codeplex.com/ which was very easy to implement. Couple line of code create stream assign stream from file uploader and create excelreader object then fill...

View Article

How to find count of the same character in string with VBA

Last night I was working on new project I had a excel file I need to upload to Sql database. One of the fields contain city region country and see port name. My task was extract ports from that string...

View Article

How to change styles in last column of gridview with Jquery

Oh customer wants custom gridview control with last field has a different style vs to rest of the columns. So I got to use Jquery. It would take me tree lines of code to complete this task and css...

View Article

how to update linked tables in ms access using vba

There is a good practice to keep data and up in different MS Access databases. I got call from user that he is getting errors while opening application. He moved the databases to another drive. So I...

View Article


Using com port in .net application

Just finished small project which utilized bill accepted. I had an experience in the past program R232 interface devices with visual basic 6 it was a big deal back days. Today you open Visual studio...

View Article

Jquery UI dialog with asp.net button events are not working

Recently I was working on the project where I used Jquery UI dialog. Inside dialog box I had search text box and button so i set up clientonclick and onclick events when uer click on submit search...

View Article
Browsing latest articles
Browse All 35 View Live