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 TouchToneTommy 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 dgs

  1. dgs

    InfoZip DLL Error?

    I've been using Info-Zip Dll's in my project for nearly a year with no problems. There are several Vb interfaces to these Dll's available free on the Web. The best in my opinion is located on www.vbaccelerator.com. Also search for my FolderView on www.Planet-Source-Code/vb/. It puts Zip's (or...
  2. dgs

    Daylight Savings Time

    You didn't say exactly what your program was doing but if it's getting GMT/UTC from a time service to set your local clock there is an easy way without having to use timezone or daylight corrections: Declare Function SetSystemTime Lib "kernel32" (lpSystemTime As SYSTEMTIME) As Long...
  3. dgs

    Filtering a List of Files

    Search for my FolderView on www.Planet-Source-Code.com/vb/ It uses fast API to return multiple files. The code is in Vb6 and uses Split to return array of filespecs. It then loops thru API's which is much faster than Dir$ and it returns much more info.
  4. dgs

    Changing the system colours for 1 VB6 app only.

    Yes you can. You need to use API calls and a Hook. Basically you save the original color scheme, set the new one and then restore the original if the program loses focus , minimized, or closed. This code goes in the form load module: 'Store handle to this form's window. gHW = Me.hwnd...
  5. dgs

    Problems formating date with FormatDateTime

    To comply with users regional config you shouldn't use a fixed format such as "mm/dd/yy". My Regional Config for Brazil is "dd-mm-yyyy". Try this: Dim DateFormat DateFormat = Format (objRS("date"),"short date")
  6. dgs

    Adding time to a file save..

    Try this: Dat2 = "Employee" & Format(Now, "mm-dd-yyyy hh:mm:ss") & ".mdb" You can also accomplish this without changing your code by changing the date separator to "-" in Control Panel "Regional Configurations". The downside is that your programs...
  7. dgs

    Zip plug-in for Visual Basic

    Source code & Dll's for Zip/UnZip available from <A HREF="http://www.vbaccelerator.com&nbsp" TARGET="_new">www.vbaccelerator.com&nbsp</A>;&nbsp;They use InfoZip Dll's which are free. Add, list, extract, fix, overwrite warning, password query, and other options. Sample programs and full source...
  8. dgs

    Zip/Arj lister source code

    Back in 1991/1992 there was source code available to list directories of Zip/Arj/Arc/Lzh/Pak/Zoo files. This was code in QBasic (no C or Asm) that opened file and looked for header signature of respective compressed files. I think this code was available with QbNews. Does anyone know where I can...

Part and Inventory Search

Back
Top