Damn. That sounds like a right pain. I wonder if it is oversight or by design...
I'm not sure why I would want to shut the machine down without installing the updates most of the time, so surprised the default seems to be the other way around
Oh well...
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(...
Ah...
Well, the my initial attempt using PEAR didn't work, and neither did my first attempt at using native php support.
But passing the parameters in using an array worked fine:
[/code]
<?php
$client = new SoapClient("http://realtime.nationalrail.co.uk/ldbws/wsdl.aspx");
$arr =...
No - I was using the PEAR soap library for php since it works in older versions of php. As it turns out I am running php 5, so I tried it using the native soap client support, but unfortunately got exactly the same error returned :-(
<?php
$client = new...
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,
Yes - the machine is one of a number of old bits of kit that essentially do the same job, but to balance the load across them they need to exchange status messages with one another.
This could be done by broadcast, but the original reason behind using multicast addresses seems to have...
OK:
The interface to which the machine i want to monitor is connected, and which is generating the multicast paskets, has the following interface config:
interface FastEthernet1/0/16
no switchport
ip address 1.2.3.254 255.255.255.0
ip access-group location1 in
ip multicast helper-map...
Nope...it seems that didnt't work. It looks like it only works with broadcast packets.
I did then try ip-multicast-helper to convert all multicasp packets arriving at the cisco interface to broadcast, which would then be sent to the monitoring interfacw, but either I got the commands wrong, or...
Ok - that looks hopeful.
The only problem is it looks like helper-address will only forward trafitional broadcast traffic - whiel that is effectively what our data is, it uses a multicast IP address and an unusual port.
I see that I can specify a port to be forewarded, but it's not clear if...
Hi,
The multicast traffic was, I believe, set up in the mists of time as a way of having multiple machines effectively broadcasting on different addresses on the same subnet without conflict.
The machine being monitored (or not) accepts commands on its unicast address, and I have set up a...
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...
Its fixed :-)
I added:
Dim cwd = System.IO.Directory.GetCurrentDirectory()
Dim configFile As String = "config.xml"
Dim filePath As String = cwd + "\" + configFile
To my code, rather than just relying on the fact that the config file was in the same directory as the executable.
At...
Ok, this is getting stranger and stranger...
I wondeed whether the config file was locked in some way. So I changed my writeToXML function to the following:
Private Sub saveToXML()
MsgBox(ds.GetXml())
Dim FILE_NAME As String = "test2.txt"
Dim objWriter As New...
I have investigated further, and if at the save to XML stage I do this:
MsgBox(ds.GetXml())
ds.WriteXml(filePath) , XmlWriteMode.IgnoreSchema)
Then the message box displays the correct XML, event though the data is not written to file.
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...
Yes, you are right. The problem appears to centre around a file type where the default program is already running, and merely opens another file.
For example, if I use the above code to open an xml file, it loads in internet explorer and gives me a pid.
If I run the same code again, the xml...
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.