Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: dbrb2
  • Order by date
  1. dbrb2

    Installing pening updated from the command line?

    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...
  2. dbrb2

    Installing pening updated from the command line?

    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...
  3. dbrb2

    Postgresql cursor loop

    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...
  4. dbrb2

    Mysql - distance from a point

    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(...
  5. dbrb2

    php - using API to UK live rail departure boards

    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 =...
  6. dbrb2

    php - using API to UK live rail departure boards

    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...
  7. dbrb2

    php - using API to UK live rail departure boards

    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...
  8. dbrb2

    forwarding multicast packets from one interface to another

    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...
  9. dbrb2

    forwarding multicast packets from one interface to another

    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...
  10. dbrb2

    forwarding multicast packets from one interface to another

    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...
  11. dbrb2

    forwarding multicast packets from one interface to another

    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...
  12. dbrb2

    forwarding multicast packets from one interface to another

    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...
  13. dbrb2

    forwarding multicast packets from one interface to another

    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...
  14. dbrb2

    Multicast forwarding between interfaces on ns50

    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...
  15. dbrb2

    OpenFileDialog string problems

    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...
  16. dbrb2

    OpenFileDialog string problems

    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...
  17. dbrb2

    OpenFileDialog string problems

    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.
  18. dbrb2

    OpenFileDialog string problems

    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...
  19. dbrb2

    Getting process id for file opened with default program

    I have fixed it by using some code I found online that finds the default program for a given filetype, and then calling the program explicitly.
  20. dbrb2

    Getting process id for file opened with default program

    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...

Part and Inventory Search

Back
Top