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 Chriss Miller 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: *

  • Users: tedsmith
  • Content: Threads
  • Order by date
  1. tedsmith

    Windows 7 "Start windows normally" behaviour

    Can't see a specific forum for Windows 7 so I post this odd question here because obviously the learned still inhabit this forum. If I switch off my Win7 32 bit machine prematurely I usually get the normal message to either start in safe mode of "Start windows normally". If I do nothing it...
  2. tedsmith

    Sniffing the data you are sending?

    Is there a way of using VB6 to monitor what my computer is actually sending to the internet ? Particularly when I have a browser open doing nothing or when I click on an object on the screen such as a link.
  3. tedsmith

    Copy a file using vb6 over a network through a firewall.

    One customer of mine has a local network (not connected to the web) with a firewall around his main server. He wants an automatic app to regularly copy files (reports) to the server. This is no problem to me using simple vb6 routines if there was no firewall. The single fixed port to each...
  4. tedsmith

    Tricky WINHttp question (maybe not tricky for some)

    My customer has a setup for downloading (via Web) a small amount every 15 seconds in three different batches of 40kb each. Currently I am using WinHTTP in sync mode. This waits until the web servers have done it's connection (varies between 1 and 3 secs each batch) a maximum of 9 seconds in...
  5. tedsmith

    Winsock Local port issue and network security question.

    In one of my situations that has been working without a hitch for a few years I am doing the following sequence in connecting and disconnecting to a 70 different server type devices in turn in one 30 second interval. This runs 24/7. My client app has three winsocks that cover all 72 servers...
  6. tedsmith

    Network connection hang problem.

    I have incorporated in a vb6 app a routine to automatically copy a 20mb database file to a number of network servers on a fibre optic local network at midnight every night. Problem is if the server permission has not been left open for me or it asks for a password(such as left in nobody logged...
  7. tedsmith

    Using code to find the newest file in a folder.

    I see there are are a variety of ways of finding the newest file with a particular extension in a folder. Some are very verbose needing a number of steps and a Quicksort routine or ADO and those using APIs with pages of code. Any suggestions as to what would be the neatest most direct way of...
  8. tedsmith

    Best modern way to automatically email reports

    I want to automatically email a daily status report every might from a completely unattended computer. Reading through the hundreds of old posts on this subject it seems most of them rely or routines written by others or external modules that exist in other programs (like Outlook) and there are...
  9. tedsmith

    What is it all worth.?

    Just looking back at an old thread of mine thread222-1546387 I asked the question as to what a vb6 programmer would likely charge to make for writing the program I briefly described? Nobody dared reply. This subject is rarely mentioned, perhaps due to the concern that they might be undercut next...
  10. tedsmith

    Problem querying using Now in a database table.

    I execute a simple DELETE on a table to remove old records earlier than 15 minutes ago The date column (Scheduled) is formatted as a Date/Time and contains a date and time for each row. dbS.Execute "DELETE Scheduled From MyTable WHERE Scheduled < DateAdd('n',-15,Now());" This works fine for...
  11. tedsmith

    How exactly is a random file structured?

    Searching for details of how a random file differs from a non random I keep getting such silly answers like "A random file is one that can be accessed randomly" Can anyone suggest a reference that describes byte for byte how a random file is constructed and why?
  12. tedsmith

    Annoying feature making a table from CSV file

    I want to create a database table from a CSV file. Using the following code works well EXCEPT that it interprets data in each column and sets the format of the table to what it thinks is the best (text, number or date). This is normally OK except then if one of the columns that I really want to...
  13. tedsmith

    How to find next 5 records for multiple customers

    I want to quickly show the next 4 departures from a bus timetable where some buses run every 5 minutes while others run every hour. Is it possible to select in only ONE SQL statement from a large table containing all the departures for a week? Eg if there are 100 buses then the record set should...
  14. tedsmith

    If vs if

    I previously thought IFF was a preferred way than IF ELSE ENDIF (because it only takes one line instead of 5) Testing by multiple calling the same sub with either method revealed IIF to be 3 times slower than IF ELSE END IF. This highlights a possible speed problem using IIF in SQL statements to...
  15. tedsmith

    gzip

    I am looking at receiving a gzipped CSV data from the internet. WinHTTP doesnt seem to unzip files whereas WINinet does. Is there a way of using the data received by WinHTTP and separately unzipping the text data in vb6? It is not an actual file at any stage, just data.
  16. tedsmith

    Security usng two internet ports

    I was hoping to use 2 network ports, one to one local network and another to the internet cable modem. The only internet access was an automatic update of data once a day port(80) with no human intervention. The hope was to increase security to prevent people on the internet hacking into...
  17. tedsmith

    Installing vb6 help after installation.

    After fitting a new hard disk, I recently reinstalled vb6 and sp6 recently without continuing to instal MSDN as I was in a hurry. Using Windows 7 I tried to install MSDN separately later but although it reports as installed and I can open it separately, pressing F1 in vb6 doesn't work. Can't...
  18. tedsmith

    Convertting a text CSV string to a Msaccess table.

    I notice there are many examples around of using vb6 to fill a MsAccess table with data from a FILE containing CSV data. My problem is I have the CSV data in a single string, having received it from an internet site using WinHTTP. I want to use this text to create a table so I can use SQL to do...
  19. tedsmith

    WinHTTP question

    I have been using n WinHttp with success to quickly download small amounts of code (5k) but find if the address can't be found because it is off line, the computer hangs for about 5 or so seconds. (WINDOWS 7) Is there a way of using this like it is asynchronous or any other method in Vb6 without...
  20. tedsmith

    Windows7 Home premium possible problem.

    I am having trouble using the Sysinfo.ocx with W7 Home Premium. It works with Windows 7 Professional both in the IDE and in the EXE. The error I get when I try to place it on a form in Home Premium is something like "this may not be compatible in your environment" (tried this in 2 different...

Part and Inventory Search

Back
Top