Jump to content

tylerh27

Active Members
  • Posts

    31
  • Joined

  • Last visited

tylerh27's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I am currently trying to make a program but don't know where to start with a drag and drop function. Basically, I wish to drag an image onto my compiled program, and it displays the information of the image. I'm looking for a way to start my program by dragging an image over it and accept the image's location detail.. I'd really appreciate some help on this, for I'm not fully sure how to go about this.
  2. Thanks, that helped a lot
  3. I am having a slight problem because my buttons won't click to pull up the function its set to Can anyone tell me why my buttons won't click? its ontop of an image... #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Opt("GUIOnEventMode", 1) GUICreate("Program", 200, 180, -1, -1, $WS_SIZEBOX + $WS_SYSMENU) GUISetBkColor(0xE0FFFF) Global $n = GUICtrlCreatePic("Images\image.jpg", 20, 0) Global $1x = GUICtrlCreateButton("X", 30, 48) GUICtrlSetOnEvent($1x, "onex") GUISetState(@SW_SHOW) while 1 Sleep(1000) WEnd func onex() MsgBox(0, "Debug", "onex Works") EndFunc
  4. How can i do this? say i have a jpg image on my desktop, and i want to like: ChangeBackground("image.jpg") something like that?
  5. i looked at that, but i dont know how to do it, cause i want 1 exe file to magically create like image files lol like is there a way to recreate the image with binary or something?
  6. i want to be able to install files with my program, but im not sure how to attach the files to my program? I know how to download them online, but i want it to be able to install offline can someone help me?
  7. I wanna be able to change the icon of a shortcut that was already made on the desktop Like skype, if i want to use my own personalized icon, but i dont wanna right click and edit it, i just want a simple code that'll reconize the shortcut, and change the properties of it can anyone help me with this?
  8. I'm going to be getting text from a web server, and i'll receive something like: <font color="green">Username:</font> string for message Anyway, i wanna i wanna string replace the font tags, and make the actual text "Username" green when its displayed, but idk how to change colors. It will also be in an edit box "GuiCtrlCreateEdit" Can someone tell me how to make certain text green?
  9. I got a great idea. It would be a program to detect any potential harmful or unwanted running programs. And it would find the source of that running program, and remove it (basically like a virus removal). If anyone knew how to start on something like this, or would want to help on this project, i'd really appreciate it.
  10. I have certain strings that i want to get certain text from. like the string is $x = "stuff (more stuff)" And i wanna get just "more stuff" from the string, but i dont know what stuff and more stuff is every time. Can someone tell me how i can get the text inside the parenthesis?
  11. i feel really stupid now >.> thanks alot lol, and i set up my gui using ISN studio, and thats how it set up the parameters.
  12. It said wrong amount of paramaters? :/ $inputpass = GUICtrlCreateInput("**********",70,140,150,20,-1,512, $ES_PASSWORD)
  13. I have this list here: $list = GUICtrlCreatelist("",0,48,138,292,-1,512) GUICtrlSetData($list, $string) $b = GUICtrlCreateButton("button") GUICtrlSetOnEvent($b, "function") func function() $var = getselecteditemfromlist ;right here i wanna get the list item msgbox(0, "Selected Item", $var) endfunc How can i get what is selected? like the user clicks on one of the list items, and i wanna set just that one item to a variable when i click a button to call the function to set the variable.
  14. I have a username, and a password field. The thing is, i want the text there to disapear onfocus, and for the password field to show *** when the user types in their password, can someone tell me how to do this?
  15. i tried that, here is my code now: #include _Crypt_Startup() Local $bAlgorithm = $CALG_MD5 $hKey = _Crypt_DeriveKey("CryptPassword", $bAlgorithm) ; Declare a password string and algorithm to create a cryptographic key. $md5 = _Crypt_EncryptData("test", $hKey, $CALG_MD5) MsgBox(0, "test", $md5) _Crypt_DestroyKey($hKey) _Crypt_Shutdown() now i get a -1, what am i doing wrong?
×
×
  • Create New...