Jump to content

AtomR

Members
  • Posts

    19
  • Joined

  • Last visited

Everything posted by AtomR

  1. Thank you belini. I had already disabled task manager, change password, log out etc options using the Group Policy Editor ( gpedit.msc) and it does help a lot. It is only possible to access the windows "Switch User" option but I'd prefer to loose all trace of the Windows User Interface for a more polished system. If all else fails this is exactly the solution that I will opt for. @FireFox: I've downloaded that HotKey UDF and tried. It does indeed capture ctrl alt del but it does not stop windows from taking me to the option screen. Adding the return -1 to the line you mentioned only had the effect that it will not call the function I register but windows options screen is still opened.
  2. I will Firefox. I was just asked to do other tasks today so I really didnt dedicate any time to this problem. I have, however, registered the WM_DEVICECHANGED and it does indeed detect usb plug/unplug but for some reason I am getting uMsg and lParams completelly different from the ones on the MSDN help and those values don't really change regardless of whether i'm plugging or unpluggin and even regardess of what type of usb device is being plugged.
  3. Out of curiosity how could I disable the controll key, NewPlaza?
  4. Shutting down the machine would work perfectly. My system already detects the existence of as internal usb pen to make sure it is a valid copy in case someone tries to clone it. (this part is not helpfull at all) Since I have one keyboard always on I suppose I could count how many keyboards are detected at any given time and if a second one is detected it shuts down. Thank you both so much for the help.
  5. But the machine will be placed in "third party" locations that are usually as careless with the hardware as the their custmoers are. An alarm really wouldn't be a solution. The better solution would be to actually not have a usb port available but I feel that is what would make us stand out from the "competition". So i'm leaving that as the last possible solution should all else fail. [edit] A less gracefull solution would be to remove task manager option from the ctrl+alt+del screen :S
  6. Thank you for your reply. I'm not entirelly sure how that can help. I'm not good at interpreting MSDN help especially when dealing with system specific functions. I am relativelly proficient at high level programing but programing at a low level is not really something i'm really good at. I suppose i'd have to use AutoIt to open the "User32.dll" and use the WM_DEVICECHANGE method to know when a device has connected. But how can I possibly block the device with autoit after it has been detected?
  7. Good afternoon, I am working on a project for my company that has a machine with a computer that provides limited access to a system i'm working. The system has a monitor, a keypad and a usb port available but everything else is inside a box and the public can't access it (unless they pry it open but that's an entirelly different problem). I need to prevent users from being able to connect a keyboard and then using ctrl + alt + del to close my program and access the computer. Basically the usb port is supposed to allow users to save data using our ui into flash drives and nothing else. I cannot use blockinput because of the keypad and even then i think it would not block ctrl alt del. I can't use User Group Policy because it would also block the keypad. Are there any ideas on how I could accomplish this? The machine is a bar and cofee shop machine where people can enjoy some tabletop-like games and nothing malicious at all.
  8. Good afternoon, I'm having the strangest problem i've ever seen a program do. I hope you guys can help me. I am using Patric Pendelin's 7z32 UDF to extract files to a specific folder. It works virtually flawlessly except for one small problem I am having with one single folder. The program extracts the contents of the 7z file sucessfully if I have an explorer window showing the contents of that folder. If explorer isn't showing the contents of that folder then the program reports success but when you check the files they aren't there. Other 7z files extract perfectly to other folders. The UDF is the one found here http://www.autoit.de/index.php?page=Thread&threadID=7002 And i'm using Windows XP Home Edition and AutoIT v3.3.8.1. Has anyone ever come accross this frustrating problem? Thank you, AtomR
  9. I had to use a work around. Rename all extensionless files to a fictitious extention before archiving and reverting the process when extracting. it's working for now ^^ Thank you for all your help.
  10. That UDF points to an oriental website :S Moreover I'm already using one UDF to extract and another UDF to compress.... and writing this i just realized that that does explain why I can extract the files but not compress them XD Unfortunatelly I couldn't get the same UDF to do both. The UDF I'm using to compress is the one on this thread. The one i'm using to extract is one I found in a deutch autoit forum. I'm going to keep looking. Thanks for your help.
  11. I use 7zip to create a .7z file with the contents of the folder and it works well. Using this udf I can even extract these files from the .7z. I just can't repack them :/ The UDF creates an empty .7z file.
  12. Hello, I have a problem using this UDF. I don't know if i'm missing anything but I am unable to zip a certain type of files. For instance I have a folder with filenames of the type "savegame@profile0#aggrichqqiwq". They don't have extentions, are very long and have @ and #. Is there any know issues with long filenames and invalid symbols it suports? I can't think of any other reason it would return a success message but then not have anything inside the 7z file it created. It's working perfectly with other folders. [edit] Upon further testing it seems that it doesn't support files that don't have extensions. So file 1.bmp is added and file 1 isn't added.
  13. Good morning, Sorry if it has alreadty been asked and answered but I have searched and didn't find an answer. When I started working with AutoIT I was told that it is possible to extract the code from an autoit exe. I have finished a project and would like to make sure no one else has access to my code or at least has a very hard time getting it. Is the UPX compression a good enough compression to prevent said access or should I be getting a 3rd party compression (encryption?) software. And if so can you recomend one? Thank you fr your attention. Take care
  14. Thank you for your help. I turned on my other monitor and there it was. Weird part is I haven't been using dual screens for weeks now. Thought when you turn off a monitor desktop 2 stops existing but I was wrong and must have somehow shoved scite window in there. Sorry I didn't reply earlier but sometimes I can only use forums in read only for some reason
  15. Hi, I apologise if I am writing on the wrong forum for SciTe support but I was using SciTe as I do on a daily basis and suddenly my SciTe stopped showing it's windows. I press the SciTe icon on my task bar and the SciTe opens up a tab on the bar but it's like it minimized. I press right mouse button and slect maximize but I still can't see the window. Has anyone seen this problem before? I searched for this but I didn't find any solution. I created a new user account and on that account the editor works perfectly. What can be the problem? I don't remember installing anything on the other account that would result in this. Any help is appreciated. Thanks
  16. I found the problem. It was my fault. I was using: $sql = _MySQLConnect("xxx","xxx","xxx","instance7146.db.xeround.com.:5528") I happened to look at the function signature in the udf and saw that there are other default values one of them is the port. $sql = _MySQLConnect("xxx","xxx","xxx","instance7146.db.xeround.com.","{MySQL ODBC 5.1 Driver}",5528) This is how it should have been all along.
  17. Good afternoon, I have been using this udf for a few months now and I am very pleased with it. I was using a my sql server hosted on my machine. But now I deployed the database to a remote server and I get the following error "[MySQL][OBDC 5.1 Driver] Unknown MySQL server host ' instance7146.db.xeround.com.:5528 ' (11004)". What do you think is the problem? That server address is working properly in the connection string of my php but not in autoit. I've even tried adding an http:// to the server name but the result is the same. The server is running mysql server version 5.1.42. Is it possible that that host address cannot be resolved due to the dot right after the .com? Any help would be appreciated. Thank you [edit] I don't think the problem is with my ODBC driver because the mysql server version on my localhost is 5.5.16-log so i'm assuming it's a more recent server version.
  18. I have that but for some stupid reason decided to use _MySqlConnect before declaring the handler. Thank you for opening my eyes
  19. Really awesome UDF here. I'm almost done coding my autoit script. Actually i'm in tests phase. On the most recent test I decided to see if my script would run properly when MySql server was not running (to account for all possibilities). I would've thought that _MySqlConnect would try to connect and then return an error when it couldn't. But my program crashes with a $Objconn.open ("DRIVER=" & $sDriver & ";SERVER=" & $sServer & ";DATABASE=" & $sDatabase & ";UID=" & $sUsername & ";PWD=" & $sPassword & ";PORT="&$iPort) $Objconn.open ("DRIVER=" & $sDriver & ";SERVER=" & $sServer & ";DATABASE=" & $sDatabase & ";UID=" & $sUsername & ";PWD=" & $sPassword & ";PORT="&$iPort)^ ERROR What can I do so that my program does not crash and properly catch the error instead? Thanks for your atention.
×
×
  • Create New...