, supply computer programming skills and operating system administration

These effective javascript codes need not to write in a html document. You just copy and then paste them in the browser's address bar, then press enter or click the "goto" button would be ok.

The following codes would extract all the pictures in a web page then roll then on the screen.

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'...

Programming - JavaScript

Tags:Microsoft Sql Server

There is some problem with the server's hard disk. I copy the database backup file to a new position in the server. When I attach the database I got an error prompt of Microsoft Sql-DMO 823 errors. View Log as follows:

Error: 823, Severity: 24, State: 5.

I know this may caused by the damage of a database file or hardware. I try the following steps to fix the database and got succes.

Assumes that the database name to be fixed is "mydb", then:

1. Run MS-Sql...

Database - Sql Server

Tags:C BuilderExamples

How to use the "Sender" parameter in C++Builder program.

In an event handler, the Sender parameter indicates which component received the event and therefore called the handler. Sometimes it is useful to have several components share an event handler that behaves differently depending on which component calls it. You can do this by using the Sender parameter.

See an example, create a new project, and put two buttons on the form. Change button1's caption to "Hello" and...

Programming - VB/VB.NET


This is an full codes example on how to draw graphics with an image's canvas. The following picture shows the effect of the running program. If you want to run this code example, just save the form's text to "FormMain.dfm", save the .h file codes to "graphwin.h" and save the .cpp file code to "graphwin.cpp", then create a new project and include these files to your project.

 //FormMain's text--FormMain

object FormMain: TFormMain
  Left = 250
  Top = 148
  Width = 463

Code Examples & Download - C++Builder

Tags:LinuxHow to use the command of "rrdrestore" under linux?

rrdrestore - Restore the contents of an RRD from its XML dump format rrdtool restore filename.xml filename.rrd [--range-check|-r]DESCRIPTION

The restore function reads the XML representation of an RRD and converts it to the native RRD format. filename.xml The name of the XML file you want to restore. filename.rrd The name of the RRD to restore. --range-check|-r...

Operating system - Linux

More Articles...

Page 1 of 52