Notes ACCESS 2022 | Browsers | Css | Htacess | Html | Html5 | Javascript | Microsoft Excel | Mysql | Mysql Dumps | Php | Vb.net | VBscript | Windows <=8 | Windows >=10 | WP | WP Plugin | WP Themes | _Misc Software | ABCDEFGHIJKLMNOPQRSTUVWXYZONPRTOFF codeid operationid title keywords application code languageid show_html show_iframe make_public viewed viewed_date language operation <- Look Inside DataConditions:Order: 1|2|3|4|5|6|7|8|50 Language Operation Title Keywords Application Code Languageid Show Html Show Iframe Make Public Viewed Viewed Date Css Formatting Customizing Formats For Mircrosoft IE ONLY !ie IE firefox browser css I had a table that would format for either FireFox or IE but not both. I used the border-collapse property with "!ie" at the end which IE recognizes but other browswers do Not. Try it with other styling in your css Specify a border collapse for ie #directory table{border-color:#000000; border-collapse:separate; border-collapse:collapse !ie; border-spacing:0px;} #event td{padding:10px 10px 10px 10px;} Css 1276 09/09/2023 Htacess Internet Security And Set Php Version .htaccess php version security Require all denied Require all denied # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php74†package as the default “PHP†programming language. AddHandler application/x-httpd-ea-php74___lsphp .php .php7 .phtml # php -- END cPanel-generated handler, do not edit Htacess 0 03/04/2024 _Misc Software Customizing Setting NMEA Settings 1200 Monitor 1200 20/20 NMEA Linking 20/20 1200 MONITOR NMEAS SETTINGS 1. press the 3 square-4 square button top 2. Click on GNS position output settings 3.click on configuration. you can add a new profile here we called our 2025 4. Our guy had us turn port 2 on set baud rate 38400 5. Next turn the CGA->on, RMC->on, VTG->on 6. Click on each of the + signs and set each value to 5hz _Misc Software 0 04/09/2025 Css Formatting Set Styling For Jesus Loves Humor Website 2013 theme jesus loves humor Jesusloveshumor place in the style.css body {overflow:visible;} table{border-color:black;border-collapse:collapse;mso-padding-alt:0in 5.4pt 0in 5.4pt} textarea{ font-size:8pt; } hr.cell_split{color:red;} tr.alt{background-color:#EEEEEE;} td{font-family:verdana;font-size:8pt;border:1px solid #000000;} .navletters {margin:0 7px 0 7px; } td.code_mod {max-width: 600px;} td.description_mod {min-width:300px;} td.description_mod div{min-width:275px;} div.scroll{overflow:auto;text-align:left;min-width:200px;max-width:600px;max-height:200px; } input[type="button"],input[type="submit"]{ background-color: #64c9ea; border: none; border-radius: 2px; box-shadow: none; color: #fff; cursor: pointer; padding: 5px 5px; min-width:10px;margin:5px;} input[type="text"],input[type="select"] {font-family:verdana;font-size:10pt;margin:5px;padding: 2px 2px;width:70%} td.file_mod{width:200px;} .entry-content {max-width:1200px; } Css 2 04/16/2025 Css Formatting Stored Css For 2017 Theme 2017 footer credits seventeen theme Jesus sell Jesus Over Gangs footer credits in site-info.php Sell hay .entry-content{ margin: 0 auto; max-width: 1400px;min-width:700px;} body {overflow:visible;} table{border-color:black;border-collapse:collapse;mso-padding-alt:0in 5.4pt 0in 5.4pt} textarea{ font-size:8pt; } hr.cell_split{color:red;} tr.alt{background-color:#EEEEEE;} td{font-family:verdana;font-size:8pt;border:1px solid #000000;padding:5px;} .navletters {margin:0 7px 0 7px; } td.code_mod {max-width: 600px;} td.description_mod {min-width:400px;} div.scroll{overflow:auto;text-align:left;min-width:200px;max-width:600px;max-height:200px; } input[type="button"],input[type="submit"]{ background-color: #64c9ea; border: none; border-radius: 2px; box-shadow: none; color: #fff; cursor: pointer; padding: 5px 5px; min-width:10px;margin:5px;} input[type="text"],input[type="select"] {font-family:verdana;font-size:10pt;margin:5px;padding: 2px 2px;width:70%} td.file_mod{width:250px;} @media screen and (min-width: 48em) { .wrap { max-width: 1300px; } } table.reportTable,table.navTable{table-layout:fixed;} td.product_mod {width:125px;min-width:125px;overflow:hidden;padding:10px;} td.sale_mod {overflow:hidden;padding:10px;} td.units_mod {overflow:hidden;padding:10px;} td.location_farm_mod {width:125px;min-width:125px;overflow:hidden;text-align:center;padding:10px;word-break:break-all;} td.location_shed_mod {width:125px;min-width:125px;overflow:hidden;padding:10px;word-break:break-all;} td.discount_mod {width:125px;min-width:125px;overflow:hidden;padding:10px;} td.analysis_mod {width:80px;min-width:80px;overflow:hidden;padding:10px;text-align:center;} td.still_image_mod {width:80px;min-width:80px;overflow:hidden;padding:10px;} td.movie_mod {width:80px;min-width:80px;overflow:hidden;padding:10px;text-align:center;} td.date_mod {overflow:hidden;padding:10px;} td.invoice_mod {overflow:hidden;padding:10px;text-align:right;} td.check_column {min-width:25px;width:25px;} td.button_column{min-width:125px;width:125px;} admin custom css .entry-content a img, .comment-content a img, .widget a img { -webkit-box-shadow: 0 0 0 0px #fff; box-shadow: 0 0 0 0px #fff; } .entry-content a, .entry-summary a, .comment-content a, .widget a, .site-footer .widget-area a, .posts-navigation a, .widget_authors a strong { -webkit-box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 1); box-shadow: none;} .single-post:not(.has-sidebar) #primary, .page.page-one-column:not(.twentyseventeen-front-page) #primary, .archive.page-one-column:not(.has-sidebar) .page-header, .archive.page-one-column:not(.has-sidebar) #primary { max-width: 1100px; } Jesus over Gangs Add at the end of style.css .entry-content{ margin: 0 auto; max-width: 1400px;min-width:700px;} body {overflow:visible;} table{border-color:black;border-collapse:collapse;mso-padding-alt:0in 5.4pt 0in 5.4pt} textarea{ font-size:8pt; } hr.cell_split{color:red;} tr.alt{background-color:#EEEEEE;} td{font-family:verdana;font-size:8pt;border:1px solid #000000;padding:5px;} .navletters {margin:0 7px 0 7px; } td.code_mod {max-width: 600px;} td.description_mod {min-width:400px;} div.scroll{overflow:auto;text-align:left;min-width:200px;max-width:600px;max-height:200px; } input[type="button"],input[type="submit"]{ background-color: #64c9ea; border: none; border-radius: 2px; box-shadow: none; color: #fff; cursor: pointer; padding: 5px 5px; min-width:10px;margin:5px;} input[type="text"],input[type="select"] {font-family:verdana;font-size:10pt;margin:5px;padding: 2px 2px;width:70%} td.file_mod{width:250px;} @media screen and (min-width: 48em) { .wrap { max-width: 1300px; } } Css 4 03/16/2025 _Misc Software Hardware Printer Tips 2600 laser paper Print Pages hp2600n printer [front load] place the side to be printed on down (labels down) or already printed out [bottom load] place the already printed side down with the bottom of the page furthest in or top of page closest to the front but always print facing down _Misc Software 0 04/19/2025 Htacess Files Page Not Found 404 404 page redirect ErrorDocument 404 /template.html the later is the file the invalid page will go to Htacess 1507 09/09/2023 Php Files Clean Url ? url clean & # if you ever add variables to the url line you need to use this function urldecode for passing gets. $urlpart1=urldecode($urlpart1); $urlpart2=urldecode($urlpart2); $url="http://www.mydomain.com?$urlpart1&$urlpart2; Do not use it on a completed url. It will totally mess everything up. Php 1325 09/09/2023 Php Constants Setting The Absolute Path absolute path define constant Library if ( !defined('ABSPATH') ) define('ABSPATH', dirname(__FILE__) . '/'); require_once(ABSPATH."mystuff.php"); require_once(ABSPATH."functions.php"); Php 3 09/09/2023 Php Files Activate75.php activate security Developer //require_once($_SERVER['DOCUMENT_ROOT']."/activate75.php"); if($bypass!=true){ $appid="636390303046554890"; $user='softwax3_build99';$password='Web2Build.now';$database='softwax3_SoftwareUsers'; $connection = swd_mysql("localhost", $user,$password,$database); //if($appid>"636390303046554897"){$qu=new mysqli_swd();}else{$qu=new dbase();} $qu=new mysqli_swd(); $sql="SELECT lock_device,security_level FROM users WHERE device_name='".$_COOKIE["machine_id"]."'"; $qu->dbsql($sql); if($qu->num==0 || $qu->data1[0]==1) { echo "You are locked out";exit; } $_SESSION['LEVEL']=$qu->data1[1]; $LEVEL=$qu->data1[1]; define('SWD_AUTHENTICATE', true);define('SWD_KEY', 'JesusIsLord'); } if($bypass==true){define('SWD_AUTHENTICATE', true);} ?> Php 0 05/11/2025 Mysql Date ADDDATE - Mysql add date mysql Update adds Set durationdays=ADDDATE(now(),INTERVAL 30 DAY) WHERE addid=15 Date and Time Functions This section describes the functions that can be used to manipulate temporal values. See section 6.2.2 Date and Time Types for a description of the range of values each date and time type has and the valid formats in which values may be specified. Here is an example that uses date functions. The following query selects all records with a date_col value from within the last 30 days: mysql> SELECT something FROM tbl_name WHERE TO_DAYS(NOW()) - TO_DAYS(date_col) <= 30; eqMaintenance.intervalof-(TO_DAYS(NOW())- TO_DAYS(equipment.date_done) (Note that the query will also select records with dates that lie in the future.) Functions that expect date values usually will accept datetime values and ignore the time part. Functions that expect time values usually will accept datetime values and ignore the date part. Functions that return the current date or time each are evaluated only once per query at the start of query execution. This means that multiple references to a function such as NOW() within a single query will always produce the same result. This principle also applies to CURDATE(), CURTIME(), UTC_DATE(), UTC_TIME(), UTC_TIMESTAMP(), and any of their synonyms. The return value ranges in the following function descriptions apply for complete dates. If a date is a ``zero'' value or an incomplete date such as '2001-11-00', functions that extract a part of a date may return 0. For example, DAYOFMONTH('2001-11-00') returns 0. ADDDATE(date,INTERVAL expr type) ADDDATE(expr,days) When invoked with the INTERVAL form of the second argument, ADDDATE() is a synonym for DATE_ADD(). The related function SUBDATE() is a synonym for DATE_SUB(). mysql> SELECT DATE_ADD('1998-01-02', INTERVAL 31 DAY); -> '1998-02-02' mysql> SELECT ADDDATE('1998-01-02', INTERVAL 31 DAY); -> '1998-02-02' As of MySQL 4.1.1, the second syntax is allowed, where expr is a date or datetime expression and days is the number of days to be added to expr. mysql> SELECT ADDDATE('1998-01-02', 31); -> '1998-02-02' ADDTIME(expr,expr2) ADDTIME() adds expr2 to expr and returns the result. expr is a date or datetime expression, and expr2 is a time expression. mysql> SELECT ADDTIME("1997-12-31 23:59:59.999999", "1 1:1:1.000002"); -> '1998-01-02 01:01:01.000001' mysql> SELECT ADDTIME("01:00:00.999999", "02:00:00.999998"); -> '03:00:01.999997' ADDTIME() was added in MySQL 4.1.1. CURDATE() Returns the current date as a value in 'YYYY-MM-DD' or YYYYMMDD format, depending on whether the function is used in a string or numeric context: mysql> SELECT CURDATE(); -> '1997-12-15' mysql> SELECT CURDATE() + 0; -> 19971215 CURRENT_DATE CURRENT_DATE() CURRENT_DATE and CURRENT_DATE() are synonyms for CURDATE(). CURTIME() Returns the current time as a value in 'HH:MM:SS' or HHMMSS format, depending on whether the function is used in a string or numeric context: mysql> SELECT CURTIME(); -> '23:50:26' mysql> SELECT CURTIME() + 0; -> 235026 CURRENT_TIME CURRENT_TIME() CURRENT_TIME and CURRENT_TIME() are synonyms for CURTIME(). CURRENT_TIMESTAMP CURRENT_TIMESTAMP() CURRENT_TIMESTAMP and CURRENT_TIMESTAMP() are synonyms for NOW(). DATE(expr) Extracts the date part of the date or datetime expression expr. mysql> SELECT DATE('2003-12-31 01:02:03'); -> '2003-12-31' DATE() is available as of MySQL 4.1.1. DATEDIFF(expr,expr2) DATEDIFF() returns the number of days between the start date expr and the end date expr2. expr and expr2 are date or date-and-time expressions. Only the date parts of the values are used in the calculation. mysql> SELECT DATEDIFF('1997-12-31 23:59:59','1997-12-30'); -> 1 mysql> SELECT DATEDIFF('1997-11-31 23:59:59','1997-12-31'); -> -30 DATEDIFF() was added in MySQL 4.1.1. DATE_ADD(date,INTERVAL expr type) DATE_SUB(date,INTERVAL expr type) These functions perform date arithmetic. As of MySQL Version 3.23, INTERVAL expr type is allowed on either side of the + operator if the expression on the other side is a date or datetime value. For the - operator, INTERVAL expr type is allowed only on the right side, because it makes no sense to subtract a date or datetime value from an interval. (See examples below.) date is a DATETIME or DATE value specifying the starting date. expr is an expression specifying the interval value to be added or subtracted from the starting date. expr is a string; it may start with a `-' for negative intervals. type is a keyword indicating how the expression should be interpreted. The following table shows how the type and expr arguments are related: type Value Expected expr Format SECOND SECONDS MINUTE MINUTES HOUR HOURS DAY DAYS MONTH MONTHS YEAR YEARS MINUTE_SECOND 'MINUTES:SECONDS' HOUR_MINUTE 'HOURS:MINUTES' DAY_HOUR 'DAYS HOURS' YEAR_MONTH 'YEARS-MONTHS' HOUR_SECOND 'HOURS:MINUTES:SECONDS' DAY_MINUTE 'DAYS HOURS:MINUTES' DAY_SECOND 'DAYS HOURS:MINUTES:SECONDS' DAY_MICROSECOND 'DAYS.MICROSECONDS' HOUR_MICROSECOND 'HOURS.MICROSECONDS' MINUTE_MICROSECOND 'MINUTES.MICROSECONDS' SECOND_MICROSECOND 'SECONDS.MICROSECONDS' MICROSECOND 'MICROSECONDS' The type values DAY_MICROSECOND, HOUR_MICROSECOND, MINUTE_MICROSECOND, SECOND_MICROSECOND, and MICROSECOND are allowed as of MySQL 4.1.1. MySQL allows any punctuation delimiter in the expr format. Those shown in the table are the suggested delimiters. If the date argument is a DATE value and your calculations involve only YEAR, MONTH, and DAY parts (that is, no time parts), the result is a DATE value. Otherwise, the result is a DATETIME value: mysql> SELECT '1997-12-31 23:59:59' + INTERVAL 1 SECOND; -> '1998-01-01 00:00:00' mysql> SELECT INTERVAL 1 DAY + '1997-12-31'; -> '1998-01-01' mysql> SELECT '1998-01-01' - INTERVAL 1 SECOND; -> '1997-12-31 23:59:59' mysql> SELECT DATE_ADD('1997-12-31 23:59:59', -> INTERVAL 1 SECOND); -> '1998-01-01 00:00:00' mysql> SELECT DATE_ADD('1997-12-31 23:59:59', -> INTERVAL 1 DAY); -> '1998-01-01 23:59:59' mysql> SELECT DATE_ADD('1997-12-31 23:59:59', -> INTERVAL '1:1' MINUTE_SECOND); -> '1998-01-01 00:01:00' mysql> SELECT DATE_SUB('1998-01-01 00:00:00', -> INTERVAL '1 1:1:1' DAY_SECOND); -> '1997-12-30 22:58:59' mysql> SELECT DATE_ADD('1998-01-01 00:00:00', -> INTERVAL '-1 10' DAY_HOUR); -> '1997-12-30 14:00:00' mysql> SELECT DATE_SUB('1998-01-02', INTERVAL 31 DAY); -> '1997-12-02' mysql> SELECT DATE_ADD('1992-12-31 23:59:59.000002', -> INTERVAL '1.999999' SECOND_MICROSECOND); -> '1993-01-01 00:00:01.000001' If you specify an interval value that is too short (does not include all the interval parts that would be expected from the type keyword), MySQL assumes you have left out the leftmost parts of the interval value. For example, if you specify a type of DAY_SECOND, the value of expr is expected to have days, hours, minutes, and seconds parts. If you specify a value like '1:10', MySQL assumes that the days and hours parts are missing and the value represents minutes and seconds. In other words, '1:10' DAY_SECOND is interpreted in such a way that it is equivalent to '1:10' MINUTE_SECOND. This is analogous to the way that MySQL interprets TIME values as representing elapsed time rather than as time of day. Note that if you add to or subtract from a date value something that contains a time part, the result is automatically converted to a datetime value: mysql> SELECT DATE_ADD('1999-01-01', INTERVAL 1 DAY); -> '1999-01-02' mysql> SELECT DATE_ADD('1999-01-01', INTERVAL 1 HOUR); -> '1999-01-01 01:00:00' If you use really malformed dates, the result is NULL. If you add MONTH, YEAR_MONTH, or YEAR and the resulting date has a day that is larger than the maximum day for the new month, the day is adjusted to the maximum days in the new month: mysql> SELECT DATE_ADD('1998-01-30', interval 1 month); -> '1998-02-28' Note from the preceding example that the keyword INTERVAL and the type specifier are not case-sensitive. DATE_FORMAT(date,format) Formats the date value according to the format string. The following specifiers may be used in the format string: Specifier Description %M Month name (January..December) %W Weekday name (Sunday..Saturday) %D Day of the month with English suffix (0th, 1st, 2nd, 3rd, etc.) %Y Year, numeric, 4 digits %y Year, numeric, 2 digits %X Year for the week where Sunday is the first day of the week, numeric, 4 digits; used with %V %x Year for the week, where Monday is the first day of the week, numeric, 4 digits; used with %v %a Abbreviated weekday name (Sun..Sat) %d Day of the month, numeric (00..31) %e Day of the month, numeric (0..31) %m Month, numeric (00..12) %c Month, numeric (0..12) %b Abbreviated month name (Jan..Dec) %j Day of year (001..366) %H Hour (00..23) %k Hour (0..23) %h Hour (01..12) %I Hour (01..12) %l Hour (1..12) %i Minutes, numeric (00..59) %r Time, 12-hour (hh:mm:ss followed by AM or PM) %T Time, 24-hour (hh:mm:ss) %S Seconds (00..59) %s Seconds (00..59) %f Microseconds (000000..999999) %p AM or PM %w Day of the week (0=Sunday..6=Saturday) %U Week (00..53), where Sunday is the first day of the week %u Week (00..53), where Monday is the first day of the week %V Week (01..53), where Sunday is the first day of the week; used with %X %v Week (01..53), where Monday is the first day of the week; used with %x %% A literal `%'. All other characters are just copied to the result without interpretation. The %f format specifier is available as of MySQL 4.1.1. As of MySQL Version 3.23, the `%' character is required before format specifier characters. In earlier versions of MySQL, `%' was optional. The reason the ranges for the month and day specifiers begin with zero is that MySQL allows incomplete dates such as '2004-00-00' to be stored as of MySQL 3.23. mysql> SELECT DATE_FORMAT('1997-10-04 22:23:00', '%W %M %Y'); -> 'Saturday October 1997' mysql> SELECT DATE_FORMAT('1997-10-04 22:23:00', '%H:%i:%s'); -> '22:23:00' mysql> SELECT DATE_FORMAT('1997-10-04 22:23:00', '%D %y %a %d %m %b %j'); -> '4th 97 Sat 04 10 Oct 277' mysql> SELECT DATE_FORMAT('1997-10-04 22:23:00', '%H %k %I %r %T %S %w'); -> '22 22 10 10:23:00 PM 22:23:00 00 6' mysql> SELECT DATE_FORMAT('1999-01-01', '%X %V'); -> '1998 52' DAY(date) DAY() is a synonym for DAYOFMONTH(). It is available as of MySQL 4.1.1. DAYNAME(date) Returns the name of the weekday for date: mysql> SELECT DAYNAME('1998-02-05'); -> 'Thursday' DAYOFMONTH(date) Returns the day of the month for date, in the range 1 to 31: mysql> SELECT DAYOFMONTH('1998-02-03'); -> 3 DAYOFWEEK(date) Returns the weekday index for date (1 = Sunday, 2 = Monday, ... 7 = Saturday). These index values correspond to the ODBC standard. mysql> SELECT DAYOFWEEK('1998-02-03'); -> 3 DAYOFYEAR(date) Returns the day of the year for date, in the range 1 to 366: mysql> SELECT DAYOFYEAR('1998-02-03'); -> 34 EXTRACT(type FROM date) The EXTRACT() function uses the same kinds of interval type specifiers as DATE_ADD() or DATE_SUB(), but extracts parts from the date rather than performing date arithmetic. mysql> SELECT EXTRACT(YEAR FROM "1999-07-02"); -> 1999 mysql> SELECT EXTRACT(YEAR_MONTH FROM "1999-07-02 01:02:03"); -> 199907 mysql> SELECT EXTRACT(DAY_MINUTE FROM "1999-07-02 01:02:03"); -> 20102 mysql> SELECT EXTRACT(MICROSECOND FROM "2003-01-02 10:30:00.00123"); -> 123 FROM_DAYS(N) Given a daynumber N, returns a DATE value: mysql> SELECT FROM_DAYS(729669); -> '1997-10-07' FROM_DAYS() is not intended for use with values that precede the advent of the Gregorian calendar (1582), because it doesn't take into account the days that were lost when the calendar was changed. FROM_UNIXTIME(unix_timestamp) FROM_UNIXTIME(unix_timestamp,format) Returns a representation of the unix_timestamp argument as a value in 'YYYY-MM-DD HH:MM:SS' or YYYYMMDDHHMMSS format, depending on whether the function is used in a string or numeric context: mysql> SELECT FROM_UNIXTIME(875996580); -> '1997-10-04 22:23:00' mysql> SELECT FROM_UNIXTIME(875996580) + 0; -> 19971004222300 If format is given, the result is formatted according to the format string. format may contain the same specifiers as those listed in the entry for the DATE_FORMAT() function: mysql> SELECT FROM_UNIXTIME(UNIX_TIMESTAMP(), -> '%Y %D %M %h:%i:%s %x'); -> '2003 6th August 06:22:58 2003' GET_FORMAT(DATE | TIME | TIMESTAMP, 'EUR' | 'USA' | 'JIS' | 'ISO' | 'INTERNAL') Returns a format string. This function is useful in combination with the DATE_FORMAT() and the STR_TO_DATE() functions, and when setting the server variables DATE_FORMAT, TIME_FORMAT, and DATETIME_FORMAT. The three possible values for the first argument and the five possible values for the second argument result in 15 possible format strings (for the specifiers used, see the table in the DATE_FORMAT() function description): Function call Result GET_FORMAT(DATE,'USA') '%m.%d.%Y' GET_FORMAT(DATE,'JIS') '%Y-%m-%d' GET_FORMAT(DATE,'ISO') '%Y-%m-%d' GET_FORMAT(DATE,'EUR') '%d.%m.%Y' GET_FORMAT(DATE,'INTERNAL') '%Y%m%d' GET_FORMAT(TIMESTAMP,'USA') '%Y-%m-%d-%H.%i.%s' GET_FORMAT(TIMESTAMP,'JIS') '%Y-%m-%d %H:%i:%s' GET_FORMAT(TIMESTAMP,'ISO') '%Y-%m-%d %H:%i:%s' GET_FORMAT(TIMESTAMP,'EUR') '%Y-%m-%d-%H.%i.%s' GET_FORMAT(TIMESTAMP,'INTERNAL') '%Y%m%d%H%i%s' GET_FORMAT(TIME,'USA') '%h:%i:%s %p' GET_FORMAT(TIME,'JIS') '%H:%i:%s' GET_FORMAT(TIME,'ISO') '%H:%i:%s' GET_FORMAT(TIME,'EUR') '%H.%i.%S' GET_FORMAT(TIME,'INTERNAL') '%H%i%s' ISO format is ISO 9075, not ISO 8601. mysql> SELECT DATE_FORMAT('2003-10-03', GET_FORMAT(DATE, 'EUR') -> '03.10.2003' mysql> SELECT STR_TO_DATE('10.31.2003', GET_FORMAT(DATE, 'USA')) -> 2003-10-31 mysql> SET DATE_FORMAT=GET_FORMAT(DATE, 'USA'); SELECT '2003-10-31'; -> 10-31-2003 GET_FORMAT() is available as of MySQL 4.1.1. See See section 5.5.6 SET Syntax. HOUR(time) Returns the hour for time. The range of the return value will be 0 to 23 for time-of-day values: mysql> SELECT HOUR('10:05:03'); -> 10 However, the range of TIME values actually is much larger, so HOUR can return values greater than 23: mysql> SELECT HOUR('272:59:59'); -> 272 LAST_DAY(date) Takes a date or datetime value and returns the corresponding value for the last day of the month. Returns NULL if the argument is invalid. mysql> SELECT LAST_DAY('2003-02-05'), LAST_DAY('2004-02-05'); -> '2003-02-28', '2004-02-29' mysql> SELECT LAST_DAY('2004-01-01 01:01:01'); -> '2004-01-31' mysql> SELECT LAST_DAY('2003-03-32'); -> NULL LAST_DAY() is available as of MySQL 4.1.1. LOCALTIME LOCALTIME() LOCALTIME and LOCALTIME() are synonyms for NOW(). LOCALTIMESTAMP LOCALTIMESTAMP() LOCALTIMESTAMP and LOCALTIMESTAMP() are synonyms for NOW(). MAKEDATE(year,dayofyear) Returns a date, given year and day-of-year values. dayofyear must be greater than 0 or the result will NULL. mysql> SELECT MAKEDATE(2001,31), MAKEDATE(2001,32); -> '2001-01-31', '2001-02-01' mysql> SELECT MAKEDATE(2001,365), MAKEDATE(2004,365); -> '2001-12-31', '2004-12-30' mysql> SELECT MAKEDATE(2001,0); -> NULL MAKEDATE() is available as of MySQL 4.1.1. MAKETIME(hour,minute,second) Returns a time value calculated from the hour, minute, and second arguments. mysql> SELECT MAKETIME(12,15,30); -> '12:15:30' MAKETIME() is available as of MySQL 4.1.1. MICROSECOND(expr) Returns the microseconds from the time or datetime expression expr as a number in the range from 0 to 999999. mysql> SELECT MICROSECOND('12:00:00.123456'); -> 123456 mysql> SELECT MICROSECOND('1997-12-31 23:59:59.000010'); -> 10 MICROSECOND() is available as of MySQL 4.1.1. MINUTE(time) Returns the minute for time, in the range 0 to 59: mysql> SELECT MINUTE('98-02-03 10:05:03'); -> 5 MONTH(date) Returns the month for date, in the range 1 to 12: mysql> SELECT MONTH('1998-02-03'); -> 2 MONTHNAME(date) Returns the name of the month for date: mysql> SELECT MONTHNAME('1998-02-05'); -> 'February' NOW() Returns the current date and time as a value in 'YYYY-MM-DD HH:MM:SS' or YYYYMMDDHHMMSS format, depending on whether the function is used in a string or numeric context: mysql> SELECT NOW(); -> '1997-12-15 23:50:26' mysql> SELECT NOW() + 0; -> 19971215235026 PERIOD_ADD(P,N) Adds N months to period P (in the format YYMM or YYYYMM). Returns a value in the format YYYYMM. Note that the period argument P is not a date value: mysql> SELECT PERIOD_ADD(9801,2); -> 199803 PERIOD_DIFF(P1,P2) Returns the number of months between periods P1 and P2. P1 and P2 should be in the format YYMM or YYYYMM. Note that the period arguments P1 and P2 are not date values: mysql> SELECT PERIOD_DIFF(9802,199703); -> 11 QUARTER(date) Returns the quarter of the year for date, in the range 1 to 4: mysql> SELECT QUARTER('98-04-01'); -> 2 SECOND(time) Returns the second for time, in the range 0 to 59: mysql> SELECT SECOND('10:05:03'); -> 3 SEC_TO_TIME(seconds) Returns the seconds argument, converted to hours, minutes, and seconds, as a value in 'HH:MM:SS' or HHMMSS format, depending on whether the function is used in a string or numeric context: mysql> SELECT SEC_TO_TIME(2378); -> '00:39:38' mysql> SELECT SEC_TO_TIME(2378) + 0; -> 3938 STR_TO_DATE(str,format) This is the reverse function of the DATE_FORMAT() function. It takes a string str, and a format string format, and returns a DATETIME value. The date, time, or datetime values contained in str should be given in the format indicated by format. For the specifiers that can be used in format, see the table in the DATE_FORMAT() function description. All other characters are just taken verbatim, thus not being interpreted. If str contains an illegal date, time, or datetime value, STR_TO_DATE() returns NULL. mysql> SELECT STR_TO_DATE('03.10.2003 09.20', '%d.%m.%Y %H.%i') -> 2003-10-03 09:20:00 mysql> SELECT STR_TO_DATE('10rap', '%crap') -> 0000-10-00 00:00:00 mysql> SELECT STR_TO_DATE('2003-15-10 00:00:00', '%Y-%m-%d %H:%i:%s') -> NULL STR_TO_DATE() is available as of MySQL 4.1.1. SUBDATE(date,INTERVAL expr type) SUBDATE(expr,days) When invoked with the INTERVAL form of the second argument, SUBDATE() is a synonym for DATE_SUB(). mysql> SELECT DATE_SUB('1998-01-02', INTERVAL 31 DAY); -> '1997-12-02' mysql> SELECT SUBDATE('1998-01-02', INTERVAL 31 DAY); -> '1997-12-02' As of MySQL 4.1.1, the second syntax is allowed, where expr is a date or datetime expression and days is the number of days to be subtracted from expr. mysql> SELECT SUBDATE('1998-01-02 12:00:00', 31); -> '1997-12-02 12:00:00' SUBTIME(expr,expr2) SUBTIME() subtracts expr2 from expr and returns the result. expr is a date or datetime expression, and expr2 is a time expression. mysql> SELECT SUBTIME("1997-12-31 23:59:59.999999", "1 1:1:1.000002"); -> '1997-12-30 22:58:58.999997' mysql> SELECT SUBTIME("01:00:00.999999", "02:00:00.999998"); -> '-00:59:59.999999' SUBTIME() was added in MySQL 4.1.1. SYSDATE() SYSDATE() is a synonym for NOW(). TIME(expr) Extracts the time part of the time or datetime expression expr. mysql> SELECT TIME('2003-12-31 01:02:03'); -> '01:02:03' mysql> SELECT TIME('2003-12-31 01:02:03.000123'); -> '01:02:03.000123' TIME() is available as of MySQL 4.1.1. TIMEDIFF(expr,expr2) TIMEDIFF() returns the time between the start time expr and the end time expr2. expr and expr2 are time or date-and-time expressions, but both must be of the same type. mysql> SELECT TIMEDIFF('2000:01:01 00:00:00', '2000:01:01 00:00:00.000001'); -> '-00:00:00.000001' mysql> SELECT TIMEDIFF('1997-12-31 23:59:59.000001','1997-12-30 01:01:01.000002'); -> '46:58:57.999999' TIMEDIFF() was added in MySQL 4.1.1. TIMESTAMP(expr) TIMESTAMP(expr,expr2) With one argument, returns the date or datetime expression expr as a datetime value. With two arguments, adds the time expression expr2 to the date or datetime expression expr and returns a datetime value. mysql> SELECT TIMESTAMP('2003-12-31'); -> '2003-12-31 00:00:00' mysql> SELECT TIMESTAMP('2003-12-31 12:00:00','12:00:00'); -> '2004-01-01 00:00:00' TIMESTAMP() is available as of MySQL 4.1.1. TIME_FORMAT(time,format) This is used like the DATE_FORMAT() function, but the format string may contain only those format specifiers that handle hours, minutes, and seconds. Other specifiers produce a NULL value or 0. If the time value contains an hour part that is greater than 23, the %H and %k hour format specifiers produce a value larger than the usual range of 0..23. The other hour format specifiers produce the hour value modulo 12: mysql> SELECT TIME_FORMAT('100:00:00', '%H %k %h %I %l'); -> '100 100 04 04 4' TIME_TO_SEC(time) Returns the time argument, converted to seconds: mysql> SELECT TIME_TO_SEC('22:23:00'); -> 80580 mysql> SELECT TIME_TO_SEC('00:39:38'); -> 2378 TO_DAYS(date) Given a date date, returns a daynumber (the number of days since year 0): mysql> SELECT TO_DAYS(950501); -> 728779 mysql> SELECT TO_DAYS('1997-10-07'); -> 729669 TO_DAYS() is not intended for use with values that precede the advent of the Gregorian calendar (1582), because it doesn't take into account the days that were lost when the calendar was changed. UNIX_TIMESTAMP() UNIX_TIMESTAMP(date) If called with no argument, returns a Unix timestamp (seconds since '1970-01-01 00:00:00' GMT) as an unsigned integer. If UNIX_TIMESTAMP() is called with a date argument, it returns the value of the argument as seconds since '1970-01-01 00:00:00' GMT. date may be a DATE string, a DATETIME string, a TIMESTAMP, or a number in the format YYMMDD or YYYYMMDD in local time: mysql> SELECT UNIX_TIMESTAMP(); -> 882226357 mysql> SELECT UNIX_TIMESTAMP('1997-10-04 22:23:00'); -> 875996580 When UNIX_TIMESTAMP is used on a TIMESTAMP column, the function returns the internal timestamp value directly, with no implicit ``string-to-Unix-timestamp'' conversion. If you pass an out-of-range date to UNIX_TIMESTAMP() it returns 0, but please note that only basic checking is performed (year 1970-2037, month 01-12, day 01-31). If you want to subtract UNIX_TIMESTAMP() columns, you may want to cast the result to signed integers. See section 6.3.5 Cast Functions. UTC_DATE UTC_DATE() Returns the current UTC date as a value in 'YYYY-MM-DD' or YYYYMMDD format, depending on whether the function is used in a string or numeric context: mysql> SELECT UTC_DATE(), UTC_DATE() + 0; -> '2003-08-14', 20030814 UTC_DATE() is available as of MySQL 4.1.1. UTC_TIME UTC_TIME() Returns the current UTC time as a value in 'HH:MM:SS' or HHMMSS format, depending on whether the function is used in a string or numeric context: mysql> SELECT UTC_TIME(), UTC_TIME() + 0; -> '18:07:53', 180753 UTC_TIME() is available as of MySQL 4.1.1. UTC_TIMESTAMP UTC_TIMESTAMP() Returns the current UTC date and time as a value in 'YYYY-MM-DD HH:MM:SS' or YYYYMMDDHHMMSS format, depending on whether the function is used in a string or numeric context: mysql> SELECT UTC_TIMESTAMP(), UTC_TIMESTAMP() + 0; -> '2003-08-14 18:08:04', 20030814180804 UTC_TIMESTAMP() is available as of MySQL 4.1.1. WEEK(date [,mode]) The function returns the week number for date. The two-argument form of WEEK() allows you to specify whether the week starts on Sunday or Monday and whether the return value should be in the range 0-53 or 1-52. When mode argument is omitted the value of a default_week_format server variable (or 0 in MySQL 4.0 or earlier) is assumed. See section 5.5.6 SET Syntax. The following table demonstrates how the mode argument works: Value Meaning 0 Week starts on Sunday; return value range is 0 to 53; week 1 is the first week that starts in this year 1 Week starts on Monday; return value range is 0 to 53; week 1 is the first week that has more than 3 days in this year 2 Week starts on Sunday; return value range is 1 to 53; week 1 is the first week that starts in this year 3 Week starts on Monday; return value range is 1 to 53; week 1 is the first week that has more than 3 days in this year 4 Week starts on Sunday; return value range is 0 to 53; week 1 is the first week that has more than 3 days in this year 5 Week starts on Monday; return value range is 0 to 53; week 1 is the first week that starts in this year 6 Week starts on Sunday; return value range is 1 to 53; week 1 is the first week that has more than 3 days in this year 7 Week starts on Monday; return value range is 1 to 53; week 1 is the first week that starts in this year The mode value of 3 can be used as of MySQL 4.0.5. The mode value of 4 and above can be used as of MySQL 4.0.17. mysql> SELECT WEEK('1998-02-20'); -> 7 mysql> SELECT WEEK('1998-02-20',0); -> 7 mysql> SELECT WEEK('1998-02-20',1); -> 8 mysql> SELECT WEEK('1998-12-31',1); -> 53 Note: In Version 4.0, WEEK(date,0) was changed to match the calendar in the USA. Before that, WEEK() was calculated incorrectly for dates in USA. (In effect, WEEK(date) and WEEK(date,0) was incorrect for all cases.) Note that if a date falls in the last week of the previous year, MySQL will return 0 if you don't use 2, 3, 6, or 7 as the optional mode argument: mysql> SELECT YEAR('2000-01-01'), WEEK('2000-01-01',0); -> 2000, 0 One might argue that MySQL should return 52 for the WEEK() function, because the given date actually occurs in the 52nd week of 1999. We decided to return 0 instead as we want the function to return ``the week number in the given year.'' This makes the usage of the WEEK() function reliable when combined with other functions that extract a date part from a date. If you would prefer the result to be evaluated with respect to the year that contains the first day of the week for the given date, you should use 2, 3, 6, or 7 as the optional mode argument. mysql> SELECT WEEK('2000-01-01',2); -> 52 Alternatively, use the YEARWEEK() function: mysql> SELECT YEARWEEK('2000-01-01'); -> 199952 mysql> SELECT MID(YEARWEEK('2000-01-01'),5,2); -> '52' WEEKDAY(date) Returns the weekday index for date (0 = Monday, 1 = Tuesday, ... 6 = Sunday): mysql> SELECT WEEKDAY('1998-02-03 22:23:00'); -> 1 mysql> SELECT WEEKDAY('1997-11-05'); -> 2 WEEKOFYEAR(date) Returns the calendar week of the date as a number in the range from 1 to 53. mysql> SELECT WEEKOFYEAR('1998-02-20'); -> 8 WEEKOFYEAR() is available as of MySQL 4.1.1. YEAR(date) Returns the year for date, in the range 1000 to 9999: mysql> SELECT YEAR('98-02-03'); -> 1998 YEARWEEK(date) YEARWEEK(date,start) Returns year and week for a date. The start argument works exactly like the start argument to WEEK(). Note that the year in the result may be different from the year in the date argument for the first and the last week of the year: mysql> SELECT YEARWEEK('1987-01-01'); -> 198653 Note that the week number is different from what the WEEK() function would return (0) for optional arguments 0 or 1, as WEEK() then returns the week in the context of the given year. Mysql 3 02/15/2024 Php Date Add Day add day $date = date('m/d/Y',strtotime($date.' + 2 days')); [compare difference] $date = date('Y-m-d',strtotime(date('Y-m-d').' + 10 days')); $priority="";if(strtotime($date)>strtotime($daterequested)) $priority="!"; [Subraction] $date = date('Y-m-d',strtotime(date('Y-m-d'))-(10*24*60*60)); "; echo (31*24); ?> Php 3 09/09/2023 Mysql Query Alter Tables add field delete alter table rename update table auto increment engine collation [Collation] To change the default character set and collation of a table including those of existing columns (note the convert to clause): alter table convert to character set utf8mb4 collate utf8mb4_unicode_ci; [Reset auto increment to the lowest possible value] ALTER TABLE tablename AUTO_INCREMENT = 1 [rename Engine] ALTER TABLE tablename ENGINE = INNODB; [Single Add] ALTER TABLE `equipment` ADD `hp` SMALLINT NOT NULL AFTER `price`; [Add Multiple Fields] ' the field before this was interstate. ALTER TABLE warehouse ADD fire_protection tinyint(4) NOT NULL default '0' AFTER interstate, ADD fire_water tinyint(4) NOT NULL default '0' AFTER fire_protection, ADD fire_inertgas tinyint(4) NOT NULL default '0' AFTER fire_water, ADD fire_CO2 tinyint(4) NOT NULL default '0' AFTER fire_inertgas; [rename fields] Example: To rename a column named prod_name to product_full_name while keeping its data type as VARCHAR(100) and NOT NULL constraint: ALTER TABLE lastbackup CHANGE COLUMN table_folder source VARCHAR(75) NOT NULL; ALTER TABLE lastbackup CHANGE COLUMN database_name source_from VARCHAR(30) NOT NULL; ALTER TABLE `eqMaintenance` CHANGE `filter2id` `filter_options` varchar(60) RENAME TABLE current_db.tbl_name TO other_db.tbl_name; ALTER TABLE orders ADD `responsecode` tinyint(4) NOT NULL default '0', ADD `responsesubcode` tinyint(4) NOT NULL default '0', ADD `reasoncode` tinyint(4) NOT NULL default '0', ADD `reasontext` varchar(255) NOT NULL default '', ADD `authcode` varchar(20) NOT NULL default '', ADD `avscode` varchar(5) NOT NULL default '', ADD `transid` tinyint(4) NOT NULL default '0'; [EMPTY TABLE] TRUNCATE TABLE table Mysql 1770 09/09/2023 Vb.net Database Inserting Records Into Database And Data Grid add insert update sql Web Tools Create & Update Records Imports System.IO Imports System.Text Imports System.Data.OleDb Private Sub btAdd_Click(sender As Object, e As EventArgs) Handles btAdd.Click Select Case table_selected Case "copytext" Try sqL = "INSERT INTO [copy_it]([category],[copy_text],[notes]) VALUES ('" + txTitle.Text + "', '" + TXfield3.Text + "', '" + txSectionCode.Text + "')" ConnDB() cmd = New OleDbCommand(sqL, conn) dr = cmd.ExecuteReader(CommandBehavior.CloseConnection) Catch ex As Exception MsgBox(ex.Message) End Try DataGridView1.Rows.Add(0, txTitle.Text, TXfield3.Text, txSectionCode.Text) Case "directorycopy" Try sqL = "INSERT INTO [directory_copy]([prefix],[directory]) VALUES ('" + txTitle.Text + "', '" + txSectionCode.Text + "')" ConnDB() cmd = New OleDbCommand(sqL, conn) dr = cmd.ExecuteReader(CommandBehavior.CloseConnection) Catch ex As Exception MsgBox(ex.Message) End Try DataGridView1.Rows.Add(0, txTitle.Text, txSectionCode.Text) Case "multireplace" Try sqL = "INSERT INTO [mulitreplace]([title],[section_code]) VALUES ('" + txTitle.Text + "', '" + txSectionCode.Text + "')" ConnDB() cmd = New OleDbCommand(sqL, conn) dr = cmd.ExecuteReader(CommandBehavior.CloseConnection) Catch ex As Exception MsgBox(ex.Message) End Try DataGridView1.Rows.Add(0, txTitle.Text, txSectionCode.Text) Case "filepaths" Try sqL = "INSERT INTO [file_paths]([file_path],[computer]) VALUES ('" + txSectionCode.Text + "','" + My.Computer.Name + "')" ConnDB() cmd = New OleDbCommand(sqL, conn) dr = cmd.ExecuteReader(CommandBehavior.CloseConnection) Catch ex As Exception MsgBox(ex.Message) End Try DataGridView1.Rows.Add(0, txSectionCode.Text) Case "emailmoved" Try sqL = "INSERT INTO [move_email]([move_to],[archive],[subject_filter]) VALUES ('" + txTitle.Text + "', '" + TXfield3.Text + "', '" + txSectionCode.Text + "')" ConnDB() cmd = New OleDbCommand(sqL, conn) dr = cmd.ExecuteReader(CommandBehavior.CloseConnection) Catch ex As Exception MsgBox(ex.Message) End Try DataGridView1.Rows.Add(0, txTitle.Text, txSectionCode.Text, TXfield3.Text) Case "emailfiltered" Try sqL = "INSERT INTO [Filtered_email]([importance],[email]) VALUES ('" + txTitle.Text + "', '" + txSectionCode.Text + "')" ConnDB() cmd = New OleDbCommand(sqL, conn) dr = cmd.ExecuteReader(CommandBehavior.CloseConnection) Catch ex As Exception MsgBox(ex.Message) End Try DataGridView1.Rows.Add(0, txSectionCode.Text, txTitle.Text) End Select Private Sub btUpdate_Click(sender As Object, e As EventArgs) Handles btUpdate.Click Dim update As DataGridViewRow = DataGridView1.SelectedRows(0) If txReplaceid.Text = "0" Then MsgBox("You cannot edit new records without refresh.") : Exit Sub Select Case table_selected Case "copytext" update.Cells(1).Value = txTitle.Text update.Cells(2).Value = TXfield3.Text update.Cells(3).Value = txSectionCode.Text Try sqL = "UPDATE [copy_it] SET [category]='" + txTitle.Text + "',[copy_text]='" + TXfield3.Text + "',[notes]='" + txSectionCode.Text + "' WHERE [copyID]=" + txReplaceid.Text ConnDB() cmd = New OleDbCommand(sqL, conn) dr = cmd.ExecuteReader(CommandBehavior.CloseConnection) Catch ex As Exception MsgBox(ex.Message) End Try Case "multireplace" update.Cells(1).Value = txTitle.Text update.Cells(2).Value = txSectionCode.Text Try sqL = "UPDATE [mulitreplace] SET [title]='" + txTitle.Text + "',[section_code]='" + txSectionCode.Text + "' WHERE [replaceid]=" + txReplaceid.Text ConnDB() cmd = New OleDbCommand(sqL, conn) dr = cmd.ExecuteReader(CommandBehavior.CloseConnection) Catch ex As Exception MsgBox(ex.Message) End Try Case "directorycopy" update.Cells(1).Value = txTitle.Text update.Cells(2).Value = txSectionCode.Text Try sqL = "UPDATE [directory_copy] SET [prefix]='" + txTitle.Text + "',[directory]='" + txSectionCode.Text + "' WHERE [directoryID]=" + txReplaceid.Text ConnDB() cmd = New OleDbCommand(sqL, conn) dr = cmd.ExecuteReader(CommandBehavior.CloseConnection) Catch ex As Exception MsgBox(ex.Message) End Try Case "filepaths" update.Cells(1).Value = txSectionCode.Text Try sqL = "UPDATE [file_paths] SET [file_path]='" + txSectionCode.Text + "' WHERE [pathID]=" + txReplaceid.Text ConnDB() cmd = New OleDbCommand(sqL, conn) dr = cmd.ExecuteReader(CommandBehavior.CloseConnection) Catch ex As Exception MsgBox(ex.Message) End Try Case "emailfiltered" update.Cells(2).Value = txTitle.Text update.Cells(1).Value = txSectionCode.Text Try sqL = "UPDATE [Filtered_email] SET [importance]='" + txTitle.Text + "',[email]='" + txSectionCode.Text + "' WHERE [emailID]=" + txReplaceid.Text ConnDB() cmd = New OleDbCommand(sqL, conn) dr = cmd.ExecuteReader(CommandBehavior.CloseConnection) Catch ex As Exception MsgBox(ex.Message) End Try Case "emailmoved" update.Cells(1).Value = txTitle.Text update.Cells(3).Value = TXfield3.Text update.Cells(2).Value = txSectionCode.Text Try sqL = "UPDATE [move_email] SET [move_to]='" + txTitle.Text + "',[archive]='" + TXfield3.Text + "',[subject_filter]='" + txSectionCode.Text + "' WHERE [moveID]=" + txReplaceid.Text ConnDB() cmd = New OleDbCommand(sqL, conn) dr = cmd.ExecuteReader(CommandBehavior.CloseConnection) Catch ex As Exception MsgBox(ex.Message) End Try End Select Vb.net 2 07/23/2025 Php Database Concat - Combine Fields Or Text add join concat APENDING data before and after a field. UPDATE `iwspackage` SET iwspackageimg=CONCAT('package',packageid,'.jpg'); UPDATE ads SET img1=CONCAT(adid,'a.jpg'), img2=CONCAT(adid,'b.jpg') , img3=CONCAT(adid,'c.jpg') , img4=CONCAT(adid,'d.jpg'), pdf=CONCAT(adid,'.pdf') WHERE adid>7; Php 2 09/09/2023 Vb.net Database ConnectionMod.vb add update sql access radio Web Tools Database Imports System.Data.OleDb Module ModConnection Public cur As Form Public dt As DataTable Public conn As OleDbConnection Public cmd As OleDbCommand Public dr As OleDbDataReader Public da As OleDbDataAdapter Public ds As DataSet Public sqL As String Public Sub ConnDB() Dim R As String = My.Computer.Name ' R = GetIni("Database", R, INI) If R = "" Then WriteIni("Database", My.Computer.Name, "Dropboxvb10fileExplorerfileExplorerbinReleasePHPCreator.mdb", INI) Shell("write.exe " + INI, vbNormalFocus) : Exit Sub End If 'C:UserssteveDropboxvb10fileExplorerfileExplorerbinReleasePHPCreator.mdb" Try Dim connectionString As String = "Provider=Microsoft.jet.oledb.4.0;Data Source=" + R 'Dim connectionString As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + R conn = New OleDbConnection(connectionString) 'conn = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & Application.StartupPath() & "beer.mdb;") 'conn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:Databasephone.mdb;Jet OLEDB:Database Password = escobar;") conn.Open() Catch ex As Exception MsgBox("Failed in Connecting to database") End Try End Sub Public Function getDataTable(ByVal SQL As String) As DataTable ConnDB() Dim cmd As New OleDbCommand(SQL, conn) Dim dt As New DataTable Dim da As New OleDbDataAdapter(cmd) da.Fill(dt) Return dt End Function End Module -------------- radio button test ------------------------- Private Sub rbFilePaths_CheckedChanged(sender As Object, e As EventArgs) Handles rbFilePaths.CheckedChanged If rbFilePaths.Checked = True Then table_selected = "filepaths" : btRefresh_Click(sender, e) End Sub Private Sub rbMultireplace_CheckedChanged(sender As Object, e As EventArgs) Handles rbMultireplace.CheckedChanged If rbMultireplace.Checked = True Then table_selected = "multireplace" : btRefresh_Click(sender, e) End Sub Private Sub txText_TextChanged(sender As Object, e As EventArgs) Handles txText.TextChanged End Sub Private Sub rbDirectoryCopy_CheckedChanged(sender As Object, e As EventArgs) Handles rbDirectoryCopy.CheckedChanged If rbDirectoryCopy.Checked = True Then table_selected = "directorycopy" : btRefresh_Click(sender, e) End Sub Private Sub RBcopyText_CheckedChanged(sender As Object, e As EventArgs) Handles RBcopyText.CheckedChanged If RBcopyText.Checked = True Then table_selected = "copytext" : btRefresh_Click(sender, e) End Sub Private Sub RBemailFiltered_CheckedChanged(sender As Object, e As EventArgs) Handles RBemailFiltered.CheckedChanged If RBemailFiltered.Checked = True Then table_selected = "emailfiltered" : btRefresh_Click(sender, e) End Sub Private Sub RBemailMove_CheckedChanged(sender As Object, e As EventArgs) Handles RBemailMove.CheckedChanged If RBemailMove.Checked = True Then table_selected = "emailmoved" : btRefresh_Click(sender, e) End Sub ====== selected table ============= Select Case table_selected Case "copytext" Case "directorycopy" Case "multireplace" Case "filepaths" Case "emailmoved" Case "emailfiltered" End Select Vb.net 5 07/23/2025 WP Plugin Customizing Putting Your Code Into Wordpress Admin admin embed iframe Developer Wordpress Got it — you want to embed an iFrame inside the WordPress admin area (not just in posts or pages). This is a bit different from front-end embedding because it involves customizing the WordPress dashboard or admin pages. Here’s how you can do it safely and cleanly: 1. Add an iFrame to a Custom Admin Page You can create a new admin menu item and load your iFrame inside it. Php Copy code // Add this to your theme's functions.php or a custom plugin function my_custom_admin_page() { add_menu_page( 'My iFrame Page', // Page title 'iFrame Page', // Menu title 'manage_options', // Capability 'my-iframe-page', // Menu slug 'my_iframe_page_html', // Callback function 'dashicons-admin-site', // Icon 20 // Position ); } add_action('admin_menu', 'my_custom_admin_page'); function my_iframe_page_html() { ?> {div class="wrap"> {h1>Embedded iFrame{/h1> {iframe src="https://example.com" width="100%" height="600" style="border:0;">{/iframe> {/div> {?php } 2. Embed iFrame in an Existing Admin Page via Hook If you want to insert it into an existing settings page, you can hook into the page’s output: Php Copy code function my_iframe_in_settings_page() { echo '{iframe src="https://example.com" width="100%" height="500" style="border:0;">{/iframe>'; } add_action('admin_notices', 'my_iframe_in_settings_page'); (Note: This will show at the top of all admin pages — you can conditionally check $_GET['page'] to target specific ones.) 3. Use a Dashboard Widget with iFrame This is great if you want the iFrame right on the WordPress Dashboard. Php Copy code function my_iframe_dashboard_widget() { wp_add_dashboard_widget( 'my_iframe_widget', 'My iFrame Widget', function() { echo '{iframe src="https://example.com" width="100%" height="400" style="border:0;">{/iframe>'; } ); } add_action('wp_dashboard_setup', 'my_iframe_dashboard_widget'); ???? Tips for Safety & Compatibility Only embed trusted URLs to avoid security risks. Some sites block embedding via X-Frame-Options. If your iFrame doesn’t load, that’s likely the reason. For better styling, you can enqueue custom CSS for admin pages using admin_enqueue_scripts. If you want, I can make a version where the iFrame is responsive and styled to match the WordPress admin UI so it feels native. Would you like me to prepare that? Undo ?php /* Plugin Name: Custom Admin PHP Script Description: Adds a custom admin page that runs a PHP script. Version: 1.0 Author: Your Name */ // Hook into admin menu add_action('admin_menu', 'cap_add_admin_page'); function cap_add_admin_page() { add_menu_page( 'Custom PHP Script', // Page title 'Custom Script', // Menu title 'manage_options', // Capability 'custom-php-script', // Menu slug 'cap_render_admin_page', // Callback function 'dashicons-editor-code', // Icon 100 // Position ); } // Render the admin page function cap_render_admin_page() { if (!current_user_can('manage_options')) { wp_die('Unauthorized user'); } echo '{div class="wrap">{h1>Custom PHP Script Output{/h1>'; // Your PHP script logic here try { $result = date('Y-m-d H:i:s'); // Example: current date/time echo "{p>Server time is: {strong>{$result}{/strong>{/p>"; } catch (Exception $e) { echo '{p style="color:red;">Error: ' . esc_html($e->getMessage()) . '{/p>'; } echo '{/div>'; } WP Plugin 0 01/19/2026 Windows <=8 Server Services That Can Be Killed administration speed up Turning off unnecessary services in Windows XP can greatly reduce your exploit risk, while improving system performance. It's a good time to inject that often there are all sorts of "download optimizers" and other cute programs that vendors like to push on users. Most of the time, installing such things slows your computer down at best. It could subject you to potential security risks. The first rule is "If you don't know you need it, you probably don't." Unnecessary services don't just subject you to security risk. They also slow down the operation of your computer. So, don't get lazy here and think you can just deal with the infections later. Go ahead and turn that junk off and recapture your system from these resource hogs. You get to services by going to Control Panel, Administrative Tools, then Services. You should see a long list of services, some running and some dormant. Use this checklist to help determine which services you can live without. If you don't know how to find Windows Services in Windows XP, click on Start, Control Panel, Administrative Tools, and Services. Below is a simple step by step to finding and changing your services on Windows XP. Keep in mind that your view settings may make your's appear slightly different, but will be the same basic path. Windows XP Pro (and Home); Stuff to turn off: Each service is listed as it is in Microsoft's WIndows XP Professional. These should be similar in Microsoft's XP Home as well. Under each is the definition given in the Services Manager. Alerter Notifies selected users and computers of administrative alerts. If the service is stopped, programs that use administrative alerts will not receive them. If this service is disabled, any services that explicitly depend on it will fail to start. Comment: I don't want my personal computer telling me anything, ever. Shut up and work! There's few things I find more annoying than a computer constantly wanting to interact with me while I'm using it to do work or entertain myself. A computer is a tool, not a friend or work companion. No Hal, I don't want to talk to you. Perhaps there's a software vendor that can give you a compelling reason why you need this service, but for most home and SOHO PC use it's just an unnecessary service taking up resources and providing risk. Unless you are running a product that requires this service, disable it. Updated comment: Someone emailed me to say that if you're on a network where you are required to update your password periodically, failing to do so will generate a notice [if] you have this service enabled. If not, then obviously, your annoying local network won't warn you that you need to change your password and thus you'll get locked out. I've not tested this. But, if you have such a service on your network, you should refer to other admonitions in this article and leave managing your desktop to your IT staff(er). If you're a home network or don't know, read the paragraph above and use personal judgment. Application Layer Gateway Service Provides support for 3rd party protocol plug-ins for Internet Connection Sharing and the Internet Connection Firewall Comment: Do you want to share your internet connection? That's an article waiting to be written. Let me be clear. Since you can buy a router for $50 or less, and Windows does an awful job routing, using a computer to gateway your other computers to the internet is just stupid. "What about firewalling and admission control?" Well, that's not going to be done through the built-in internet sharing tools. So, we''re not talking about that. If you use a personal computer to gateway your other computers to the internet (and calling it a server doesn't change the reality), you are wasting resources. Buy a $50 router, or a $1000 router for that matter. But, buy a discrete device that is designed to do the job. Use hardware based firewalling (OK, it's all based on software - but I mean a boxed solution, not software installed on a PC that's prone to lose autonomy). And, what about all those cute third-party firewalling tools that plug in to this thing? Man, give me a break. If it runs on top of your Windows installation, it's not a real firewall. Unless this is required by a product you think is necessary, disable it. Automatic Updates Enables the download and installation of critical Windows updates. If the service is disabled, the operating system can be manually updated. Comment: There's only two options that may make sense with this service. You should either set it to disable or manual. I'd disable it. Automatic Updates is designed as a tool to aid Microsoft in controlling their product. Props to Microsoft for trying to protect their product from piracy. But, some updates have been known to cause problems. Use it when you need it, and disable it when you don't, unless you're too lazy to do updates on your own. Don't you wonder why all the computers in big, well managed networks don't run Automatic Updates? It's mostly because managers of big networks create their own update policies. If you more completely understand the thinking that goes into deciding whether or not to distribute an update, you could better administer your own PC. Either turn it on and assume the risk, or turn it off and regularly visit Mircosoft's update and news page (discussed more below). Background Intelligent Transfer Service Uses idle network bandwidth to transfer data. Comment: This is one of those tools they require you turn on to enable Automatic Updates. Think about it. It connects your PC to the internet or network and works behind your back to do stuff you didn't explicitly tell it to do. It sounds like a great tool to help hackers collect data from your PC and slowly seep it back to their lair. Unless it's immediately required, disable it. It you use it and then go for some time with no need to use it, disable it. If you can't remember to keep your PC updated with the latest security fixes, you'll need it. ClipBook Enables ClipBook Viewer to store information and share it with remote computers. If the service is stopped, ClipBook Viewer will not be able to share information with remote computers. If this service is disabled, any services that explicitly depend on it will fail to start. Comment: So, you want to copy stuff to your clipbook and allow remote computers to access it? I don't. There may be a software vendor that requires this service to run. I've yet to find it useful. I suggest you disable it. Computer Browser Maintains an updated list of computers on the network and supplies this list to computers designated as browsers. If this service is stopped, this list will not be updated or maintained. If this service is disabled, any services that explicitly depend on it will fail to start. Comment: If you are on a network with other computers, and need to see them, this may be a useful tool. Otherwise, disable it. Cryptographic Services Provides three management services: Catalog Database Service, which confirms the signatures of Windows files; Protected Root Service, which adds and removes Trusted Root Certification Authority certificates from this computer; and Key Service, which helps enroll this computer for certificates. If this service is stopped, these management services will not function properly. If this service is disabled, any services that explicitly depend on it will fail to start. Comment: It is very necessary if you are passing certificates for networking. Unless you are in a large corporate network where connections are managed through authentication, this is unnecessary; disable it. Distributed Transaction Coordinator Coordinates transactions that span multiple resource managers, such as databases, message queues, and file systems. If this service is stopped, these transactions will not occur. If this service is disabled, any services that explicitly depend on it will fail to start. Comment: Extremely few personal computers will require this service. If you use it, you may want to review the reasons it is being used. Unless you are accessing network filesystems and databases, disable it. DNS Client Resolves and caches Domain Name System (DNS) names for this computer. If this service is stopped, this computer will not be able to resolve DNS names and locate Active Directory domain controllers. If this service is disabled, any services that explicitly depend on it will fail to start. Comment: It's typically good to leave this on. Error Reporting Service Allows error reporting for services and applications running in non-standard environments. Comment: Erorr reporting is very useful, if you know what to do with the errors or you are running software that adjusts based on error reporting. This is that annoying "feature" in Windows that constantly pops up wanting to ship information about your software failures to Redmond. People promise me it helps find problems and solutions. I've mostly seen problem reports that you could as easily search out yourself. If you're advanced enough to use this, you'll likely use a search engine just as well. Chances are, the best thing for you to do is disable it. Help and Support Enables Help and Support Center to run on this computer. If this service is stopped, Help and Support Center will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Comment: I don't find this service useful, other than sucking up resources. If you know how to use Google, I'd disable it. Human Interface Device Access Enables generic input access to Human Interface Devices (HID), which activates and maintains the use of predefined hot buttons on keyboards, remote controls, and other multimedia devices. If this service is stopped, hot buttons controlled by this service will no longer function. If this service is disabled, any services that explicitly depend on it will fail to start. Comment: Whether or not you should disable this service, depends on other services you need. If you don't know, turn it off and see if it breaks anything. It says that it deals with hotkeys, however all the system hotkeys that most of us enjoy aren't controlled by this service, they are built into the core OS. Control C, for example, to copy and Control V to past, do not stop working when you turn this service off. It seems this has more to do with specific hotkeys that a software vendor may want to insert into their installed program or internet product. Until you see a reason for it, I'd turn this one off. Personally, I consider relying on such services to be lazy programming. But, there may be good reason for using it if it's more efficient. Indexing Service Indexes contents and properties of files on local and remote computers; provides rapid access to files through flexible querying language. Comment: To date, nobody has shown me real system performance improvements with this technology. Keep in mind, I'm limited in this conversation to Windows. Indexing is very useful. Indexing databases is very useful. Indexing your computer isn't very useful at all. Typically, if you are on a network, you know where on a network to find your chosen data. If you are not on a network, there's no real performance enhancement to this service that justifies the complexity and resource use. Chances are good you should disable it. IMAPI CD-Burning COM Service Manages CD recording using Image Mastering Applications Programming Interface (IMAPI). If this service is stopped, this computer will be unable to record CDs. If this service is disabled, any services that explicitly depend on it will fail to start. Comment: Obviously, there may be some usefulness leaving this service as manual, if you have a CD burner installed. If you don't, disable it. Internet Connection Firewall (ICF) / Internet Connection Sharing (ICS) Provides network address translation, addressing, name resolution and/or intrusion prevention services for a home or small office network. Comment: This tool does a great job of complicating my internet connection and slowing down transactions. It's not likely this tool is sophisticated enough to make a major impact in your system's performance. You should disable it. Messenger Transmits net send and Alerter service messages between clients and servers. This service is not related to Windows Messenger. If this service is stopped, Alerter messages will not be transmitted. If this service is disabled, any services that explicitly depend on it will fail to start. Comment: Turn this thing off! It's a simple kit for anybody that can connect via any network to your computer to access your system and do things you don't want them to. Disable it. Net Logon Supports pass-through authentication of account logon events for computers in a domain. Comment: Unless you need this to operate inside a domain, it's likely not necessary or useful. If you are using a home or SOHO PC and don't have a local domain based network, disable it. NetMeeting Remote Desktop Sharing Enables an authorized user to access this computer remotely by using NetMeeting over a corporate intranet. If this service is stopped, remote desktop sharing will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Comment: Do you really want a built in tool to share control of your desktop over your network connection? There are better tools for doing this kind of work, if needed. If someone you buy software from insists you let them use this tool to help you install it one time, then enable it and disable it immediately afterward. For typical use, you should disable it. Remote Desktop Help Session Manager Manages and controls Remote Assistance. If this service is stopped, Remote Assistance will be unavailable. Before stopping this service, see the Dependencies tab of the Properties dialog box. Comment: Refer to NetMeeting. If you don't want to share control of your computer through your network, disable it. Remote Procedure Call (RPC) Locator Manages the RPC name service database. Comment: There are some network programs and protocols that require this to be turned on. Chances are you could just turn it off and see if you break anything. If you are using a single PC in your home or SOHO, it's likely just a security risk. If you don't know you need it, disable it. Remote Registry Enables remote users to modify registry settings on this computer. If this service is stopped, the registry can be modified only by users on this computer. If this service is disabled, any services that explicitly depend on it will fail to start. Comment: Seems self-explanatory. You can enable this service to help remote people or programs change your registry. Great hacker tool if you can't secure it. Disable it. System Restore Service Performs system restore functions. To stop service, turn off System Restore from the System Restore tab in My Computer->Properties Comment: This is almost useless if you ever have a problem with damaged drives, corrupted data, or malware. It uses a lot of resources and isn't useful for most people. You can turn it on before you install a big piece of software. This service allows you to backup to a previous system should you mess your's up with an installation of software or a modification to your system settings, usually registry damage. To improve system performance and take the minor risk of not being able to make your computer work like it did yesterday, disable it. TCP/IP NetBIOS Helper Enables support for NetBIOS over TCP/IP (NetBT) service and NetBIOS name resolution. Comment: Very few people use NetBIOS at home. This is the Windows built-in protocol for simple networking. You may need it. Otherwise, disable it. Telephony Provides Telephony API (TAPI) support for programs that control telephony devices and IP based voice connections on the local computer and, through the LAN, on servers that are also running the service. Comment: If you use telephony, you probably use discrete devices or proprietary services that don't rely on this service. However, you do need this servive if you use a modem to connect to the ineternet. It's required by all sorts of hardware you wouldn't think require it, including accessing the internet via 3G telephones as tethered modems. Set this service to automatic to be safe. Telnet Enables a remote user to log on to this computer and run programs, and supports various TCP/IP Telnet clients, including UNIX-based and Windows-based computers. If this service is stopped, remote user access to programs might be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Comment: There's just not a circumstance where I can imagine that turning this service on is a good idea. Unless you need to let people telnet into your computer and have a really good reason for doing so, disable it. Terminal Services Allows multiple users to be connected interactively to a machine as well as the display of desktops and applications to remote computers. The underpinning of Remote Desktop (including RD for Administrators), Fast User Switching, Remote Assistance, and Terminal Server. Comment: As I've said above, there's better tools for remote desktop administration. The idea of Terminal Services is to allow remote desktop administration of a system, like the user was on the actual console. In almost all circumstances you should disable it. Themes Provides user experience theme management. Comment: Themes are cute and bloated. Enabling themes is not a good way to increase performance, but you may think it's neat. If you aren't addicted to cute desktop eye candy, disable it. Uninterruptible Power Supply Manages an uninterruptible power supply (UPS) connected to the computer. Comment: Unless you are using a UPS on your computer and it has the capability of managing the system, disable it. Upload Manager Manages synchronous and asynchronous file transfers between clients and servers on the network. If this service is stopped, synchronous and asynchronous file transfers between clients and servers on the network will not occur. If this service is disabled, any services that explicitly depend on it will fail to start. Comment: If you are not in a local network sharing data (files and/or services), disable it. Windows Time Maintains date and time synchronization on all clients and servers in the network. If this service is stopped, date and time synchronization will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Comment: Sometimes it works. Unless you are really needing your time to sync to something running a Windows time server, disable it. Wireless Zero Configuration Provides automatic configuration for the 802.11 adapters Comment: Unless you use 802.11 devices, disable it. Workstation Creates and maintains client network connections to remote servers. If this service is stopped, these connections will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start. Comment: If you are not in a local network sharing data (files and/or services), disable it. If you turn off all the services suggested above and try to use Automatic Updates via WindowsUpdate.Microsoft.com, you will likely see a message something like this: Windows Update cannot continue because a required service application is disabled. Windows Update requires the following services: "Automatic Updates enables detection, downloading, and installation of critical updates for your computer. Background Intelligent Transfer Service (BITS) enables faster, restartable downloading of updates. Event Log logs Windows Update events for troubleshooting. To ensure that these services are enabled:" It's easy to just go back to Services, and turn these services on as you need them. An operating system shouldn't need daily updates to run. And, the more services you run, the more likely you are to need updates. See a circle here? Occasionally, a little laziness won't kill you. Though you could just go to Technet (Microsoft's only support for IT professionals) and get all your news and update files with descriptions of their efficacy and safety, you may occasionally just want to veg out and let Microsoft do the work for you. You should still read each update and decide for yourself whether it makes sense. Some of them are flat out bad news. But, turning up these services for a few minutes to run Automatic Updates may be a shortcut to periodic updates. So, let's look at the services they want you to turn on. Automatic Updates Background Intelligent Transfer Service Event Log I haven't a clue why you need Background Intelligent Transfer Services to run so you can go to a website, download, and install service packs. But, you can turn it, and the others, on and then turn it back off when you are done. It's just three services. If you turn off all the services suggested above and try to use Automatic Updates via WindowsUpdate.Microsoft.com, you will likely see a message something like this: Windows Update cannot continue because a required service application is disabled. Windows Update requires the following services: Automatic Updates enables detection, downloading, and installation of critical updates for your computer. Background Intelligent Transfer Service (BITS) enables faster, restartable downloading of updates. Event Log logs Windows Update events for troubleshooting. To ensure that these services are enabled: It's easy to just go back to Services, and turn these services on as you need them. An operating system shouldn't need daily updates to run. And, the more services you run, the more likely you are to need updates. See a circle here? Occasionally, a little laziness won't kill you. Though you could just go to Technet (Microsoft's only support for IT professionals) and get all your news and update files with descriptions of their efficacy and safety, you may occasionally just want to veg out and let Microsoft do the work for you. You should still read each update and decide for yourself whether it makes sense. Some of them are flat out bad news. But, turning up these services for a few minutes to run Automatic Updates may be a shortcut to periodic updates. So, let's look at the services they want you to turn on. Automatic Updates Background Intelligent Transfer Service Event Log I haven't a clue why you need Background Intelligent Transfer Services to run so you can go to a website, download, and install service packs. But, you can turn it, and the others, on and then turn it back off when you are done. After all, it's just three services. If you take a minimalist's point of view to running both software and services on your computer, it will perform faster and more safely than it will if you just randomly load anything anyone tells you to. To better secure your PC, stick to a mindset that if you don't absolutely need a service running right now, you should just turn it off. For those of you that break stuff when you turn off services I suggest are unnecessary. If you turn off all the stuff that blatantly doesn't have anything to do with the network, you should be fine. Then, turn off one thing at a time that you /think/ doesn't support your network connection. If you lose your connection, turn the service back on. Next, and this part is very important, make sure your network settings are accurate and set for "on" so you can reconnect. You should find out how your PC connects to your local network before you get started and document it. But, anything you turn off that breaks something needs to be carefully examined and documented (write it down somewhere). Just because you turn a service back on, doesn't mean your broken software will magically start working again. For example, remember the issue of using a computer in your network to manage your connection? If that's how you connect, you'll have to reconfigure that connection to get online if you kill it by killing a service. Likely, Computer Browser will cause this kind of problem. Also, just enabling the service doesn't turn it on. You need to manually restart it, since the start, enable, stop, settings go into action on bootup. So, if you don't want to wait til your box reboots, you'll need to manually turn off the service if you want it disabled, and manually turn it on if you want to enable it (and see if that given service is your problem). What about System Restore? Well, I don't like it. If I had a dollar for every time someone fouled up their PC, ran system restore, and were amazed that all wasn't suddenly happy sunshine, I'd have a really nice vacation home. I realize it makes life easier for newbies that randomly screw stuff up and can't be hassled with learning the things they use. But, for most cases, it's a great tool for virus and worms to avoid capture. You delete them, they have a backup switch to recapture control through the restore program. Many antivirus programs don't work properly when you have this feature enabled. You can leave it on if you're a fan. Perhaps it makes you feel good, like it would make everything right again if you had it around. But, it won't save you from a serious problem. Backups and safe computer practices will. You need to learn enough about your PC to run a functional backup and restoration of your critical data. If you can't do this, you're just waiting to lose everything. Don't be afraid to learn more about your PC. It's one thing to run through a checklist of stuff I suggest you don't need. But, it's not a guarantee that I address every concern for every user. With a few hours here and there of learning now, you'll save yourself a lot of frustration later. The things I learned about Windows five and six years ago still serve me today. The things I learned about networks running Unix systems serve me every day, no matter what operating system I may run. Enjoy learning; it's the first line of defense against bad software and broken PCs. [Check out Run a Faster Windows PC, now that you're done with this article.] Latest comments: Hi, three things, and I know I'm a few years late with the first, and maybe you've gotten it a few hundred times already, but I've only recently discovered your article on unnecessary services that windows... [snip] You know, that article is really, really old. And, to be honest I don't update it and can't imagine why so many people read it. It makes me think I may should spend more time on things like that - keeping it current, etc. So, I will add comments down here as folk email me questions and comments. You mention that Cryptographic Services is unnecessary unless you work in a large network atmosphere (or something along those lines), plus stuff about certificates. [snip] ... is required for automatic updates. I think this is recent behavior. Just yesterday I downloaded TweakUI for a friend and his WinXP complained the software wasn't signed... WHAT!? Microsoft didn't bother using their beloved signing technology even though they act as though anything that's not digitally signed is a trojan or virus? Amazing, but they don't retroactively utilize their own technologies and they often throw new requirements (often for "security" sake) on their old operating systems. I actually changed my position on this and though it's dangerous on multiple levels, I think considering all it's almost required that you leave auto-updates running, since you can't possibly run a safe PC without daily update checks and who can be bothered to run updates manually every day. Microsoft doesn't exactly make downloading and installing them manually a simple process. BTW, if you download the updates manually from TechNET, you don't need this service running - but that's not what you want to do, you just want to click a button and have your system automatically update. Automatic and automatic have different meanings here. I mean, the update you're trying to do with the click is automatic, and the update that happens without your involvement at all (scheduled automatic updates) is also automatic. Telephony Services: you say it's unnecessary if you don't use a modem to connect to the internet, and I was like "Nah, I have cable because I'm t3h 133720r2!" and I tried to turn it off, and it won't turn off. And before I pressed the issue, a question came to mind- is a cable modem still a modem in the sense that you're referring to them? And if so... who the XXX is lucky enough to not need any modem at all to connect to Al Gore's miracle?! So that threw me off a bit. Well... there's two answers to this question - the implied and the direct. I used to have a "cable modem," but I used a network connection (via my NIC) to connect. I have DSL now and do the same. Most modern distributions of network connections (DSL/Cable/T1/etc.) use plain ole NICs to connect - some people install that awful driver software, and that //may// require this feature, though honestly I've not personally tested so I don't know for fact. Let me tell you this - all kinds of crap uses telephony. VOIP, modems, fax, etc. all use it. Even my stupid fax printing software that sends the fax through //EMAIL// uses the telephony service. Lastly, this one comes from the article you link to at the bottom of the unnecessary services article, about running a faster Windows PC. You suggest Avira Antivir to replace McAfee and Norton, and seeing as how you had thus far proven to be a pretty legitimate tech advisor (I started getting paranoid that in the stead of traditional viruses, people just give you "advice" to delete perfectly vital bits of software and whatnot), I jumped on the free version. I had been a McAfee noob, and had been increasingly frustrated with it. Avira works great and all, but there's one little thing that drives me crazy that I can't seem to figure out. How the XXX do you get rid of the "Notifier of Avira" that constantly bugs you to buy the premium edition and reminds me of spyware/popups itself? [snip] ...plenty, so I really can't justify working over 20 whole hard-earned dollars just to make what amounts to be a popup, from a program that is supposed to... [snip] I'm afraid they've jumped onto the harassment bandwagon with their free product. It's annoying. And, to be honest I just plopped down the $40 and bought the commercial license of Avast recently. I suggest you do the same. All antivirus companies eventually get dragged into the corporate profit game and leave the good antivirus arena. The fact is, it's not really considered a good growth model to stick to plain ole antivirus software. The big guys lead the track on bloatware, but everyone gets into it. They either offer more bells and whistles and harass you or harass you to spend more money on the basics. Once they feel that they've saturated the "I just want a good antivirus program" market, they start banging on your wallet. But, for the moment, I'm happy with my commercial Avast. As for forking over $20 to stop the harassment. I'm sorry, but as a capitalist I don't really mind this so much. And, to be honest $20 for protection without the CPU tax other big brands charge - gimping your entire machine for the promise of safer web browsing - it's a good deal. I'd pay the $20. It's worth it. NOTE Windows <=8 1745 09/09/2023 Windows <=8 Files Removing Admin Rights Protects Against Most Vulnerabilities administrator privilages According to a study just released by BeyondTrust, which analyzed all new security vulnerabilities published in the 100+ security bulletins Microsoft issued in 2010, simply removing administrative rights from user accounts will mitigate about three fourths of the critical vulnerabilities. Windows <=8 2162 09/09/2023 Mysql Database MySQL ALTER TABLE Statement alter table drop add modify ALTER TABLE prices ADD COLUMN inventory smallint AFTER invoice; ALTER TABLE eqMaintenance ADD COLUMN filter2id smallint AFTER filterid ALTER TABLE filters ADD COLUMN model varchar(75) AFTER description ALTER TABLE filters ADD COLUMN code varchar(10) AFTER model ALTER TABLE filters ADD COLUMN cost decimal (10,2) AFTER type_of ALTER TABLE fertilizer_applied ADD COLUMN crop_year smallint AFTER acres ================================= increase size: ALTER TABLE table_name MODIFY COLUMN column_name SMALLINT; ALTER TABLE `bible` MODIFY COLUMN `chapter` SMALLINT; ALTER TABLE `transactions` MODIFY `description` varchar (400); ALTER TABLE `lastbackup` MODIFY `source` varchar (500); ALTER TABLE `fertilizer_applied` MODIFY `comments` varchar (400); ALTER TABLE `purchases` MODIFY `description` varchar (400); ALTER TABLE `equipment_photo` MODIFY `caption` varchar (100); MySQL ALTER TABLE Statement The ALTER TABLE statement is used to add, delete, or modify columns in an existing table. The ALTER TABLE statement is also used to add and drop various constraints on an existing table. ALTER TABLE - ADD Column To add a column in a table, use the following syntax: ALTER TABLE table_name ADD column_name datatype; The following SQL adds an "Email" column to the "Customers" table: ExampleGet your own SQL Server ALTER TABLE Customers ADD Email varchar(255); ALTER TABLE - DROP COLUMN To delete a column in a table, use the following syntax (notice that some database systems don't allow deleting a column): ALTER TABLE table_name DROP COLUMN column_name; The following SQL deletes the "Email" column from the "Customers" table: Example ALTER TABLE Customers DROP COLUMN Email; ALTER TABLE - MODIFY COLUMN To change the data type of a column in a table, use the following syntax: ALTER TABLE table_name MODIFY COLUMN column_name datatype; Mysql 0 12/02/2023 WP Archive Saved Android Video Text android 00:00:00 hidden setting in gallary app 00:13:13 settings -> search for gallery -> Gallery App info -> Mobile data -> turn off Allow background data usage 00:33:02 <- Battery -> Restricted 00:39:09 <- Appear on top or draw on top -> Allow permission - off 00:46:24 Open gallery app -> 3bar menu rigth corner -> 00:58:00 Settings -> About Gallery -> Tap on version# 5times fast 01:06:22 <- Gallery labs -> Samsungs hidden tool list -> 01:21:05 When receiving Samsung update 01:28:14 Enabled trackers to turn off 01:35:28 SETTINGS -> Google Services -> All Services -> 01:58:09 personalize using shared data -> turn all 3 or 4 listed off 02:07:26 SETTINGS -> Apps -> 3dots right -> Special Access -> -- usage dat access -> Google -> 02:23:27 Disable all 3 Google entities 02:30:07 3 setting to always turn off -> 02:43:20 SETTINGS -> privacy & security -> more privacy settings -> --- Personal data intelegence -> Turn off 03:18:08 <- usage & diagnostics -> turn off 03:35:03 END [video width="720" height="486" mp4="https://softwarewebdesign.com/SWDHome/wp-content/uploads/2025/12/android20251230.mp4"][/video] video 00:00:00 Dangerous setting to turn off on Android phone 00:03:28 Open Settings 00:06:00 Click on about phone 00:08:07 Next Software Information 00:09:29 Next Build Number (click 7 times) Developer Mode activated 00:12:12 Go back main settings 00:16:26 Click Developer options on bottom 00:21:09 Go System Tracing 00:23:13 Turn off Trace Debugable Applications 00:28:27 Next Per-CPU buffer size 00:31:23 Use 8192 KB 00:34:17 Clear saved traces 00:41:18 Secret Wi-Fi menu- - Developer options->Wi-Fi non-persistent MAC->ON 01:33:17 Getting rid of ads Settings-> Connection - more connection settings->private DNS->private DNS provider-> dns.adguard.com->save 02:33:21 Google reporting - Settings app->Usage & diagnostics (turn off)-> 02:49:02 Google reporting 2 - Settings app->digital wellbeing & parental controls->3 dots top-> - Settings->usage data access->settings->turn off access 03:10:11 Google reporting 3 - Settings app->digital wellbeing->customization services->switch off 03:29:07 Secret codes - - *#62# forwarded calls 03:48:05 Secret codes - - ##21# call forwarding unconditionally erasure 04:13:01 Secret codes - - *#06# phone info 04:22:04 parasitic setting - 04:54:20 - Settings app->digital wellbeing & parental controls->3 dots top-> - Settings->usage data access->Settings->allow permissions->OFF 05:22:08 Spying on your phone 05:34:15 Check tracking - - Settings app->search (spy glass)->type; tracker->unknown tracker alerts->allow alerts- - manual scan->view report 05:59:13 trackers2 - Settings app-> Security & privacy->permission used 24 hr->three dots - - Show system apps->permissions tab->physical activity->customization service->See all custom {link} some apps may require permissions to work 06:41:19 Creation of the developer menu in settings- repeat 07:14:13 END [video width="480" height="720" mp4="https://softwarewebdesign.com/SWDHome/wp-content/uploads/2025/12/AndroidDangerousSettings.mp4"][/video] WP 5 12/22/2022 Vb.net Setup Have Application Run In The Background application background process file explorer http://www.dreamincode.net/forums/topic/59527-make-a-program-to-run-in-the-background/ This tutorial deals with how to make a standard VB.NET application run in the background, like a process. By background i mean that the application will have no interface (form or console) and will run from a Sub Main(), but will not terminate once all the code in Main has executed. That means your program will run like a normal form application, and will only exit when told to. First, create a standard Windows Form application. Then, go to the solution explorer, and double click on the item that says My Project. [attachment=7480:attachment] Once that is opened, you should see something like this [attachment=7484:attachment] There are a few very simple things you need to change there. First, uncheck the box that says "Enable Application Framework". Then, go to the box that says "Startup Object:" and change that to Sub Main. Then, delete the form that was put in your application automatically. By now, you should notice that there is no startup object in your application. In fact, there is no Code in your application. So, you need to add a Sub Main in. Add a new module to your application (call it anything you want). Then, add this sub into your module: 1Sub Main()2 'This will execute when your application3 'starts up. This is the equivilent of a4 'Form_Load event in a form application.5 'Put whatever code you want in this sub,6 'but make sure you end it with this statement:7 Application.Run()8End Sub Let me explain exactly what this is doing. When you changed the startup object to Sub Main, you application will execute from a Main routine, like a console application, so what is stopping it from showing a console window? Notice the box that says "Application Type:". You will see that that is set to "Windows Form Application". When you create a console application, that box is set to "Console Application". When you create any windows form application, there, of course, is no console window. That is because the application has a type of "Windows Form Application", which basically means your application will not show a console. Of course, in Consle Applications, there are no forms. So what happens when you application's type is Windows Form Application, and there is no form in it? Your program will have no interface at all. But, even though your application is called a Windows Form Application, it will still exit once all the code in Sub Main has executed, like a console application. To prevent that, you must have a line at the end of your Main routine that says Application.Run(). That line will prevent your application from closing right after Main has finished. Now, it will run like a standard form application, just with no form, and the only way you can close it is with an Application.Exit() call. And it's as simple as that. You can treat the module your main routine is in as if it was the code for your form. The only difference is, there is no form, and you can't add controls to it in the designer (because there is no interface there to design). So, for example, if you wanted to add a timer to your application, you can't just drag-and-drop it on the form, you have to get down and dirty and add it in manually, with something like this 1Friend WithEvents Timer1 As New Timer() That will create a timer object, exactly as if it was created by the designer. To add a tick event handler for it, go to the box near the top-left of the code editor. Select the item that says "Timer1", or whatever you called your timer. Then, select the box next to it and it will show a list of events for that control. Click the one you want, Tick in this case, and it will add an event handler for that event directly into your code. Private Sub laPath_DoubleClick(sender As Object, e As EventArgs) Handles laPath.DoubleClick Dim filePath As String = laPath.Text 'Example file Process.Start("explorer.exe", "/select," & filePath) : Application.DoEvents() End Sub Vb.net 1215 09/09/2023 Vb.net Customizing Close Running Processes application close running Windows VB.Net Close window by title Top Answer Answered Jun 29, 2012 · 6 votes Try using something like this. using Process.MainWindowTitle to get the Title Text and Process.CloseMainWindow to close down the UI, its a little more graceful than killing the Process. Note: Contains does a case-sensitive search Imports System.Diagnostics Module Module1 Sub Main() Dim myProcesses() As Process = Process.GetProcesses For Each p As Process In myProcesses If p.MainWindowTitle.Contains("Notepad") Then p.CloseMainWindow() End If Next End Sub End Module Display processes running Private Sub btProcess_Click(sender As Object, e As EventArgs) Handles btProcess.Click File1.Items.Clear() For Each p In Process.GetProcesses If p.MainWindowTitle <> "" Then 'File1.Items.Add(p.MainWindowTitle + "..running") File1.Items.Add("[" + p.ProcessName + "=" + p.MainWindowTitle + "]") End If Next End Sub Vb.net 1 07/21/2025 Php Variables Using Arrays array "35","Ben"=>"37","Joe"=>"43"); arsort($age); ?> Definition and Usage The arsort() function sorts an associative array in descending order, according to the value. Tip: Use the asort() function to sort an associative array in ascending order, according to the value. Tip: Use the krsort() function to sort an associative array in descending order, according to the key. Syntax arsort(array, sorttype) Parameter Values Parameter Description array Required. Specifies the array to sort sorttype Optional. Specifies how to compare the array elements/items. Possible values: 0 = SORT_REGULAR - Default. Compare items normally (don't change types) 1 = SORT_NUMERIC - Compare items numerically 2 = SORT_STRING - Compare items as strings 3 = SORT_LOCALE_STRING - Compare items as strings, based on current locale 4 = SORT_NATURAL - Compare items as strings using natural ordering 5 = SORT_FLAG_CASE - ?> Php 2 09/09/2023 Vb.net Variables Create New Arrays array null Read through entire array For Each fruit As String In MV Console.WriteLine(fruit) Next max number of elements array.length For L = 0 To MV.GetUpperBound(0) elements stored Either Dim strings = New String() {"a", "b", "c"} or Dim strings() As String = {"a", "b", "c"} or strings() As String = {} should work Vb.net 2 09/09/2023 WP Themes Customizing Executive Pro Theme Html5 article header executive pro Genesis Framework [CSS Changes] // moves content on 2 column article{ width:825px; } //content to navigation separation .content { float: right; width: 900px; padding: 40px 60px 10px; padding: 0.5rem 6rem 0.5rem; } Width of the overall container .site-container { margin: 0 auto; width: 1140px; } I just bloated the rest of css reference to keep from shrinking when resizing window @media only screen and (max-width: 1200px) { .site-container { max-width: 1960px; } @media only screen and (max-width: 1023px) { .site-container { max-width: 1768px; } @media only screen and (max-width: 767px) { .site-container { max-width: 1600px; } WP Themes 1287 09/09/2023 Html Formatting Ascii Table Improved ascii Ascii Lookup DEC OCT HEX BIN Symbol HTML Number HTML Name Description 00000000000000NUL?? Null character10010100000001SOH? Start of Heading20020200000010STX? Start of Text30030300000011ETX? End of Text40040400000100EOT? End of Transmission50050500000101ENQ? Enquiry60060600000110ACK? Acknowledge70070700000111BEL? Bell, Alert80100800001000BS? Backspace90110900001001HT ? Horizontal Tab100120A00001010LF? Line Feed110130B00001011VT? Vertical Tabulation120140C00001100FF? Form Feed130150D00001101CR? Carriage Return140160E00001110SO? Shift Out150170F00001111SI? Shift In160201000010000DLE? Data Link Escape170211100010001DC1? Device Control One (XON)180221200010010DC2? Device Control Two190231300010011DC3? Device Control Three (XOFF)200241400010100DC4? Device Control Four210251500010101NAK? Negative Acknowledge220261600010110SYN? Synchronous Idle230271700010111ETB? End of Transmission Block240301800011000CAN? Cancel250311900011001EM? End of medium260321A00011010SUB? Substitute270331B00011011ESC? Escape280341C00011100FS? File Separator290351D00011101GS? Group Separator300361E00011110RS? Record Separator310371F00011111US? Unit Separator DEC OCT HEX BIN Symbol HTML Number HTML Name Description 320402000100000SP ? Space330412100100001!!!Exclamation mark340422200100010"""Double quotes (or speech marks)350432300100011###Number sign360442400100100$$$Dollar370452500100101%%%Per cent sign380462600100110&&&Ampersand390472700100111'''Single quote400502800101000((&lparen;Open parenthesis (or open bracket)410512900101001))&rparen;Close parenthesis (or close bracket)420522A00101010***Asterisk430532B00101011+++Plus440542C00101100,,,Comma450552D00101101--? Hyphen-minus460562E00101110...Period, dot or full stop470572F00101111///Slash or divide48060300011000000? Zero49061310011000111? One50062320011001022? Two51063330011001133? Three52064340011010044? Four53065350011010155? Five54066360011011066? Six55067370011011177? Seven56070380011100088? Eight57071390011100199? Nine580723A00111010:::Colon590733B00111011;;;Semicolon600743C00111100<<<Less than (or open angled bracket)610753D00111101===Equals620763E00111110>>>Greater than (or close angled bracket)630773F00111111???Question mark641004001000000@@@At sign651014101000001AA? Uppercase A661024201000010BB? Uppercase B671034301000011CC? Uppercase C681044401000100DD? Uppercase D691054501000101EE? Uppercase E701064601000110FF? Uppercase F711074701000111GG? Uppercase G721104801001000HH? Uppercase H731114901001001II? Uppercase I741124A01001010JJ? Uppercase J751134B01001011KK? Uppercase K761144C01001100LL? Uppercase L771154D01001101MM? Uppercase M781164E01001110NN? Uppercase N791174F01001111OO? Uppercase O801205001010000PP? Uppercase P811215101010001QQ? Uppercase Q821225201010010RR? Uppercase R831235301010011SS? Uppercase S841245401010100TT? Uppercase T851255501010101UU? Uppercase U861265601010110VV? Uppercase V871275701010111WW? Uppercase W881305801011000XX? Uppercase X891315901011001YY? Uppercase Y901325A01011010ZZ? Uppercase Z911335B01011011[[[Opening bracket921345C01011100Backslash931355D01011101]]]Closing bracket941365E01011110^^^Caret - circumflex951375F01011111___Underscore961406001100000```Grave accent971416101100001aa? Lowercase a981426201100010bb? Lowercase b991436301100011cc? Lowercase c1001446401100100dd? Lowercase d1011456501100101ee? Lowercase e1021466601100110ff? Lowercase f1031476701100111gg? Lowercase g1041506801101000hh? Lowercase h1051516901101001ii? Lowercase i1061526A01101010jj? Lowercase j1071536B01101011kk? Lowercase k1081546C01101100ll? Lowercase l1091556D01101101mm? Lowercase m1101566E01101110nn? Lowercase n1111576F01101111oo? Lowercase o1121607001110000pp? Lowercase p1131617101110001qq? Lowercase q1141627201110010rr? Lowercase r1151637301110011ss? Lowercase s1161647401110100tt? Lowercase t1171657501110101uu? Lowercase u1181667601110110vv? Lowercase v1191677701110111ww? Lowercase w1201707801111000xx? Lowercase x1211717901111001yy? Lowercase y1221727A01111010zz? Lowercase z1231737B01111011{{{Opening brace1241747C01111100|||Vertical bar1251757D01111101}}}Closing brace1261767E01111110~~˜Equivalency sign - tilde1271777F01111111DEL? Delete DEC OCT HEX BIN Symbol HTML Number HTML Name Description 1282008010000000€€€Euro sign1292018110000001 Unused1302028210000010‚‚‚Single low-9 quotation mark1312038310000011ƒƒƒLatin small letter f with hook1322048410000100„„„Double low-9 quotation mark1332058510000101………Horizontal ellipsis1342068610000110 Dagger1352078710000111‡‡‡Double dagger1362108810001000ˆˆˆModifier letter circumflex accent1372118910001001‰‰‰Per mille sign1382128A10001010 Latin capital letter S with caron1392138B10001011‹‹‹Single left-pointing angle quotation1402148C10001100ŒŒŒLatin capital ligature OE1412158D10001101 Unused1422168E10001110ŽŽŽLatin capital letter Z with caron1432178F10001111 Unused1442209010010000 Unused1452219110010001‘‘‘Left single quotation mark1462229210010010’’’Right single quotation mark1472239310010011“““Left double quotation mark1482249410010100”””Right double quotation mark1492259510010101•••Bullet1502269610010110–––En dash1512279710010111———Em dash1522309810011000˜˜˜Small tilde1532319910011001™™™Trade mark sign1542329A10011010šššLatin small letter S with caron1552339B10011011›››Single right-pointing angle quotation mark1562349C10011100œœœLatin small ligature oe1572359D10011101 Unused1582369E10011110žžžLatin small letter z with caron1592379F10011111ŸŸŸLatin capital letter Y with diaeresis160240A010100000NBSP Non-breaking space161241A110100001¡¡¡Inverted exclamation mark162242A210100010¢¢¢Cent sign163243A310100011£££Pound sign164244A410100100¤¤¤Currency sign165245A510100101¥¥¥Yen sign166246A610100110¦¦¦Pipe, broken vertical bar167247A710100111§§§Section sign168250A810101000¨¨¨Spacing diaeresis - umlaut169251A910101001©©©Copyright sign170252AA10101010ªªªFeminine ordinal indicator171253AB10101011«««Left double angle quotes172254AC10101100¬¬¬Negation173255AD10101101SHYSoft hyphen174256AE10101110®®®Registered trade mark sign175257AF10101111¯¯¯Spacing macron - overline176260B010110000°°°Degree sign177261B110110001±±±Plus-or-minus sign178262B210110010²²²Superscript two - squared179263B310110011³³³Superscript three - cubed180264B410110100´´´Acute accent - spacing acute181265B510110101µµµMicro sign182266B610110110¶¶¶Pilcrow sign - paragraph sign183267B710110111···Middle dot - Georgian comma184270B810111000¸¸¸Spacing cedilla185271B910111001¹¹¹Superscript one186272BA10111010ºººMasculine ordinal indicator187273BB10111011»»»Right double angle quotes188274BC10111100¼¼¼Fraction one quarter189275BD10111101½½½Fraction one half190276BE10111110¾¾¾Fraction three quarters191277BF10111111¿¿¿Inverted question mark192300C011000000ÀÀÀLatin capital letter A with grave193301C111000001ÁÁÁLatin capital letter A with acute194302C211000010ÂÂÂLatin capital letter A with circumflex195303C311000011ÃÃÃLatin capital letter A with tilde196304C411000100ÄÄÄLatin capital letter A with diaeresis197305C511000101ÅÅÅLatin capital letter A with ring above198306C611000110ÆÆÆLatin capital letter AE199307C711000111ÇÇÇLatin capital letter C with cedilla200310C811001000ÈÈÈLatin capital letter E with grave201311C911001001ÉÉÉLatin capital letter E with acute202312CA11001010 ÊÊÊLatin capital letter E with circumflex203313CB11001011ËËËLatin capital letter E with diaeresis204314CC11001100ÌÌÌLatin capital letter I with grave205315CD11001101ÍÍÍLatin capital letter I with acute206316CE11001110ÎÎÎLatin capital letter I with circumflex207317CF11001111ÏÏÏLatin capital letter I with diaeresis208320D011010000ÐÐÐLatin capital letter ETH209321D111010001ÑÑÑLatin capital letter N with tilde210322D211010010ÒÒÒLatin capital letter O with grave211323D311010011ÓÓÓLatin capital letter O with acute212324D411010100ÔÔÔLatin capital letter O with circumflex213325D511010101ÕÕÕLatin capital letter O with tilde214326D611010110ÖÖÖLatin capital letter O with diaeresis215327D711010111×××Multiplication sign216330D811011000ØØØLatin capital letter O with slash217331D911011001ÙÙÙLatin capital letter U with grave218332DA11011010ÚÚÚLatin capital letter U with acute219333DB11011011ÛÛÛLatin capital letter U with circumflex220334DC11011100ÜÜÜLatin capital letter U with diaeresis221335DD11011101ÝÝÝLatin capital letter Y with acute222336DE11011110ÞÞÞLatin capital letter THORN223337DF11011111ßßßLatin small letter sharp s - ess-zed224340E011100000 Latin small letter a with grave225341E111100001áááLatin small letter a with acute226342E211100010âââLatin small letter a with circumflex227343E311100011ãããLatin small letter a with tilde228344E411100100äääLatin small letter a with diaeresis229345E511100101åååLatin small letter a with ring above230346E611100110æææLatin small letter ae231347E711100111çççLatin small letter c with cedilla232350E811101000èèèLatin small letter e with grave233351E911101001éééLatin small letter e with acute234352EA11101010êêêLatin small letter e with circumflex235353EB11101011ëëëLatin small letter e with diaeresis236354EC11101100ìììLatin small letter i with grave237355ED11101101íííLatin small letter i with acute238356EE11101110îîîLatin small letter i with circumflex239357EF11101111ïïïLatin small letter i with diaeresis240360F011110000ðððLatin small letter eth241361F111110001ñññLatin small letter n with tilde242362F211110010òòòLatin small letter o with grave243363F311110011óóóLatin small letter o with acute244364F411110100ôôôLatin small letter o with circumflex245365F511110101õõõLatin small letter o with tilde246366F611110110öööLatin small letter o with diaeresis247367F711110111÷÷÷Division sign248370F811111000øøøLatin small letter o with slash249371F911111001ùùùLatin small letter u with grave250372FA11111010úúúLatin small letter u with acute251373FB11111011ûûûLatin small letter u with circumflex252374FC11111100üüüLatin small letter u with diaeresis253375FD11111101ýýýLatin small letter y with acute254376FE11111110þþþLatin small letter thorn255377FF11111111ÿÿÿLatin small letter y with diaeresis Html 1 09/24/2025 Php Formatting Remove Ascii > 127 ascii remove delete String Cleanup Php 0 03/07/2024 Css Archive Assembly.css Backup assembly css floating header line height Library 1st part runs everything. Rest formatting is in the xxxCustom.css and floatingheader.css //* begin auto css 4.2020.801.1875 */ input, textarea, select,a {font-family:verdana;font-size:10pt;margin-top:3px;} /* Checkbox element, when checked */ input[type="checkbox"] { box-shadow: 0 0 0 1px hotpink; } table.reportActionTable {max-width:1200px;min-width:800px;} td.viewnumber{text-align:right;} .button_cell{min-width:125px;} .tableInput {min-width:100px;} table.formtablewidth {width:100%;max-width:600px;} textarea.textareaDimension{ width:98%; min-height: 100px; } textarea.descriptionPUR { height:300px; } textarea.descriptionFIL { height:200px; } textarea.NoteBox{ width:100%; max-width:600px; min-width:400px; min-height: 300px; } hr.cell_split{color:red;} img {border:0px;border-style:inset;border-color:black} UL {margin-left:20px;margin-bottom:0in;margin-top:0in;font-size:10pt;} LI {margin:1px 1px 1px 1px} LI.large {margin:1px 1px 1px 1px;font-size:16pt} body{margin-left:27px;margin-top:0px;font-size:10pt;font-family:Verdana} p{font-family:verdana;font-size:12pt} p.menu{font-family:verdana;font-size:12pt;margin-right:20px;margin-top:.5em} table{border-color:black;border-collapse:collapse;mso-padding-alt:0in 5.4pt 0in 5.4pt} tr.alt{background-color:#FFEFD5;} td{font-family:verdana;font-size:10pt;border:1px solid #000000;padding:3px;} td.debt{color:red;} div {font-size:10pt;zoom:1;} div.scroll{overflow:auto;text-align:left;min-width:200px;max-width:600px;max-height:200px; } .navletters {margin:0 7px 0 7px; } h1 {font-size:26pt; } textarea.descriptionLED {height:250px; } ..ui-datepicker.ui-datepicker-multi { min-width: 30% !important; /* Makes the multi-month datepicker responsive to its parent container */ } .ui-datepicker { min-width: 38em; /* Adjust the pixel value as needed .ui-datepicker table { width: 100%; } */ font-size: 10pt; /* Adjust font size to fit more months if necessary */ } @media screen and (max-width: 1100px) { body{ zoom:1;} } /* end auto css 4.2020.801.1875 */ Old archived stuff .navletters{margin:0 5px 0 10px;} .fertilizer {font-size:14pt;margin-left:75px;page-break-after: always;} A:link {text-decoration:underline;color:#330033;font-size:8pt} A:visited {text-decoration:none;color:#0033FF;font-size:8pt} A:link.menu {text-decoration:none;color:#330033;font-size:8pt;font-family:Arial} A.menu:visited {text-decoration:none;color:#666666;font-size:8pt} A:hover.menu {color:#ffcc66;font-size:8pt} A.menu:active {text-decoration:none;color:#666666;font-size:8pt} A:link.calendar {text-decoration:underline;color:#330033;font-size:8pt} A:link.menu {text-decoration:none;color:#330033;font-size:8pt;font-family:Arial} .navletters{margin:0 5px 0 10px;} input, textarea, select {font-family:verdana;font-size:8pt;margin-top:3px} input[type="checkbox"] { border: 2px solid #2c4358; } input.txwhere {min-width:300px;} table.formtablewidth {width:100%;max-width:800px;} table.reportActionTable {max-width:1200px;min-width:800px;} textarea.textareaDimension{ width:100%;min-height: 200px; } hr.cell_split{color:red;} img {border:0px;border-style:inset;border-color:black} UL {margin-left:20px;margin-bottom:0in;margin-top:0in;} LI {margin:1px 1px 1px 1px} LI.large {margin:1px 1px 1px 1px;font-size:16pt} body{margin-left:25px;margin-top:0px;font-size:10pt;font-family:Verdana} /* body {min-width:4150px;} */ p{font-family:verdana;font-size:10pt} p.menu{font-family:verdana;font-size:8pt;margin-right:20px;margin-top:.5em} table{border-color:black;border-collapse:collapse;mso-padding-alt:0in 5.4pt 0in 5.4pt;} tr.alt{background-color:#D1EED0;} td{font-family:verdana;font-size:8pt;border:1px solid #000000;padding:3px;} td.small{font-family:verdana;font-size:6pt} td.menu{font-family:verdana;font-size:7pt} p.title{font-family:verdana;font-size:12pt;font-weight:bold} p.large{font-family:verdana;font-size:22pt} input, textarea, select {font-family:verdana;font-size:8pt;margin-top:3px} #menud table{border:none;border-color:#000000;width:150;border-collapse:collapse;background-color:#CCCCCC} #menud td.menuon {background-color:#66FF00;color:#000000;border:1pt solid #000000;text-align:right} #menud td.menuoff {background-color:#0033FF;color:#FFFFFF;border:1pt solid #000000;text-align:right} #menud tr.space{height:15px} #menud td.space{Border-top:0px;Border-bottom: 0px solid;Border-right:1pt solid #000000;Border-left:1pt solid #000000} #menud tr{height:20px} #menud p{font-family:Verdana;font-size:10pt;font-weight:bold;margin-left:5px;margin-right:5px} input, textarea, select {font-family:verdana;font-size:8pt;margin-top:3px} div.scroll{overflow:auto;text-align:left;max-width:450px;max-height:150px; } #lightbox{ position: absolute; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;} #lightbox img{ width: auto; height: auto;} #lightbox a img{ border: none; } #outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; } #imageContainer{ padding: 10px; } #loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; } #hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; } #imageContainer>#hoverNav{ left: 0;} #hoverNav a{ outline: none;} #prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; } #prevLink { left: 0; float: left;} #nextLink { right: 0; float: right;} #prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; } #nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; } #imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100% ; } #imageData{ padding:0 10px; color: #666; } #imageData #imageDetails{ width: 70%; float: left; text-align: left; } #imageData #caption{ font-weight: bold; } #imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em; } #imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 0.7em; outline: none;} #overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; } Css 8 01/22/2025 Css Customizing Assembly.css Instructions assembly vb.net phpscript whs transaction zoom Developer customize top and bottom table: input.txwhere {min-width:300px;} length of where textbox table.formtablewidth {width:100%;max-width:800px;} table.reportActionTable {max-width:1200px;min-width:800px;} width of bottom table textarea.textareaDimension{ width:100%;min-height: 200px; } hr.cell_split{color:red;} color of line in merged cells .navletters{margin:0 5px 0 10px;} input, textarea, select {font-family:verdana;font-size:8pt;margin-top:3px} input[type="checkbox"] { border: 2px solid #2c4358; } table.formtablewidth {width:100%;max-width:800px;} textarea.textareaDimension{ width:100%;min-height: 200px; } table.reportActionTable {max-width:1200px;min-width:800px;} A:link {text-decoration:underline;color:#330033;font-size:8pt} A:visited {text-decoration:none;color:#0033FF;font-size:8pt} A:link.menu {text-decoration:none;color:#330033;font-size:8pt;font-family:Arial} A.menu:visited {text-decoration:none;color:#666666;font-size:8pt} A:hover.menu {color:#ffcc66;font-size:8pt} A.menu:active {text-decoration:none;color:#666666;font-size:8pt} A:link.calendar {text-decoration:underline;color:#330033;font-size:8pt} A:link.menu {text-decoration:none;color:#330033;font-size:8pt;font-family:Arial} A:visited.calendar {text-decoration:underline;color:#666666;font-size:8pt} A:hover.calendar {color:#ffcc66;font-size:8pt} A:active.calendar {text-decoration:underline;color:#666666;font-size:8pt} hr.cell_split{color:#FFFF00;} img {border:0px;border-style:inset;border-color:black} UL {margin-left:20px;margin-bottom:0in;margin-top:0in;} LI {margin:1px 1px 1px 1px} LI.large {margin:1px 1px 1px 1px;font-size:16pt} body{margin-left:30px;margin-top:0px;font-size:10pt;font-family:Verdana} p{font-family:verdana;font-size:10pt} p.menu{font-family:verdana;font-size:8pt;margin-right:20px;margin-top:.5em} table{border-color:#CCCCCC;border-collapse:collapse;} tr.alt{background-color:#EEEEEE;} td.debt{ color:red; } td{font-family:verdana;font-size:8pt;border:1px solid #CCCCCC;padding:3px 4px 3px 6px;} td.small{font-family:verdana;font-size:6pt} td.menu{font-family:verdana;font-size:7pt} p.title{font-family:verdana;font-size:12pt;font-weight:bold} p.large{font-family:verdana;font-size:22pt} input, textarea, select {font-family:verdana;font-size:8pt;margin-top:3px} #menud table{border:none;border-color:#000000;width:150;border-collapse:collapse;background-color:#CCCCCC} #menud td.menuon {background-color:#66FF00;color:#000000;border:1pt solid #000000;text-align:right} #menud td.menuoff {background-color:#0033FF;color:#FFFFFF;border:1pt solid #000000;text-align:right} #menud tr.space{height:15px} #menud td.space{Border-top:0px;Border-bottom: 0px solid;Border-right:1pt solid #000000;Border-left:1pt solid #000000} #menud tr{height:20px} #menud p{font-family:Verdana;font-size:10pt;font-weight:bold;margin-left:5px;margin-right:5px} input, textarea, select {font-family:verdana;font-size:8pt;margin-top:3px} div.scroll{overflow:auto;text-align:left;min-width:450px;max-width:600px;max-height:200px; } textarea.descriptionLED {height:250px; } @media screen and (max-width: 1100px) { body{ zoom:2.5;} } Css 0 01/22/2025 _Misc Software Customizing Modify Output In Davinci Resolve 18 audio render mp4 shortcut DAVINCI RESOLVE [Audio] To change the volume of your audio in DaVinci Resolve, go to the “Edit” page (bottom) and select the clip you want to adjust in the timeline. Open the “Inspector” tab (top right-hand corner), click on the “Audio” sub-tab, and adjust the value next to “Volume“. [image] How to Change the Duration of a Still Image in DaVinci Resolve? Go to the menu “DaVinci Resolve” > “Preferences”. Click on the “User” tab. Click on the “Editing” option. Under “General Settings”, change the “Standard Still Duration” value to your desired one, say, 3 seconds. Click on “Save“. [Render] Select deliver bottom screen. I use mp4 - H.264 , 720 x 480 NTSC, 30 frames per second with a medium quality for uploading [How to Move Multiple Clips at Once in DaVinci Resolve] To move multiple clips in DaVinci Resolve, simply press “Ctrl” or “Command” on your keyboard while selecting the clips you want to move. Then drag the selected clips to move them. You can also select all the clips on the right-hand side of the playhead by pressing shortcut “Alt + Y” or “Option + Y”. [SPLIT CLIP] To split a clip in DaVinci Resolve, place the timeline playhead where you want to split it. Then, simply press the shortcut “Ctrl or Command + B” or “Ctrl or Command + “. Alternatively, you can click on “Timeline > Split Clip” located in the upper left-hand corner of Resolve. [Shortcuts] J - Play in reverse K - Pause play L - Play Forward Alt + left click ->Select either audio or video based on click Alt + y ->Selects everything right of the marker. ctrl + A ->Selects everything Ctrl + B ->Split clip Ctrl + G ->close clip gaps. I created this _Misc Software 2 09/09/2023 Windows <=8 Customizing Making Changes To Your Computer auto dim pc settings control panel Like windows 7 you can use the control panel to adjust the power management and hardware settings. Windows 8 has the PC Settings in the right bar under "SETTINGS" that also has options. My Samsung computer would dim every time it would boot up and I would take it to the place I bought and could not create it. After several hours of frustration I found an auto dim setting that I unchecked. Make sure you look here also Windows <=8 1916 09/09/2023 Javascript Text Box Move To Next Field Automatically When Textbox Is Full auto move text box event keycode focus function moveOn(field,nextFieldID,e){ var unicode=e.keyCode? e.keyCode : e.charCode if(unicode!=39 && unicode!=37){ if(field.value.length >= field.maxLength){ document.getElementById(nextFieldID).focus(); } } } - - "; Javascript 1542 09/09/2023 _Misc Software Formatting Auto Number In Excel auto number Excel Column You can automatically number a column in Excel using the Fill Handle, Fill Series, or the ROW function to create a sequential numbering system easily. Method 1: Using the Fill Handle Enter Initial Numbers: In the first two cells of the column where you want to start numbering, enter the numbers 1 and 2 (or any starting numbers you prefer). Select Cells: Highlight both cells containing the numbers. Use the Fill Handle: Move your cursor to the bottom-right corner of the selection until you see a small plus sign (the Fill Handle). Drag or Double-Click: Click and drag the Fill Handle down to fill the column with sequential numbers, or double-click it to auto-fill the column based on adjacent data. 2 2 Sources Method 2: Using the Fill Series Option Enter Starting Value: Type 1 in the first cell of the column. Access Fill Options: Go to the Home tab, click on Fill, and select Series from the dropdown menu. Configure Series: In the Series dialog box, choose Columns for Series in, set the Step Value to 1, and specify the Stop Value based on how many rows you want to number. Click OK: This will fill the column with a sequential series of numbers. 2 2 Sources Method 3: Using the ROW Function Enter the Formula: In the first cell of the column, type the formula =ROW(A1) (adjust the cell reference based on your starting position). This will return the row number of the cell. Drag the Fill Handle: Use the Fill Handle to drag the formula down the column. Each cell will display its corresponding row number, which updates automatically if rows are added or deleted. 2 2 Sources Tips Adjust Starting Point: If you want to start numbering from a different number, you can modify the formula accordingly (e.g., =ROW(A1)-4 to start from 1 in row 5). Manual Updates: If you use the Fill Handle or Fill Series, remember that these numbers won't automatically update if you add or remove rows; you may need to redo the process to maintain accuracy. 1 By following these methods, you can efficiently auto-number columns in Excel to keep your data organized and easily readable. _Misc Software 0 07/21/2025 Css Formatting Background Changes background css fixed url background- hand property for: background-color body {background-color: coral;} background-image body { background-image: url("paper.gif"); background-color: #cccccc; } background-position body { background-image: url('w3css.gif'); background-repeat: no-repeat; background-attachment: fixed; background-position: center; } background-size #example1 { background: url(mountain.jpg); background-repeat: no-repeat; background-size: auto; } #example2 { background: url(mountain.jpg); background-repeat: no-repeat; background-size: 300px 100px; } background-repeat body { background-image: url("paper.gif"); background-repeat: repeat-y; } background-origin #example1 { border: 10px dashed black; padding: 25px; background: url(paper.gif); background-repeat: no-repeat; background-origin: content-box; } background-clip Specify how far the background should extend within an element: div { border: 10px dotted black; padding: 15px; background: lightblue; background-clip: padding-box; } background-attachment A background-image that will not scroll with the page (fixed): body { background-image: url("img_tree.gif"); background-repeat: no-repeat; background-attachment: fixed; } How to position a background-image on x-axis: div { background-image: url('w3css.gif'); background-repeat: no-repeat; background-position-x: center; } How to position a background-image on y-axis: div { background-image: url('w3css.gif'); background-repeat: no-repeat; background-position-y: center; } <table> <tr> <th>Value</th> <th>Description</th> <th>CSS</th> </tr> <tr> <td> <i> background-color </i> </td> <td>Specifies the background color to be used</td> <td>body { background-color:yellow; } h1 { background-color:#00ff00; } p { background-color:rgb(255,0,255); } </td> </tr> <tr> <td> <i> background-position</i> </td> <td>Specifies the position of the background images</td> <td>body { background-image:url('smiley.gif'); background-repeat:no-repeat; background-attachment:fixed; background-position:center; } </td> </tr> <tr> <td> <i> background-size</i> </td> <td>Specifies the size of the background images</td> <td> div { background:url(img_flwr.gif); background-size:80px 60px; background-repeat:no-repeat; } </td> </tr> <tr> <td> <i> background-repeat </i> </td> <td>Specifies how to repeat the background images</td> <td>body { background-image:url('paper.gif'); background-repeat:repeat-y; } </td> </tr> <tr> <td> <i> background-origin </i> </td> <td>Specifies the positioning area of the background images</td> <td>div { background-image:url('smiley.gif'); background-repeat:no-repeat; background-position:left; background-origin:content-box; } </td> </tr> <tr> <td> <i> background-clip </i> </td> <td>Specifies the painting area of the background images</td> <td>div { background-color:yellow; background-clip:content-box; } </td> </tr> <tr> <td> <i> background-attachment </i> </td> <td>Specifies whether the background images are fixed or scrolls with the rest of the page</td> <td>body { background-image:url('w3css.gif'); background-repeat:no-repeat; background-attachment:fixed; } </td> </tr> <tr> <td> <i> background-image </i> </td> <td>Specifies ONE or MORE background images to be used</td> <td>body { background-image:url('paper.gif'); background-color:#cccccc; } </td> </tr> </table> body { background-image: url(../images/backg.gif); background-repeat: no-repeat; background-position: top center; background-attachment: fixed } background-color:white;opacity:.5;filter:alpha(opacity=50); // for firefox and IE background-color: transparent; color: orange; Css 1621 09/09/2023 Windows <=8 Formatting Unable To Change Desktop Background In Windows 7 background wallpaper You want to change your desktop background (wallpaper) to something else. That's simple enough, right? But sometimes you might encounter this situation: when you try to do it through Control Panel (Appearance and Personalization | Change Desktop Background), the check boxes aren't selected when you click them and the Select All and Clear All buttons don't work, either. So you try to right click a picture in Explorer and choose Set as Desktop Background, but you get a message saying the image can't be set as wallpaper because an internal error occurred. What's going on here? Well, there are actually several issues that can cause this problem. You'll find methods for resolving them in KB article 2504610 at http://www.win7news.net/R3JAT1/110217-MS-Support-2504610 Windows <=8 1256 09/09/2023 Windows <=8 Hardware Laptop Battery Calibration For Windows: battery calibration Laptop Battery Calibration For Windows: The goal is to run the battery to zero percent, and for the computer to shut off without going to sleep or going into hibernate mode. Unplug your laptop from the wall. Change the “Power Plan†> “On Battery†> "Put the Computer to Sleep" settings to “Never.†If you cannot find these settings you can turn on an internet radio station, and let it play until the computer shuts off. (This is not effective in all versions of Windows) After the computer shuts down, plugging in the AC adapter should be required to turn the machine back on. Once the computer starts a message will appear asking if you would like to start in “Safe Mode.†Restart Windows normally. Leave your computer plugged in and charge it all the way from 0% to 100%. Remember to change your Power Scheme settings back to what they were. Battery Is Not Charging To 100% Questions? Call us at 866-514-2590 Does your original battery discharge correctly, but never recharge toa higher percentage? If your battery will not recharge at all, but will stilldischarge correctly, you are likely experiencing a problem with your chargesystem. Most commonly this means your adapter is beginning to fail, or you havedamaged the power socket on the side of the computer where the charger plugsin. In more rare cases you could have experienced a failure in the chargecircuit on the motherboard. Does your battery correctly discharge and recharge eventhough it does not reach 100%? If your battery will discharge and recharge, but gets stuckat a percentage less than 100%, you may have a failed cell in your battery, aproblem with your power management settings, or a software calibration issue Battery Report: Windows can generate a “Battery Report†which will show thedesign capacity and the current capacity of your battery. For Apple users, youcan find your battery health statistics in System Settings > Hardware >Power. These two numbers will almost always be slightly different, but you willbe able to see if there is a substantial reduction in capacity. If thedisparity is great enough your computer will recommend that you change thebattery. If the short runtime bothers you a new battery will help. Power Management: Some research has shown that the total service life of abattery can be extended by not fully charging and discharging the battery. Insome cases, your laptop will have a power management tool that can be set torestrict the amount of charge the computer gives the battery. If your computeroffers this feature it is a wise idea to make sure the settings have not beenchanged to restrict the charge to a lower percentage. Software Calibration:There is also a chance that the computer's battery softwareis no longer correctly calibrated. This can be a result of swapping betweenbatteries often, not rebooting your computer often enough or simply installinga new battery. Sometimes your laptop can have trouble distinguishing between anew replacement battery and the older worn out battery. The new battery usuallyis charging to 100% even though the power gauge software doesn’t correctlyrepresent this. Often with new batteries, the operating system is unable tocorrectly measure the charge in the new battery. Your battery may be fullycharged, but the power gauge is giving you a false reading. This can be becauseof some stored data relating to the former battery. If your laptop battery isnot charging to 100% you may need to calibrate your battery. Laptop Battery Power Cycle: Power down the computer. Unplug the wall adapter. Uninstall the battery. Press and hold the power button for 30 seconds. Re-install the battery. Plug in the wall adapter. Turn on the computer. If the “Power Cycle†did not help, a full “Re-Calibrationâ€Âmight be needed. Below are the directions for calibrating the battery software: Note: If your computer will not recharge the battery at allthis calibration will not help. This process may cause the battery to failpermanently if you are unable to recharge the battery immediately following thedischarge. Laptop Battery Calibration For Windows: The goal is to run the battery to zero percent, and for thecomputer to shut off without going to sleep or going into hibernate mode. Unplug your laptop from the wall. Change the “Power Plan†> “On Battery†> "Put the Computer to Sleep" settings to“Never.†If you cannot find these settings you can turn on aninternet radio station, and let it play until the computer shuts off. (This isnot effective in all versions of Windows) After the computer shuts down, plugging in the AC adaptershould be required to turn the machine back on. Once the computer starts amessage will appear asking if you would like to start in “Safe Mode.†RestartWindows normally. Leave your computer plugged in and charge it all the wayfrom 0% to 100%. Remember to change your Power Scheme settings back to whatthey were. Laptop Battery Calibration For Mac: Charge your battery to the highest percent available. Leave the laptop plugged in for 2 hours after you reach thetopmost charge percentage. Unplug the AC adapter and use the computer until it forcesthe machine into hibernation mode. Let the computer stay in hibernation mode for 5 hours. Recharge the battery from 0% to 100%. If the re-calibration is performed correctly and does NOT fix the problem a new battery should correct the issue. Does your laptop say its charging to a certain percentagebut turn off as soon as you unplug the AC adapter? If your computer shuts down immediately after unplugging theAC adapter, your battery has failed completely. The most common reason thishappens is that the battery ran out of power completely. If a laptop batteryruns to 0% and does not get recharged right away the computer will not allowthat battery to be used again. Laptop batteries have a computer chip insideeach battery. This chip monitors the battery status and requests a charge fromthe laptop when required. The chip requires a small amount of energy from thebattery to continue functioning. When the battery loses all charge the computercan no longer communicate with the battery, and as a safety precaution, thecomputer will not allow electricity to be sent to the battery. Without thesoftware in the chip to restrict the flow of electricity there would be apotential fire threat, so the laptop refusing to use the battery is a safetyfeature. Unfortunately, this is a non-fixable state, and a new battery is theonly solution.If your original battery still charges and discharges but your Xtend replacement battery will not, the new battery may have run to 0% or it may be a defective unit. This may be an indication that you need to replace your AC Adapter. It is more difficult to charge a new battery than it is to charge an older "broken in" battery. If your AC adapter is not outputting the correct amount of power you can run your computer, and charge an old battery, but you may be unable to charge a brand new battery. If neither battery will recharge, you are most likely experiencing a failure in the laptop charge system (AC adapter, charge port, or motherboard charge circuit). Windows <=8 239 09/09/2023 Javascript Function Bearing Bearing heading latitude longitude GPS function bearing(startLat, startLng, destLat, destLng){ startLat = toRadians(startLat); startLng = toRadians(startLng); destLat = toRadians(destLat); destLng = toRadians(destLng); y = Math.sin(destLng - startLng) * Math.cos(destLat); x = Math.cos(startLat) * Math.sin(destLat) - Math.sin(startLat) * Math.cos(destLat) * Math.cos(destLng - startLng); brng = Math.atan2(y, x); brng = toDegrees(brng); return (brng + 360) % 360; } Javascript 2 09/09/2023 Windows <=8 Hardware Why Bluetooth Mouse Keeps On Disconnecting In Windows 8? Bluetooth mouse disconnect device manager power setting manual automatic When I start win8, my bluetooth mouse works perfectly but after awhile, in stop working. I turn the power of the mouse off and turn it on again to make it work again. But after awhile, it stop working again, so I turn the mouse off and on again to make it work. When the mouse stop working, the light of the mouse is still on therefore I know the mouse is still working but the notebook stops responding to the mouse. The touch pad doesn't have any problem. I don't have this problem in win7. option 1 Check Device Manager and expanded the Bluetooth menu. I right clicked on each item and selected Properties until I found the one that had a Power Management. Mine happened to be Bluetooth Module. Once I got into the Power Management setting I unchecked 'Allow the computer to turn off this device to save power'. Option2: Some exotic things can cause Bluetooth interruption. Check the physical space for any device that puts off a large amount of electromagnetic radiation, such as a big microwave or certain kinds of industrial equipment. These devices actually corrupt the radio waves that Bluetooth devices use to communicate. Battery failure is another common cause of patchy reception. If the batteries are fine, check the power settings as Windows 8 sometimes turns off devices that aren’t in use. The power settings are available from the Settings charm, or by pressing Windows+I. Some devices may simply not have a fix yet and a bit of time and patience may be required while new problems with Windows 8 are discovered and fixed. Tech support should be notified of any devices that do not yet have an available fix, so that Microsoft can begin work on a patch. Calling the device’s manufacturer for a fix may also be necessary, as there are some things Microsoft cannot fix from their end. http://windows7themes.net/fix-windows-8-bluetooth-problems-mouse-disconnects.html Option3: Bluetooth Problem In Windows 8.1 There are unusual Bluetooth problem in windows 8.1. In Windows 8.1 my Bluetooth mouse, keyboard and headphones were already paired but not able to connect. The blue tooth device connect my wireless Bluetooth devices for few Seconds and then disconnect and searching again and again. My Bluetooth device disconnect again and again and Shows a Error “The btvstack could not be started”. So follow below steps to solve this problem. [tested in dell inspiron and working for all dell laptops]. FIX: Bluetooth Not Working In Windows 8.1 Step 1: → Go to RUN (Windows Logo + R) and type “services.msc” and Enter. Step 2: → Now find “Bluetooth Support Service” and double click on it. Step 3: → In General Tab change startup type Manual to Automatic. Step 4: → Now click on Log On Tab and mark on “This Account” and type your account name or browse to find your account name. Step 5: → Now remove both hidden password and restart your PC. Step 6: → Now Re install your Bluetooth drivers. You can download latest Bluetooth drivers from your PC official website. Step 7: → If Bluetooth drivers not compatible with Windows 8.1 then follow simple steps. Step 7a: → Go to RUN(Windows logo + R) and type “regedit” to open registry editor. Step 7b: → In registry editor go to HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion Step 7c: → In Current Version find Current version and change the value 6.3 to 6.2. → Now check your Bluetooth device, If you have any question about this problem please comment below. http://www.wiknix.com/solved-bluetooth-device-not-working-in-windows-8-1/ Windows <=8 1500 09/09/2023 Css Formatting Fieldsets And Legends border box fieldset legend Web syntax:<fieldset><legend>Mytext</legend></fieldset> fieldset{border:1px solid #000000;padding:10px 10px 10px 10px;text-align:left;margin: 0px 5px 15px 20px; } legend{border:1px solid #000000;padding:2px 2px 2px 2px;text-align:left; } fieldset { display: block; margin-left: 2px; margin-right: 2px; padding-top: 0.35em; padding-bottom: 0.625em; padding-left: 0.75em; padding-right: 0.75em; border: 2px groove (internal value); } Css 1447 09/09/2023 Css Formatting Creating And Styling Borders border property color size Web border border-block border-block-color border-block-end-color border-block-end-style border-block-end-width border-block-start-color border-block-start-style border-block-start-width border-block-style border-block-width border-bottom border-bottom-color border-bottom-left-radius border-bottom-right-radius border-bottom-style border-bottom-width border-collapse border-color border-end-end-radius border-end-start-radius border-image border-image-outset border-image-repeat border-image-slice border-image-source border-image-width border-inline border-inline-color border-inline-end-color border-inline-end-style border-inline-end-width border-inline-start-color border-inline-start-style border-inline-start-width border-inline-style border-inline-width border-left border-left-color border-left-style border-left-width border-radius border-right border-right-color border-right-style border-right-width border-spacing border-start-end-radius border-start-start-radius border-style border-top border-top-color border-top-left-radius border-top-right-radius border-top-style border-top-width border-width Hello, I want to display a box around a div, and I want it's size to adjust to the text width. In Firefox, this code works as I want. In IE6/IE7, the box is as big as possible. I want to make this work for IE6 and IE7 (I actually care less about FF, because it's for an intranet). I tried different values for display and width (which only has one value anyway), but none does what I need. Here's the relevant CSS code: /* Div acting like a box */ div.box { border: solid 1px #CCCCCC; background-color: #f9f9f9; display: table; padding: 4px; margin: 4px 4px 0px 4px; } My DOCTYPE is: ============================================== ***double **** Box properties treat all block-level formatting elements like a virtual 'box'. The height and width of the box is determined by (going from inner-most dimension outward) the height and width of the contained elements (text and/or images) plus heights and widths for space around the element ('padding'), plus the height and widths created by added borders ('border'), along with exterior margin values ('margin') relative to elements exterior to the virtual box. The border properties allow borders to be defined (of course) for any element. These properties give a much wider array of display options for creating line effects around elements than has previously been possible in HTML. If a border is rendered for an element with an inherent or assigned 'inline' 'display' property status, the browser may render a border for each line if the element spans more than one line. Selector { border: [width] [line-style] [color] } Example Ext/Doc: blockquote { border: medium dashed #ff0000 } In-Line: this is a beautiful blockquote test -------------------------------------------------------------------------------- [border-width] [width] IE | N4B4 Please see the description of allowed values in the 'border-width' property. [border-style] [line-style] IE | N4B4 Please see the explanations of these values in the 'border-style' property. [border-color] [color] IE | N4B4 Please see the explanations of these values in the 'border-color' property. -------------------------------------------------------------------------------- border-top [IE | N] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Values: NA What Is It? This property controls the properties of the top border of an element. The border is drawn using the included color value. If no color is specified, the value will be taken from the 'color' property. If the property is used on an element with an inherent or assigned 'inline' 'display' property status, the browser may render a border for each line if the element spans more than one line. Usage: Selector { border-top: [width] [line-style] [color] } Example Ext/Doc: div.out { border-top: 10px outset #ffffff } In-Line: this is a beautiful test -------------------------------------------------------------------------------- [border-width] [width] IE | N Please see the description of allowed values in the 'border-width' property. [border-style] [line-style] IE | N Please see the explanations of these values in the 'border-style' property. [border-color] [color] IE | N Please see the explanations of these values in the 'border-color' property. -------------------------------------------------------------------------------- border-right [IE | N] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Values: NA What Is It? This property controls the properties of the right border of an element. The border is drawn using the included color value. If no color is specified, the value will be taken from the 'color' property. If the property is used on an element with an inherent or assigned 'inline' 'display' property status, the browser may render a border for each line if the element spans more than one line. Usage: Selector { border-right: [width] [line-style] [color] } Example Ext/Doc: em { border-right: thick double yellow } In-Line: this is a beautiful test -------------------------------------------------------------------------------- [border-width] [width] IE | N Please see the description of allowed values in the 'border-width' property. [border-style] [line-style] IE | N Please see the explanations of these values in the 'border-style' property. [border-color] [color] IE | N Please see the explanations of these values in the 'border-color' property. -------------------------------------------------------------------------------- border-bottom [IE | N] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Values: NA What Is It? This property controls the properties of the bottom border of an element. The border is drawn using the included color value. If no color is specified, the value will be taken from the 'color' property. If the property is used on an element with an inherent or assigned 'inline' 'display' property status, the browser may render a border for each line if the element spans more than one line. Usage: Selector { border-bottom: [width] [line-style] [color] } Example Ext/Doc: span { border-bottom: solid green } In-Line: this is a beautiful test -------------------------------------------------------------------------------- [border-width] [width] IE | N Please see the description of allowed values in the 'border-width' property. [border-style] [line-style] IE | N Please see the explanations of these values in the 'border-style' property. [border-color] [color] IE | N Please see the explanations of these values in the 'border-color' property. -------------------------------------------------------------------------------- border-left [IE | N] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Values: NA What Is It? This property controls the properties of the left border of an element. The border is drawn using the included color value. If no color is specified, the value will be taken from the 'color' property. If the property is used on an element with an inherent or assigned 'inline' 'display' property status, the browser may render a border for each line if the element spans more than one line. Usage: Selector { border-left: [width] [line-style] [color] } Example Ext/Doc: strong { border-left: thin groove blue } In-Line: this is a beautiful test -------------------------------------------------------------------------------- [border-width] [width] IE | N Please see the description of allowed values in the 'border-width' property. [border-style] [line-style] IE | N Please see the explanations of these values in the 'border-style' property. [border-color] [color] IE | N Please see the explanations of these values in the 'border-color' property. -------------------------------------------------------------------------------- border-width [IE | N4B3] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Value: medium What Is It? This property controls the thickness for one to four border sides. If multiple borders are specified, they are given as a space separated list of width values. Value assignments: 1 value present: All four borders are set to that value. 2 values present: Top and bottom borders receive first value while right and left borders are set to the second value. 3 values present: Top - first value, right&left - second value, bottom - third value. 4 values present: Top, right, bottom and left respectively. Usage: Selector { border-width: [width] } Example Ext/Doc: strong { border-width: thick } In-Line: this is a beautiful test -------------------------------------------------------------------------------- thin | medium | thick explicit IE | N4B3 These values set the weight (thickness) of the line used to draw the borders. The browser will determine what thicknesses these keywords shall hold. 'medium' is the default value. [length] calculated IE | N4B3 This is an explicit or relative size measurement of the thickness of the border. Consult the Units Page for acceptable length unit systems. -------------------------------------------------------------------------------- border-top-width [IE | N4B3] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Value: medium What Is It? This controls the thickness of the top border. Usage: Selector { border-top-width: [width] } Example Ext/Doc: strong { border-top-width: thin } In-Line: this is a beautiful test -------------------------------------------------------------------------------- [border-width] [width] IE | N4B3 Please see the description of allowed values in the 'border-width' property. -------------------------------------------------------------------------------- border-right-width [IE | N4B3] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Value: medium What Is It? This controls the thickness of the right border. Usage: Selector { border-right-width: [width] } Example Ext/Doc: strong { border-right-width: 10px } In-Line: this is a beautiful test -------------------------------------------------------------------------------- [border-width] [width] IE | N4B3 Please see the description of allowed values in the 'border-width' property. -------------------------------------------------------------------------------- border-bottom-width [IE | N4B3] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Value: medium What Is It? This controls the thickness of the bottom border. Usage: Selector { border-bottom-width: [width] } Example Ext/Doc: strong { border-bottom-width: medium } In-Line: this is a beautiful test Browser Notes - Netscape 4 Beta 3 Rendering of border properties on single sides (in contrast to using the shorthand 'border-width' property) cuts in to the rendering of adjacent elements. -------------------------------------------------------------------------------- [border-width] [width] IE | N4B3 Please see the description of allowed values in the 'border-width' property. -------------------------------------------------------------------------------- border-style [IE | N4B3] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Value: none What Is It? This property controls the type of line used for the border of the current element. It uses from one to four space separated values which are bound to the four borders as illustrated in the "What Is It?" section of the 'border-width' attribute. Usage: Selector { border-style: [line-style] } Example Ext/Doc: strong { border-style: groove } In-Line: this is a beautiful test none explicit IE | N4B3 Default value. No border is rendered, regardless of any 'border-width' present. dotted explicit IE | N A dotted line drawn on top of the background of the element. dashed explicit IE | N A dashed line drawn on top of the background of the element. solid explicit IE | N4B3 A solid line. groove explicit IE | N4B3 A 3-D groove is drawn based upon the [color] value. ridge explicit IE | N4B3 A 3-D ridge is rendered based upon the [color] value. inset explicit IE | N4B3 A 3-D inset is rendered based upon the [color] value. outset explicit IE | N4B3 A 3-D outset is rendered based upon the [color] value. double explicit IE | N4B3 A double line drawn on top of the background of the element. The two lines with the space between adds up to the 'border-width' properties. -------------------------------------------------------------------------------- border-color [IE | N4B3] Applicable Tags: ALL HTML Equivalent: | Inherit From Parent: No Default Value: The value of the 'color' property. What Is It? This property controls the color for one to four border sides. It uses from one to four space separated values which are bound to the four borders as illustrated in the "What Is It?" section of the 'border-width' attribute. If no color is specified, this value will be taken from the 'color' property. Usage: Selector { border-color: [color] } Example Ext/Doc: strong { border-color: blue } In-Line: this is a beautiful test [color] explicit IE | N4B3 This value specifies the color to use in creating the border. Please see the section on Color Units for more details. -------------------------------------------------------------------------------- Value Description none No border. dotted Dotted line drawn over the top of the element. dashed Dashed line drawn over the top of the element. solid Solid line. double Double line drawn over the top of the element; the width of the two lines and the space between them equals the border-width value. groove 3-D groove drawn in colors based upon color. ridge 3-D ridge drawn in colors based upon color. inset 3-D inset drawn in colors based upon color. outset 3-D outset drawn in colors based upon color. border-top-width Css 3 09/09/2023 Css Formatting Force Long Text And Urls To Wrap On All Browser break url cell CSS to force long text and urls to wrap on all browser Sometimes we need to wrap a long text and url forcefully. Without word wrap our design layout become awkward. So to do proper alignment of text, we need to wrap text. We can force a long or continuous text to wrap in a new line by defining css word-wrap property to break-word. Word-wrap is supported in all browsers like IE 5+, FF 3.5+, and Safari, Opera etc. Cross browser CSS to wrap long text and urls .wordwrap { /* wrap long text and urls */ white-space: pre; /* CSS 2.0 */ white-space: pre-wrap; /* CSS 2.1 */ white-space: pre-line; /* CSS 3.0 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ white-space: -moz-pre-wrap; /* Mozilla */ word-wrap: break-word; /* IE 5+ */ word-break:break-all /* Breaks Mid Word */ } TABLE CELL EXAMPLE-FORCES HYPERLINK WITH NO SPACES TO WRAP IN THE CELL td.converted_mod {width:90px;min-width:90px;max-width:90px;overflow:hidden; /* wrap long text and urls */ white-space: pre; /* CSS 2.0 */ white-space: pre-wrap; /* CSS 2.1 */ white-space: pre-line; /* CSS 3.0 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ white-space: -moz-pre-wrap; /* Mozilla */ word-wrap: break-word; /* IE 5+ */ } Css 2 09/09/2023 Php Date Mktime - Create New Date build date new date int mktime ( [int $hour [, int $minute [, int $second [, int $month [, int $day [, int $year [, int $is_dst]]]]]]] ) $tomorrow = mktime(0, 0, 0, date("m") , date("d")+1, date("Y")); $lastmonth = mktime(0, 0, 0, date("m")-1, date("d"), date("Y")); $nextyear = mktime(0, 0, 0, date("m"), date("d"), date("Y")+1) Php 2 09/09/2023 Css Formatting Bullets And Numbering bullets li ul ol 5.6.3 'list-style-type' Value: disc | circle | square | decimal | lower-roman | upper-roman | lower-alpha | upper-alpha | none Initial: disc Applies to: elements with 'display' value 'list-item' Inherited: yes Percentage values: N/A This property is used to determine the appearance of the list-item marker if 'list-style-image' is 'none' or if the image pointed to by the URL cannot be displayed. OL { list-style-type: decimal } /* 1 2 3 4 5 etc. */ OL { list-style-type: lower-alpha } /* a b c d e etc. */ OL { list-style-type: lower-roman } /* i ii iii iv v etc. */ 5.6.4 'list-style-image' Value: | none Initial: none Applies to: elements with 'display' value 'list-item' Inherited: yes Percentage values: N/A This property sets the image that will be used as the list-item marker. When the image is available it will replace the marker set with the 'list-style-type' marker. UL { list-style-image: url(http://png.com/ellipse.png) } 5.6.5 'list-style-position' Value: inside | outside Initial: outside Applies to: elements with 'display' value 'list-item' Inherited: yes Percentage values: N/A The value of 'list-style-position' determines how the list-item marker is drawn with regard to the content. For a formatting example see section 4.1.3. 5.6.6 'list-style' Value: [disc | circle | square | decimal | lower-roman | upper-roman | lower-alpha | upper-alpha | none] || [inside | outside] || [ | none] Initial: not defined for shorthand properties Applies to: elements with 'display' value 'list-item' Inherited: yes Percentage values: N/A The 'list-style' property is a shorthand notation for setting the three properties 'list-style-type', 'list-style-image' and 'list-style-position' at the same place in the style sheet. UL { list-style: upper-roman inside } UL UL { list-style: circle outside } LI.square { list-style: square } Setting 'list-style' directly on 'LI' elements can have unexpected results. Consider: level 1 level 2 Since the specificity (as defined in the cascading order) is higher for the first rule in the style sheet in the example above, it will override the second rule on all 'LI' elements and only 'lower-alpha' list styles will be used. It is therefore recommended to set 'list-style' only on the list type elements: OL.alpha { list-style: lower-alpha } UL { list-style: disc } In the above example, inheritance will transfer the 'list-style' values from 'OL' and 'UL' elements to 'LI' elements. A URL value can be combined with any other value: UL { list-style: url(http://png.com/ellipse.png) disc } In the example above, the 'disc' will be used when the image is unavailable. Css 2134 09/09/2023 Javascript Link Using A Button As A Hyperlink button hyperlink With an ordinary HTML link using the tag you can target the page that the link refers to so that it will display in another window or frame. Of course the same can also be done from within Javascript. To target the top of the current page and break out of any frameset currently in use you would use in HTML. In Javascript you use: top.location.href = 'page.htm'; To target the current page or frame you can use in HTML. In Javascript you use: self.location.href = 'page.htm'; To target the parent frame you can use in HTML. In Javascript you use: parent.location.href = 'page.htm'; To target a specific frame within a frameset you can use in HTML. In Javascript you use: top.frames['thatframe'].location.href = 'page.htm'; To target a specific iframe within the current page you can use in HTML. In Javascript you use: self.frames['thatframe'].location.href = 'page.htm'; or parent.right.location.href= `Loads file into window or frame right` Javascript 1624 09/09/2023 Microsoft Excel Form Button To Go To A Certain Sheet button sheet Solution 1 Alternately, if you are using a Macro Enabled workbook: Add any control at all from the Developer -> Insert (Probably a button) When it asks what Macro to assign, choose New. For the code for the generated module enter something like: Thisworkbook.Sheets("Sheet Name").Activate Microsoft Excel 2 09/09/2023 WP Customizing Turn Cache Off cache All Delete the cache folder in wp-content/cache/ and also the W3TC configuration files and folders in wp-content, such as w3-total-cache-config.php, db.php, advanced-cache.php and the w3tc folder. Delete any cache directives in wp-config.php, such as define('WP_CACHE', true); //Added by WP-Cache Manager define( 'WPCACHEHOME', '/home/public_html/wp-content/plugins/wp-super-cache/' ); //Added by WP-Cache Manager Delete any caching and expires headers directives in the root .htaccess file, too, such as bracketed by ## START W3TC ##, etc. And be sure you have cleared your own browser cache. WP 0 03/15/2025 Vb.net Function Calling A Click Event call Vb.net Events Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Button2_Click(Sender, e) End Sub BTbulkMove_Click(sender As Object, e As EventArgs) translates to BTbulkMove_Click(sender, e) BTtest_Click(sender As Object, e As EventArgs) translates to BTtest_Click(sender, e) Vb.net 0 08/21/2025 Javascript Form Input - First Caps capital first onblur Javascript 1596 09/09/2023 Css Formatting Centering A Table center table The old way to center a table was easy: ... The "align" attribute has been deprecated, however, in favor of CSS (Cascading Style Sheets), and this is a good thing. However, it's not so obvious how to center a table using CSS. The obvious way might appear to use the CSS "text-align: center;" somewhere, maybe like one of these: OR ... OR, if you get really desperate, ... None of these will work. The table itself will be left-aligned, but all the content in the table cells will be centered. Why? Because "text-align" applies to inline content, not to a block-level element like "table". Method 1 To center a table, you need to set the margins, like this: table.center {margin-left:auto; margin-right:auto;} And then do this: ... At this point, Mozilla and Opera will center your table. Internet Explorer 5.5 and up, however, needs you to add this to your CSS as well: body {text-align:center;} Method 2 If you want your table to be a certain percentage width, you can do this: table#table1 {width:70%; margin-left:15%; margin-right:15%;} And then in your HTML/XHTML, you would do this: ... Note that I was using an id to describe the table. You can only use an id once on a page. If you had many tables on a page that you wanted to be the same width and centered, you would do this in your CSS: table.center {width:70%; margin-left:15%; margin-right:15%;} And this in your HTML: ... ... Method 3 If you want your table to be of fixed width, define your CSS like this: div.container {width:98%; margin:1%;} table#table1 {text-align:center; margin-left:auto; margin-right:auto; width:100px;} tr,td {text-align:left;} Set "width:100px" to whatever width you need. "text-align: center" is there for Internet Explorer, which won't work without it. Unfortunately, "text-align: center" will center all the text inside your table cells, but we counter that by setting "tr" and "td" to align left. In your HTML, you would then do this: ... Once again, I'm using an id. If you need to center several tables the same way, use a class instead of an id. Css 1744 09/09/2023