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 strongm 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: *

  1. xhonzi

    Zooming/Scaling a Canvas - want to center the screen or autoscroll

    Okay, I printed the important parts and will retype them here. Obvious typos are obvious typos since I'm reading from a print out. The creation of the canvas and scroll/zoom bars...
  2. xhonzi

    Perl - should I use array or hash of hashes?

    You CAN have NULL "cells" in your array, so you don't need to be too worried about that. If I were creating a .csv, I would personally go with a 2D array. But, like I said, I'm sure there are others here that would argue multiple hashes to be superior.
  3. xhonzi

    Perl - should I use array or hash of hashes?

    Arrays are best when you have a "spreadsheet's" or "table's" worth of information. Or a mini database. Hahses are better when the data is more random or Say you wanted to store in your program (or read in from a file) a bunch of info about you're clients. Name, phone, address, balance due...
  4. xhonzi

    Zooming/Scaling a Canvas - want to center the screen or autoscroll

    Yes, Perl. With basic TK. I would post the code, but it's on an unconnected system.
  5. xhonzi

    Insert data from a file to a hash

    Something more efficient than: [code] my %hash; while (<>) { my($a,$b)=split ",", $_; $hash{$a)=$b; } ? What's the format of your file? Does it include the hash key and value? Does it include things beside the keys and values?
  6. xhonzi

    Zooming/Scaling a Canvas - want to center the screen or autoscroll

    I have a canvas that is 1080 x 540. It has a 1080x540 .jpg as the back ground (it's an Earth map) and I'm placing icons on it based on Lat/Long coords. I use scale(0,0,2,2) to zoom in on the icons, and that works. I use zoom on the jpg to keep the map in scale with the icons. That all works...
  7. xhonzi

    Bind to arrow in BrowseEntry?

    Well, I'm just stupid. BrowseEntry has a "-listcmd" option that allows you to assign a subroutine when the arrow is pressed. For my purposes, this was all I needed.
  8. xhonzi

    pattern match - find exact string in db line

    This page (http://www.gossland.com/course/matching/expressions.html) suggests you can use ^ and $ to indicate the start and stop of the string, but as far as I knew, ^ matches the start of the line, and $ matches the end of the line, and not just the words.
  9. xhonzi

    Bind to arrow in BrowseEntry?

    I'm using a BrowseEntry widget to display a list of files the user can select. The user might be deleting or making copies in a shell window while using the tool, so I wanted the list to be current when the user "browses" the list on the BrowseEntry. I thought I could just bind the refresh...
  10. xhonzi

    Vista blue screened and won't boot

    It was making those beeps once upon a time (way back to yesterday afternoon!). Now it's silent unless there are no DIMMs.
  11. xhonzi

    Vista blue screened and won't boot

    Oh yeah, when I had the HDD hooked up to my laptop, I ran chkdsk on it and it ran for an hour or so and came back with no errors. At this point in time it has to be the memory, motherboard or CPU, right?
  12. xhonzi

    Vista blue screened and won't boot

    The only time it makes sounds is when I try to boot it without the DIMMs.
  13. xhonzi

    Vista blue screened and won't boot

    Crap. Like I said before, it's not really making "boot up noises" at all. The power light comes on, the fans start, but the keyboard gets no power and the "harddrive doesn't spin.
  14. xhonzi

    Vista blue screened and won't boot

    Thanks, I'll take a look at that. KERNEL_APC_PENDING_DURING_EXIT Stop: 0x00000020 ^This was the error I was trying to remember earlier. I guess I did pretty good.
  15. xhonzi

    Vista blue screened and won't boot

    I have a 2 year old Acer Desktop (2GHZ CPU, 2GB RAM, 300 GB SATA HDD, pre-installed Vista, etc..) that blue-screen o'death'ed earlier this week (while I was doing my weekly Zune synch (no Zune jokes, please :) )). It may be the first time I've seen this particular PC BSOD. Anyway, I assumed it...
  16. xhonzi

    Undefined Function &quot;DIR&quot; in expression?

    Okay, so better googling for better living. Turns out the one sandbox reg key was set to 2, but the one at HKEY_LOCAL_MACHINE\Software\Microsoft\Office\12.0\Access Connectivity Engine\Engines was set to 3. It was blocking certain "unsafe" functions like "dir". Set it to 2 and I'm back in...
  17. xhonzi

    Undefined Function &quot;DIR&quot; in expression?

    So, I just copied an Access 2003 DB to a new computer running Access 2007. Everything seems to have converted over okay except for any of my queries running 'Dir'. I get the error, 'Undefined Function "DIR" in expression' whenever I try to run the query. Is there a different syntax or...
  18. xhonzi

    complex referals/variable names like string(cnt)

    So, I have a series of boxes names string0, string1, string2, etc. I'm trying to assign values in a loop and I wanted to refer to them as string(cnt) and that doesn't work in VBA. Is there a proper syntax for this in VBA, or do I just need to go back to Perl? for cnt = 0 to 10...
  19. xhonzi

    Continuous Forms - Setting picture by ID

    I did find a little more after I posted last night and it seems that Access 2007 has gotten rid of the "bloating" issue that prevented linking images from working before. Does anyone know if you "link" vs "embed" does it still put the file in the DB? I didn't really care about the .bmp VS .jpg...
  20. xhonzi

    Continuous Forms - Setting picture by ID

    So, I've successfully been using this in a ton of single forms: me.pictureBox.picture="C:\pictures\" & id & ".jpg" Now I'm trying to use it in a continuous form and I'm having that old chestnut of a problem where if I update the .picture value of the box, I change it for every record on the...

Part and Inventory Search

Back
Top