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...
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...
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.
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...
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")
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...
Source code & Dll's for Zip/UnZip available from <A HREF="http://www.vbaccelerator.com " TARGET="_new">www.vbaccelerator.com </A>; They use InfoZip Dll's which are free. Add, list, extract, fix, overwrite warning, password query, and other options. Sample programs and full source...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.