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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by OpenWater

  1. OpenWater

    How to simulate slow traffic

    Hi all, I have a strange request hear. Usually everybody would ask for more speed, rather then to slow down traffic. However I am developing Websites on a Windows ME system, using a local Apache, MySQL and Perl installation, so that I can test everything while I am working on the code. As the...
  2. OpenWater

    Get current login user

    Hi Folks, can anybody help please ... I am using a Apache webserver with some directories using a .htaccess file for user authentification. Now I am looking for a way, on how to obtain the current authentification username. Lets say my directory requires the users 'Miller' or 'Smith'...
  3. OpenWater

    Rounding

    Just use the int function after you have added 0.5. e.g. 4.6 + 0.5 = 5.1 -> int(5.1) = 5 4.49 + 0.5 = 4.99 -> int(4.99) = 4 Bye Werner
  4. OpenWater

    Create an array that resides at a given address in memory

    Hi the function you should look at is the CopyMemory function of the win32 api. Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) In your case, you have first to dimension the buffer() array to the...
  5. OpenWater

    Get Active-X control to overlap the form it is on

    I would suggest to put both the textbox and flush button in an activex control a a container for both. In addition you should us a form with no borders (like the splash screen example). Then you need only to obtain a standard window handle of the textbox control, and use that handle together...
  6. OpenWater

    can it be done

    Does the mainframe have a listening ftp-port? If so, you could use the MS internet control, and ftp the file onto the mainframe. However this methode requires, that you store the file first on your local harddisk, and the transfer it via ftp, unless you don't want to use a standard winsocket...
  7. OpenWater

    How to save a date as a number?

    To woyler, There is nothing like a standard for a julian day. There are also such called 'Modified Julian Days', which either use a different start of the day (midnight or midday), or they are using different epochs. But they have all one thing in common, and that is, that they represent a...
  8. OpenWater

    Keep form focused and on top

    Hi Shane, it seems that you have to get into the WIN32API in order to get it done. It would need to much room to explain the functions which are required. But as a good start, you should search the web for the Windows message WM_ACTIVATEAPP and the API Function SendMessage or SendNotifyMessage...
  9. OpenWater

    perl date check

    Hi wallflower, the simple way is to convert the dates into a string of the format 'YYYY-MM-DD' and use the alphabetical compare operators (gt= greater then; lt= less then; eq= equal etc.). If you would also need to know the number of days between the two given dates you may wana use the below...

Part and Inventory Search

Back
Top