Search results

  1. Crazy Squirrel

    XML with VB6 and PHP - amending possible?

    I'm thinking of changing some datafiles we use in one of our programs (made with VB6) to XML. I know how to read and write xml with VB6, and don't think i'll have any problems working out how to read and write with PHP. However in either is there any way to amend an xml file, i.e. add a...
  2. Crazy Squirrel

    My mb needs a 8pin power plug!

    Cheers guys, up and running :D :D :D
  3. Crazy Squirrel

    My mb needs a 8pin power plug!

    Cool, thanks guys. First pins being the ones nearest the back of the mb nearest the external ports?
  4. Crazy Squirrel

    My mb needs a 8pin power plug!

    I've got a Hiper HPU-4K580-MK Type R 580W and a Abit Fatal1ty FP-IN9 Sli nForce 650. The nForce needs a 8pin (4x2) power connector, my hiper doesn' have a 8pin plug. The hiper does have a 6pin (3x2) and two 4pins (2x2). One of the 4pins is in my PCI-E gfx card. The MB also has a standard 4pin...
  5. Crazy Squirrel

    Upgrade Advice from Athlon64 3000 (Sckt:939)

    Cool thanks all for the suggestions so far, so summing up: X2 4600 for ~£140 FX-60 for ~£200 Opteron 165/170/175 for ~£100/120/150 (new) ASRock 4CoreDual-VSTA + 6300 core2duo for ~£165 There any benchmarks which look at the Opteron? Looking at Toms I get the picture of: 6300core2duo...
  6. Crazy Squirrel

    Upgrade Advice from Athlon64 3000 (Sckt:939)

    I got a sckt939 Athlon64 3000 (might be 3200 can't recall lol), 2gb ram (Geil PC3200 I think), and a GF7800 (PCI-E). I'm going to be getting Vista Home Premium, and don't really want to spend much money on upgrading. I seem to have 3 options: Get a high end 939 X2 - However these seem to be...
  7. Crazy Squirrel

    Rounding in PHP

    With a bit of quick tinkering i've got this working, though it needs a tidy up and is probably quite slow. function super_round($moneyfloat = null) { $a = strpos($moneyfloat, "."); if ($a > 0) { $a = $a + 3; if (substr($moneyfloat,$a,1) == "5") { $moneyfloat = sprintf("%01.3f"...
  8. Crazy Squirrel

    Rounding in PHP

    That's doing it to bankers rounding which I don't want but yes the principle seems to work. I've tweaked it so if the 1/1000 position is 5 then change it to a 9 and then round, else just round. Playing with it now and so far so good......
  9. Crazy Squirrel

    Rounding in PHP

    Thanks for trying, that doesn't seem to work either :(
  10. Crazy Squirrel

    Rounding in PHP

    safe_round(37.535, 2) = 37.53 :(
  11. Crazy Squirrel

    Rounding in PHP

    I was thinking it might be a precision problem, my issue is that I need it to match up with the calculations done by Visual Basic, which doesn't seem to have a precision problem with it's currency datatype. Hmm
  12. Crazy Squirrel

    Rounding in PHP

    Whats the deal with PHP rounding? I've tried 4.3.2 on a win2k IIS box and 4.4.2 on a win2k apache box, and seem to have strange results using round($x , 2): 27.115 goes to 27.12 27.125 goes to 27.13 125.245 goes to 125.25 125.244 goes to 125.24 37.535 goes to 37.53 <----- Errrr why...
  13. Crazy Squirrel

    VB Determining a wav file codec

    Hi Using VB6 I need to be able to find out what codec a wav file is using. I.e. in win2k if you right click a wav file, goto properties, summary, it tells you the audio format, e.g. "DSP Group TrueSpeech(TM)". I basically need to know if a wav is in that format or not. Any ideas? Thanks!
  14. Crazy Squirrel

    Trend Micro CSM SMB - help!

    Anyone else got Trend Micro Client Server Messaging SMB? Just installed v3 sp1 (was on v2 and the upgrade went pear shaped so started from scratch) For some reason I can't see the messaging config in the dashboard, tried everything on the knowledge base to no avail. I can view the scanmail...
  15. Crazy Squirrel

    VB6 getting emails from Outlook

    I've got a VB6 program, and Outlook (Exchange mailbox). I want my program to be able to make a copy of specific emails, i.e. I'm thinking: the user drags an email from their inbox and drops it on to my app. My app gets the info and stores a copy to file somewhere, preferably as an .msg file...
  16. Crazy Squirrel

    MySQL Backup - seems a little quick?

    Seems like a more managed backup solution, never used it myself. Personally mysqldump does what I need I don't think this thing would help me, hardly every have a problem with mysql anyway (touch wood).
  17. Crazy Squirrel

    MySQL Backup - seems a little quick?

    Daily out of hours backup of the data directory plus a daily dump using mysqldump. mysqldump DBNAME -uUSERNAME -pPASSWORD > FILENAME mysqldump doesn't backup in the conventional way but creates a text file with the 'create table' and 'insert into' lines necessary to restore the tables from...
  18. Crazy Squirrel

    o2 active promo?

    My Allowance is 1mb and my online billing has always shown my usage as 0 even though i've done quite a bit of surfing. Someone told me a while back they wern't charging yet. Then I got that text u just quoted and now not happy, don't want to pay for something i've been getting for free!!
  19. Crazy Squirrel

    so who mants the HDA x-plosion then? :D

    Yeah I purchased on 27th Feb for £75.95+vat Me too it seems. Loving the difference between PCM and DDLive/DTS but havn't really been able to hear the difference between DDLive and DTS connect yet.
Back
Top Bottom