User Profile

Collapse

Profile Sidebar

Collapse
daChf
daChf
Last Activity: Sep 8 '08, 04:58 PM
Joined: Mar 4 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • daChf
    replied to Determine OS
    in .NET
    That worked. Thanks a lot!
    See more | Go to post

    Leave a comment:


  • daChf
    started a topic Determine OS
    in .NET

    Determine OS

    I'm working on a website and need to know whether the user is running Mac OSX or not. How can I do this? Ideally, my code would look something like:

    Code:
    if (using osx) {
      // make slight change
    }
    Thanks in advance.
    See more | Go to post

  • daChf
    started a topic Listing Files in Directory
    in .NET

    Listing Files in Directory

    I'm writing a C# Web application which needs to get a list of the pages on the server. I've tried using:

    Code:
    DirectoryInfo di = new DirectoryInfo("http://localhost");
    FileInfo[] fi = di.GetFiles("*.aspx", SearchOption.AllDirectories);
    but it says that URI formats are not supported. Is there another way I can get them?

    Thanks in advance.
    See more | Go to post

  • daChf
    replied to SOAP::Lite XML hash
    in Perl
    Thanks for the reply.

    However, when I tried it it said that it couldn't call method "valueof" on an unblessed reference. Does this mean that I have to create some sort of object class?
    See more | Go to post

    Leave a comment:


  • daChf
    replied to SOAP::Lite XML hash
    in Perl
    Code:
    my $returned = $server
      ->call(SOAP::Data->name('RetrieveMessageReportDetails')->attr({xmlns => 'https://www.onecallnow.com/WebService/'}) =>
       SOAP::Data->name('LoginToken')->value($loginToken)->type('s:string'),
       SOAP::Data->name('MessageID')->value($messageID)->type('s:int'),
       SOAP::Data->name('PageNumber')->value($pageNumber)->type('s:int')
      );
    ...
    See more | Go to post

    Leave a comment:


  • daChf
    started a topic SOAP::Lite XML hash
    in Perl

    SOAP::Lite XML hash

    I'm attempting to write an application using SOAP::Lite that receives XML code from a WebService. The XML code should look like the following:

    Code:
    <Message MessageID="12345" PageNumber="1" PageCount="1" MinRecord="1" MaxRecord="123">
      <Deliveries>
        <Delivery Attempts="1" CallCreditsUsed="1.00">
          <DeliveryStatus>Delivered
    ...
    See more | Go to post

  • daChf
    replied to 64-bit string
    in Perl
    I've tried a number of things. Among them are:

    Code:
    @array = vec($string, 0, 64);
    and

    Code:
    @array = pack('q', $string);
    The 'pack' didn't recognize the 'q', and I'm using Perl v5.10.0.
    See more | Go to post

    Leave a comment:


  • daChf
    started a topic 64-bit string
    in Perl

    64-bit string

    I'm trying to use a SOAP Lite web service. In one of the function calls, a parameter must be a string converted to a 64-bit binary array. I can't seem to convert the string.
    See more | Go to post
No activity results to display
Show More
Working...