When a W7 machine has pending updates, I can install them by choosing the "install updates and shut down" from the desktop
However, if I call "shutdown /t 0" from the command line of the same machine, the updates are not installed - the machine justs shuts down
Is there a way to shutdown and...
Hi,
I'm new to postgresql. I'm trying to get a function that will loops through a cursor, and update every row. I have tried various permutations of the below, but am getting syntax errors. Can anyone suggest what is wrong with the given example?
DECLARE
curs1 CURSOR
FOR
SELECT *
FROM...
Hello,
I'm trying to get my head around MySQL GIS functionality. Can anyone tell me why the below query, lifted from a mysql example page, returns NULL whenever it is run? I am trying to use something similar to query a table based on distance from a point.
SELECT ROUND(GLength(...
Hello - I wonder if someone can give a bit of adice. I came across the API to the UK live train departure boards recently - although I understand it has been around for a while. The interface is described here:
http://www.livedepartureboards.co.uk/ldbws/
As my first attempt at retreiving some...
Hello
We have a Cisco 3750
A machine on one interface generates udp packets addressed to a multicast IP and specified port, containing various status information in their payloads. I want to forward all these multicast packets to another interface on the same switch, so they can be monitored...
We have a netscreen-50
On eth4 is a subnet containing various devices that use multicast to communicate.
We have a set of policies set up that allow certain machines on the subnet connected to eth1 to see the network on eth4, and used MIPs so that the source address from those machines on...
Hello,
Sorry to post twice in two days...
I have a datagridView component, that uses as its source an XML file.
Private Sub loadFromXML()
Try
ds.ReadXml(filePath, XmlReadMode.InferSchema)
DataGridView1.DataSource = ds.Tables(0)
Catch ex As Exception...
Hi,
If I open a specific program, using the following:
Dim myProcess As System.Diagnostics.Process = System.Diagnostics.Process.Start("calc.exe")
then I can access the pid for that process using myProcess.id, and use it to manipulate the process.
If however I just specify a file or URL I...
Hello - apologies if any of what follows is very basic / wrong...
I am trying to set up a tunnel, using l2tp, with no encryption, between a Cisco 2960 switch and a linux box. I was just interested what, if any, impact the tunnel would have on network performance - jitter, latency etc, and it...
Hello,
I'm having some trouble with my regular expressions...
I want to match a date using preg match, where the delimiter may be one of either " ", "/","-","." or "\"
$dateMatch = '/^\s*([0-9]{1,2})[//// \\\.-]+([0-9]{1,2})[//// \\\.-]*([0-9]{0,4})/';
preg_match($dateMatch,$str,$match);
I...
Hi,
I havent used VB for ages - but last time I did there was a simple winsock component with a "datareceived" event that made asynchronous client writing a doddle.
Now it seems this has been removed - I can send and receive synchronously, but have not managed to get asynchronous callbacks...
Evening. I am trying to capture the output of a mySQL query into a bash variable, without much luck...
I have:
#!/bin/bash
HOURS=0
MINS=0
SECS=0
SMTP=""
DB_USER="xxxx"
DB_PASS="yyyy"
TABLE="zzzz"
QUERY='mysql -u ${DB_USER} -p${DB_PASS} -e"<<EOF
SELECT update_time
FROM...
Hi,
I havent used VB much recently. I'm reading dome data from a TCP server using the TcpClient class. This is read into a byte array. However, it turns out the data as received has a parity bit set, so converting it directly into ASCII on't work for many characters. I need to find a way to set...
Hi - I'm having saome trouble with my htaccess redirect, and hoped someone could help:
I have a php page here:
http://bbarker.co.uk/animate/gpx.php
I am trying to ensure that anybody visiting this directory gets sent to this page automatically. However, I also want to ensure that if the...
Hi - I have a php script on server A into which I can pass paramters via the URL. This script produces HTML which is then displayed in the users browser.
Server B has a page that want to make use of some of the info within this HTML.
My first solution was to use javascript and ajax. I issued...
Hi,
I have a directory full of photos, all taken at similar times with the same camera, and all of which I can view the exif data on using various programs. On my webpage, I extract the GPS info and a few other bits into an XML file for futher crunching. But for some reason the function fails on...
Hi,
Previously when I have needed thumnails of images in an album I have created a thumbs direcotyr and filled it with resized images. I then realised I could use the embedded exif thumnails, and simplify things considerably. But if there is no thumbnail for whatever reason (what reasons might...
Hi,
I wonder if anyone can help. I have been playing around with css for layout as well as basic sytles, and have a problem with IE...
The first problem I had was that in all other browsers the margin of a content layer within my container layer started from the edge of the container, while in...
Hi... I've been having some issues with VPN connection to my work via my Netgear router. Their tech support people told me:
"
...you are using the Nortel VPN
client. The Nortel client uses a
encapsulation with the PPTP protocol. Because of the encryption attached
to the PPTP protocol, the...
Hi...
I am writing to a richtextbox, and currently once I have
finished entering data, to updfate it I set the contents to "" then append the new data with a loop.
This causes an annoying flickering - ideally I would just set the cursor position to the start of the text box and let it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.