Jump to content

BlueScreen

Active Members
  • Posts

    180
  • Joined

  • Last visited

BlueScreen's Achievements

Prodigy

Prodigy (4/7)

0

Reputation

  1. Yes I have. But I want him to choose a FILE NOT a folde.
  2. Hi, Is there a way I can make force the user (using FileOpenDialog) to choose a file from 1 specific folder only and not to choose an other one ? I know I can run an IF statement after the choose and extract the folder from the filename path, but is there a way to do it w/o the IF? Thanks
  3. Hmmm. Yeah, it works, but each time the function is called the top of the log is shown. This is not user-friendly, since your reading of the log is interrupted each time the function is called. Is there an other way? Thanks,
  4. Hi all, Check this out. How can I prevent the user to click in the Edit window? If he clicks there, the numbers will be written where the mouse is... Thanks, Global $InfoWindow CreateLogGui () For $i=1 to 100 SendToLog ($i) Sleep (200) Next Func CreateLogGui () GUICreate("Logger",400,200,-1,-1) $InfoWindow=GUICtrlCreateEdit ("", -1,-1,400,200) GUISetState () EndFunc Func SendToLog ($Text) GUICtrlSetData($InfoWindow,$Text & @CRLF,1) GUISetState () EndFunc
  5. All! You are all the best Thanks
  6. Hi developers, Does anyone know a good and active C programming forum? Thanks
  7. Thanks, I'll try it!
  8. Thanks, Mega, The client is not a part of the network. The client will have to talk with the WAN. I can, however, run the server on an external PC, not a PC which is connected to the network. A regular PC with a real IP, this should be easier for the client to talk with the server, no? I assume the client will only have to give the server's real IP address and that's it, no? Thanks:)
  9. Hi all, I have read the examples on the Help regarding TCPsend and TCPrecv. First, nice chat! This is really cool! My question is how to deal with firewalls and NAT? Assuming I'm the server and I have an address 192.168.2.2 (I'm behide NAT and router) and I have a client with a different address (probably also behide a NAT) how to deal with this? Thanks, dudes...
  10. Thanks, Valuater, can't I use the CPU ID, isn't it unique also?
  11. Thank you all for your replies... I'll check the threads...
  12. Hi Guys, Does anybody know how to extract the unique ID of a PC. I would like to use the unique CPU ID. From where can I get this info using AutoIt? Thanks
  13. Thanks, guys for your help. I'll check the thread...
  14. Hi all, I have created 2 arrays and want to sort them. I have created a function which receives the array and sort it. Its working well, but I want to be able to print using a msgbox that the array is sorted. I would like to do it inside the function. How can I get the name of the parameter introduced to the func? #include <array.au3> Dim $myArray1[3] Dim $myArray2[3] $myArray1[0]="98" $myArray1[1]="67" $myArray1[2]="12" $myArray2[0]="44" $myArray2[1]="22" $myArray2[2]="11" sort ($myArray1) sort ($myArray2) Func sort ($array) _ArraySort ($array,0,0,0) msgbox (0,"","The array: " & $array & " was sorted.") EndFunc
×
×
  • Create New...