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 Mike Lewis 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. keithf01

    Printing an .htm document using the WebBrowser control

    I'm starting to think that a windows update has killed this function. I have another PC that is not connected to the internet so it does not recieve windows updates. The code still works on this box but not on the boxes that have recieved windows updates. But I could be wrong, it's been know to...
  2. keithf01

    Printing an .htm document using the WebBrowser control

    The code below used to work but is now throwing the following error: 'Trying to revoke a drop target that has not been registered'. //Code Start WebBrowser1.Navigate strFilePath ' stall logic here to allow browser to navigate to ' file (strfilepath is the location of the file)...
  3. keithf01

    ADODB error - Object was open

    I guess that re-specifying the connection wouldn't be too much overhead but like I said, it normally works. Keith
  4. keithf01

    ADODB error - Object was open

    The weird thing is is that this is a program that has worked in the past. It's been running for at least 2 years. It gets this error sometimes and works other times. It only seems to get it when I'm running it in debug mode. It's a scheduled task that works fine the rest of the time. I have a...
  5. keithf01

    ADODB error - Object was open

    Sorry. Has anyone run into this? I use the same recordset over in a processing loop by just closing it. ' CHECK RECORDSET STATE, IF OPEN THEN CLOSE If objAdoMP08RecordSet3.State = adStateOpen Then objAdoMP08RecordSet3.Close End If strQuery = "select...
  6. keithf01

    ADODB error - Object was open

    Has anyone run into this? I use the same recordset over in a processing loop by just closing it. ' CHECK RECORDSET STATE, IF OPEN THEN CLOSE If objAdoMP08RecordSet3.State = adStateOpen Then objAdoMP08RecordSet3.Close End If strQuery = "select pieces_per_pad_qty...
  7. keithf01

    Print barcode label through USB using shell

    Looking for a way to print a barcode label to a zebra printer through a USB using the shell command the shell command. Here is the code that works for com or LPT1 shell "cmd /c copy testfile.ext LTP1" or shell "cmd /c copy testfile.ext COM1" Thanks in advance for any help. Keith
  8. keithf01

    Changing from binary to ascii with the INET control

    Is there a way to set the file transfer mode from binary to ascii using the inet control? I have looked over the properties and methods but can't find anything. Thanks in advance. Keith
  9. keithf01

    Kill process using PID

    Thanks paulbent. I appreciate it. Keithf01
  10. keithf01

    Kill process using PID

    Can someone provide some sample code on how to kill a running process using the PID? I already have a function to determine if the process is running and return the PID. This is for when a process has crashed and is still running in the background. I have an automated program that downloads new...
  11. keithf01

    How do I simulate a mouse click?

    The easiest way to perform a button click from inside another sub or funtion is to call the function. If you want to run a command button named cmdClearForm from inside another function just call cmdClearForm_Click and the code will run. Good luck. KF
  12. keithf01

    determine if a process is running

    Can anyone supply some VB sample code or know of an API that can determine if a certain process is currently running? I am kicking off a remote exec session from a mainframe job using Entire X, which in turn starts a client based MES program, logs in and starts a specified job which queries a...
  13. keithf01

    determine if a process is running

    Can anyone supply some VB sample code or know of an API that can determine if a certain process is currently running? I am kicking off a remote exec session from a mainframe job using Entire X, which in turn starts a client based MES program, logs in and starts a specified job which queries a...

Part and Inventory Search

Back
Top