Free Web Hosting

Connect to your PC over internet with SynXro

March 12th, 2008 Bala Krishna Posted in ASP.Net, Browser Stuff, Dot.Net, Error Log, Events, General, Linux Commands, Nation, Operating System Tutorial, PHP Function, PHP Programming, PHP Tutorial, Remote Access, Tips and Tricks, Web Development, Web Hosting, Web Technology, Window Application, windows xp No Comments »

SynXro is another web based product to connect, a PC to PC; or PC to LAN connection. SynXro allows you to access all the drives of your PC and all the network drives of all PCs connected to your Local Area Network from anywhere in the world. You only need to have access of internet and modern web browser to connect to your PC. No additional software or hardware is required.

Features:

  • Navigate through your Local Area Network.
  • Remote access to LAN and/or Computer.
  • Remote upload and download capabilities.
  • Remote execution of commands.
  • Accessible from any location through the internet via any browser.

Get 7 Days SynXro Trail Version

AddThis Social Bookmark Button

VB Script Functions

January 11th, 2008 Bala Krishna Posted in ASP.Net, Asp.Net Tips, VBScript No Comments »

VBScript is a lightweight script programming language like JavaScript. It is light version of Microsoft Visual Basic for the web. VBScript can be inserted into a HTML document and run at client side. Below is the list of general function supported by VBScript. These function also available in Microsoft Visual Basic.

CDate Converts a valid date and time expression to the variant of subtype Date
   
Date Returns the current system date
   
DateAdd Returns a date to which a specified time interval has been added
   
   
DateDiff Returns the number of intervals between two dates
   
   
DatePart Returns the specified part of a given date
   
DateSerial Returns the date for a specified year, month, and day
   
DateValue Returns a date
   
Day Returns a number that represents the day of the month (between 1 and 31, inclusive)
   
FormatDateTime Returns an expression formatted as a date or time
   
Hour Returns a number that represents the hour of the day (between 0 and 23, inclusive)
   
IsDate Returns a Boolean value that indicates if the evaluated expression can be converted to a date
   
Minute Returns a number that represents the minute of the hour (between 0 and 59, inclusive)
   
Month Returns a number that represents the month of the year (between 1 and 12, inclusive)
   
MonthName Returns the name of a specified month
   
Now Returns the current system date and time
   
Second Returns a number that represents the second of the minute (between 0 and 59, inclusive)
   
Time Returns the current system time
   
Timer Returns the number of seconds since 12:00 AM
   
TimeSerial Returns the time for a specific hour, minute, and second
   
TimeValue Returns a time
   
Weekday Returns a number that represents the day of the week (between 1 and 7, inclusive)
   
WeekdayName Returns the weekday name of a specified day of the week
AddThis Social Bookmark Button

How to run FFMPEG command in Asp.Net

January 10th, 2008 Bala Krishna Posted in ASP.Net, Asp.Net Tips, Blogging, Browser Stuff, Bug Fix, Dot.Net, FFMPEG, FFMPEG-PHP, Linux, Linux Commands, Operating System Tutorial, Tips and Tricks, Web Design, Web Development, Web Hosting, Web Technology, Window Application, windows xp 2 Comments »

To run ffmpeg commands in asp.net you need to use Media Handler class. Here is an example how to use media handler class to run ffmpeg commands.

//Create media handler object of Media_handler class

Media_handler mymediahandler=new Media_handler();

// Get web site application path

string webapppath =Server.MapPath(Request.ApplicationPath);

//Get ffmpeg.exe full path from mapping

string ffmpeg_path=HttpContext.Current.Server.MapPath(”ffmpeg.exe”);

//Run FFMPEG command by calling Execute_FFMPEG function of Media_handler class

mymediahandler.Execute_FFMPEG(ffmpeg_path, “-i c:\\clock.avi -vcodec mp3 c:\\clock.flv”);

AddThis Social Bookmark Button

Schedule Tasks in Windows XP

December 8th, 2007 Bala Krishna Posted in ASP.Net, Blogging, Events, General, Internet Explorer, Internet Marketing, Link Building, Online Media, Operating System Tutorial, Security, Tips and Tricks, Web Design, Web Development, Web Technology, windows xp No Comments »

Schedule Tasks is a utility in window like Cron Job in Linux to run any script, program at specified time. Scheduled Tasks starts every time you start Windows Operating system and runs silently in the background, and it starts each task that you schedule at the time that you specify when you create the task.

How to create new task:

1) Goto Start->Setting->Control Panel->Schedule Tasks OR Start->Programs->Accessories->System Tools->Schedule Tasks

2) Double-click on “Add Scheduled Task” to start the Scheduled Task Wizard, and then click Next in the first dialog box.

Schedule task wizard

3) Select program from the list in the next screen. If program does not appear in the list then click on browse button to select desired application. You can also run Window XP command with schedule task.

Schedule task application select

4) In the next screen, Type name of task and select frequency of task you want to run. For full options check image below.

Schedule task frequency select

5) In this screen, choose time to run select task. Set time and date from which you want to enable this scheduled task. This setting will depend on previous option and change accordingly.

Schedule task time date setting

6) Now type the name and password of the user who is attach with this task. By default, the wizard selects the name of the user who is currently logged on. User should have sufficient permissions to run the program.

Schedule task wizard

7) Click Next, and then click Finish.

AddThis Social Bookmark Button

Difference between DataGrid and DataGridView control

March 31st, 2007 BalaKrishna Posted in ASP.Net, Web Technology No Comments »

The New DataGridView control introduced in Visual Studio .Net 2005 supports advanced features that was not included in earlier version of DataGrid control. The DataGridView control flexible and easier to extend and customize than the DataGrid control. I have sorted down difference between DataGrid and DataGridView control in following points.

DataGrid
- Older Introduced in VS2003
- Faster then DataGridView
- Easier to be implemented
- Slower performance in case of thousands of rows
- Ability to display hierarchical data ( This feature not available in DataGridView control)
- Cell based structure
- Fewer events supported

DataGridView
- New Introduced in VS2005
- Slower then VS2003 DataGrid Control
- Implementation not easy for beginners but expert coder will find it easy to use and extremely customizable
- Higher performance with support of more then 100000 rows
- Powerful and flexible way to display a data source, bound and unbound data together.
- Column based structure
- Number of Cell, Rows and Column event supported such as CellDoubleClick, CellValidating, CellFormatting, RowEnter, RowLeave and RowDividerDoubleClick.
- Easy to apply styles to columns, rows and cells

AddThis Social Bookmark Button




|