Jump to content

newcomtd

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by newcomtd

  1. Hello, I have a working script to automate file upload dialogs in a web browser. The script expects an argument (the name attribute of an html input). I have no trouble running the script from the windows command line. The trouble is that I need to run this script from VB .NET code. I am using AutoItX3Lib which has a Run() function. How do I specify command line parameters in the Run() function in VB? In my VB function, I have tried: //Start Function Dim autoIT As AutoItX3Lib.AutoItX3 autoIT = New AutoItX3Lib.AutoItX3 autoIT.Run("Compiled.exe C:\pathToCompiledScript\compiledScript.exe aTestParameter") autoIT.Run("C:\Program Files\AutoIt3.exe C:\pathToAu3File\myScript.au3 aTestParameter") //End Function Neither of these throw any VB errors, they just don't execute the script. Thank you
  2. Here is the console output from the default _IEErrorHandlerRegister() : +>18:38:13 Starting AutoIt3Wrapper v.2.0.0.3 Environment(Language:0409 Keyboard:00000409 OS:WIN_XP/Service Pack 3 CPU:X64 OS:X86) >Running AU3Check (1.54.19.0) from:C:\Program Files\AutoIt3 +>18:38:13 AU3Check ended.rc:0 >Running:(3.3.2.0):C:\Program Files\AutoIt3\autoit3.exe "C:\boboPath\boboPage.au3" --> COM Error Encountered in boboPage.au3 ----> $IEComErrorScriptline = 3618 ----> $IEComErrorNumberHex = 80020009 ----> $IEComErrorNumber = -2147352567 ----> $IEComErrorWinDescription = Access is denied. ----> $IEComErrorDescription = Access is denied. ----> $IEComErrorSource = ----> $IEComErrorHelpFile = C:\WINDOWS\system32\mshtml.hlp ----> $IEComErrorHelpContext = 0 ----> $IEComErrorLastDllError = 0 --> IE.au3 V2.4-0 Warning from function _IEAttach, $_IEStatus_NoMatch --> IE.au3 V2.4-0 Error from function _IEGetObjByName, $_IEStatus_InvalidDataType --> IE.au3 V2.4-0 Error from function _IEAction, $_IEStatus_InvalidDataType +>18:38:14 AutoIT3.exe ended.rc:0 +>18:38:15 AutoIt3Wrapper Finished >Exit code: 0 Time: 1.833 I have read about other users encountering similar errors but have yet to read about a solution. Also, at the time _IEAttach is called, there are two modal dialogs (Class:InternetExplorer_TridentDlgFrame) open on top of the IEFrame; could this be the cause of the error?
  3. Hi, thanks for the suggestion. The box was unchecked, but _IEAttach still fails with the modal window.
  4. If anyone has any ideas about what would cause this, please post them. I am one of the people whose computer this is not working on. So far, this is what we have tried, without success: 1. Re-installing AutoIT 2. Re-installing Internet Explorer 3. Rebuilding WMI on my machine. Thanks for any consideration.
×
×
  • Create New...