Jump to content

objectivescott

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by objectivescott

  1. Thank you very much! Had the same problem on one of our SMS servers this afternoon. Noticed that SAV 9 never picked any of the AutoIt compliations up as virii though. Weird. Upgraded to rev 52 on SAV 10 a few minutes ago and restored the content from quarantine. Back in business! -Scott
  2. Hey. I really appreciate your guidance. I guess I'll break down and start using the Beta.
  3. I created an application which is very similar to that. I'm unsure if there is a better way or not (probably there is)...but as the items get added to the listbox, I am also writing them to the ini file. That way when the application closes, you don't have to read all of the current values in your listbox. Likewise, if you later create a "remove" button, you can have it search for the line in the ini file and remove it just as easily. This way, your listbox is always in sync with the file. Let me know if you would like to see a sample. I'd post it now, but i'm not at home.
  4. Okay, so I guess I should be using the beta eh? Is that what the rest of the folks here use? Also, what do you think is the most efficient way to clear all listviewitem entries in a listbox?
  5. This works for me. I think your problem is that the RUNASSET user id that you're using doesn't have access to your VBS file. You shouldn't have to modify any local account passwords to get this working. I am assuming, of course that this is a windows domain and that the server is a member of such domain. -Scott
  6. Thank you for the response. I took a second good look at the example above, however it refers to #include <guilistview.au3>. I don't have that in my include folder. Is that a standard "include" that somebody makes and everyone uses in general? If so, where do I get it? Thanks, Scott
  7. Can anyone give me a simple way to sort a GuiCtrlCreateListView "listbox" alpabetically? I'm reading in a number of rows and columns into the "listbox" from a file (not necessarily in alphabetical order). I have looked at the example provided in the help and it refers to $LVS_SORTDECENDING...which only gives me errors. I noticed there is nothing to autosorting a GuiCtrlCreateList...works great all the time no matter what you do! Does anyone have a simple way to do this?
  8. Thanks guys. The thing is...the folder may not even be available. For example, the folder may reside on a server which is currently offline or unavailable. Attrib will not work for this. That is why I was careful to say "writable"...as opposed to "have write permissions". Creating a file and then deleting it afterwards is a little silly and unclean I think.
  9. I need to have my script check a folder to ensure it is writable before the script attempts to write data files there. Does anyone have a good way of doing this already? Up to this point, I've been using the FileOpen code and getting its return value of -1 if the folder is not writable. The problem with this is, the script must create a file there first in order to give me this answer. I would like a clean way of checking a folder for writablility. Any thoughts? -S. Williams
×
×
  • Create New...