Bazı Arkadaşlar Bu konuları Çok Merak Ediyor Ve Bazı Programlar Yapmak İstiyor Bende Bu konuyla İlgili Bilgilerimi Paylaşıyoum Bende Bu Bilgileri İnternetten Buldum Ve açıklayarak Sizlere Sunuyorum İlk Önce Gerekli API'ler Kod: Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" As Integer Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" As Integer Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Integer, ByVal hWnd2 As Integer, ByVal lpsz1 As String, ByVal lpsz2 As String) As Integer Bu 3 Şeyi Kullanıcas Şimdi Bunları Kullanmak İçin Mesela FinWindow Kullanmak için Pencerelerin Hwnd'sini Bulmak Gerek Bunun için Windows Spy Kullanabiliriz Eğer Visual Studio Yüklü olmayanlar için RapidShare: 1-CLICK Web hosting - Easy Filehostingbunu Kullanabilrisniz Ama Visual Studio Tools Araçları içindeki Spy Daha iyidir Resmi Ordaki Yuwarlak şeyi Mesela ebenzerin Textboxuna Sürükleyerek Gerekli bilgilere Ulaşabilirsniz Finwindow için Pencerenin İsmini handlesini Finwindowex'de pencerenin içindeki buyon, tet, listbox ws. ws bulmak için kullanılır windows spy'da ebenzerin text'ismi 'Edit''dir SenMessage İse mesajı yollamak için mesela +open +close ws. ws Ve birde Virtual Key code Onuda şole werim Kod: Public Const VK_LBUTTON As Long = &H1 'Left mouse button004. Public Const VK_RBUTTON As Long = &H2 'Right mouse button 005. Public Const VK_CANCEL As Long = &H3 'Control-break processing 006. Public Const VK_MBUTTON As Long = &H4 'Middle mouse button , NOT contiguous with L & RBUTTON 007. 008. Public Const VK_XBUTTON1 As Long = &H5 'Windows 2000/XP: X1 mouse button, NOT contiguous with L & RBUTTON 009. Public Const VK_XBUTTON2 As Long = &H6 'Windows 2000/XP: X2 mouse button, NOT contiguous with L & RBUTTON 010. 011.'&H7 unassigned 012. 013. Public Const VK_BACK As Long = &H8 'BACKSPACE key 014. Public Const VK_TAB As Long = &H9 'TAB key 015. 016.'&H0A to &H0B reserved 017. 018. Public Const VK_CLEAR As Long = &HC 'CLEAR key 019. Public Const VK_RETURN As Long = &HD 'ENTER key 020. 021. Public Const VK_SHIFT As Long = &H10 'SHIFT key 022. Public Const VK_CONTROL As Long = &H11 'CTRL key 023. Public Const VK_MENU As Long = &H12 'ALT key 024. Public Const VK_PAUSE As Long = &H13 'PAUSE key 025. Public Const VK_CAPITAL As Long = &H14 'CAPS LOCK key 026. 027. Public Const VK_KANA As Long = &H15 'Input Method Editor Kana mode 028. Public Const VK_HANGEUL As Long = &H15 'IME Hanguel mode , old name - should be here for compatibility 029. Public Const VK_HANGUL As Long = &H15 'IME Hangul mode 030. Public Const VK_JUNJA As Long = &H17 'IME Junja mode 031. Public Const VK_FINAL As Long = &H18 'IME final mode 032. Public Const VK_HANJA As Long = &H19 'IME Hanja mode 033. Public Const VK_KANJI As Long = &H19 'IME Kanji mode 034. 035. Public Const VK_ESCAPE As Long = &H1B 'ESC key 036. 037. Public Const VK_CONVERT As Long = &H1C 'IME convert 038. Public Const VK_NONCONVERT As Long = &H1D 'IME nonconvert 039. Public Const VK_ACCEPT As Long = &H1E 'IME accept 040. Public Const VK_MODECHANGE As Long = &H1F 'IME mode change request 041. 042. Public Const VK_SPACE As Long = &H20 'SPACEBAR 043. Public Const VK_PRIOR As Long = &H21 'PAGE UP key 044. Public Const VK_NEXT As Long = &H22 'PAGE DOWN key 045. Public Const VK_END As Long = &H23 'END key 046. Public Const VK_HOME As Long = &H24 'HOME key 047. Public Const VK_LEFT As Long = &H25 'LEFT ARROW key 048. Public Const VK_UP As Long = &H26 'UP ARROW key 049. Public Const VK_RIGHT As Long = &H27 'RIGHT ARROW key 050. Public Const VK_DOWN As Long = &H28 'DOWN ARROW key 051. Public Const VK_SELECT As Long = &H29 'SELECT key 052. Public Const VK_PRINT As Long = &H2A 'PRINT key 053. Public Const VK_EXECUTE As Long = &H2B 'EXECUTE key 054. Public Const VK_SNAPSHOT As Long = &H2C 'PRINT SCREEN key 055. Public Const VK_INSERT As Long = &H2D 'INS key 056. Public Const VK_DELETE As Long = &H2E 'DEL key 057. Public Const VK_HELP As Long = &H2F 'HELP key 058. 059. Public Const VK_0 As Long = &H30 '0 key 060. Public Const VK_1 As Long = &H31 '1 key 061. Public Const VK_2 As Long = &H32 '2 key 062. Public Const VK_3 As Long = &H33 '3 key 063. Public Const VK_4 As Long = &H34 '4 key 064. Public Const VK_5 As Long = &H35 '5 key 065. Public Const VK_6 As Long = &H36 '6 key 066. Public Const VK_7 As Long = &H37 '7 key 067. Public Const VK_8 As Long = &H38 '8 key 068. Public Const VK_9 As Long = &H39 '9 key 069. 070.'&H40 unassigned 071. 072. Public Const VK_A As Long = &H41 'A key 073. Public Const VK_B As Long = &H42 'B key 074. Public Const VK_C As Long = &H43 'C key 075. Public Const VK_D As Long = &H44 'D key 076. Public Const VK_E As Long = &H45 'E key 077. Public Const VK_F As Long = &H46 'F key 078. Public Const VK_G As Long = &H47 'G key 079. Public Const VK_H As Long = &H48 'H key 080. Public Const VK_I As Long = &H49 'I key 081. Public Const VK_J As Long = &H4A 'J key 082. Public Const VK_K As Long = &H4B 'K key 083. Public Const VK_L As Long = &H4C 'L key 084. Public Const VK_M As Long = &H4D 'M key 085. Public Const VK_N As Long = &H4E 'N key 086. Public Const VK_O As Long = &H4F 'O key 087. Public Const VK_P As Long = &H50 'P key 088. Public Const VK_Q As Long = &H51 'Q key 089. Public Const VK_R As Long = &H52 'R key 090. Public Const VK_S As Long = &H53 'S key 091. Public Const VK_T As Long = &H54 'T key 092. Public Const VK_U As Long = &H55 'U key 093. Public Const VK_V As Long = &H56 'V key 094. Public Const VK_W As Long = &H57 'W key 095. Public Const VK_X As Long = &H58 'X key 096. Public Const VK_Y As Long = &H59 'Y key 097. Public Const VK_Z As Long = &H5A 'Z key 098. 099. Public Const VK_STARTKEY As Long = &H5B 'Windows Start Key 100. Public Const VK_LWIN As Long = &H5B 'Left Windows key 101. Public Const VK_RWIN As Long = &H5C 'Right Windows key 102. Public Const VK_APPS As Long = &H5D 'Applications key 103. Public Const VK_CONTEXTKEY As Long = &H5D 'Context-Menu Key 104. 105.'&H5E reserved 106. 107. Public Const VK_SLEEP As Long = &H5F 'Computer Sleep key 108. 109. Public Const VK_NUMPAD0 As Long = &H60 'Numeric keypad 0 key 110. Public Const VK_NUMPAD1 As Long = &H61 'Numeric keypad 1 key 111. Public Const VK_NUMPAD2 As Long = &H62 'Numeric keypad 2 key 112. Public Const VK_NUMPAD3 As Long = &H63 'Numeric keypad 3 key 113. Public Const VK_NUMPAD4 As Long = &H64 'Numeric keypad 4 key 114. Public Const VK_NUMPAD5 As Long = &H65 'Numeric keypad 5 key 115. Public Const VK_NUMPAD6 As Long = &H66 'Numeric keypad 6 key 116. Public Const VK_NUMPAD7 As Long = &H67 'Numeric keypad 7 key 117. Public Const VK_NUMPAD8 As Long = &H68 'Numeric keypad 8 key 118. Public Const VK_NUMPAD9 As Long = &H69 'Numeric keypad 9 key 119. Public Const VK_MULTIPLY As Long = &H6A 'Multiply key 120. Public Const VK_ADD As Long = &H6B 'Add key 121. Public Const VK_SEPARATOR As Long = &H6C 'Separator key 122. Public Const VK_SUBTRACT As Long = &H6D 'Subtract key 123. Public Const VK_DECIMAL As Long = &H6E 'Decimal key 124. Public Const VK_DIVIDE As Long = &H6F 'Divide key 125. Public Const VK_F1 As Long = &H70 'F1 key 126. Public Const VK_F2 As Long = &H71 'F2 key 127. Public Const VK_F3 As Long = &H72 'F3 key 128. Public Const VK_F4 As Long = &H73 'F4 key 129. Public Const VK_F5 As Long = &H74 'F5 key 130. Public Const VK_F6 As Long = &H75 'F6 key 131. Public Const VK_F7 As Long = &H76 'F7 key 132. Public Const VK_F8 As Long = &H77 'F8 key 133. Public Const VK_F9 As Long = &H78 'F9 key 134. Public Const VK_F10 As Long = &H79 'F10 key 135. Public Const VK_F11 As Long = &H7A 'F11 key 136. Public Const VK_F12 As Long = &H7B 'F12 key 137. Public Const VK_F13 As Long = &H7C 'F13 key 138. Public Const VK_F14 As Long = &H7D 'F14 key 139. Public Const VK_F15 As Long = &H7E 'F15 key 140. Public Const VK_F16 As Long = &H7F 'F16 key 141. Public Const VK_F17 As Long = &H80 'F17 key 142. Public Const VK_F18 As Long = &H81 'F18 key 143. Public Const VK_F19 As Long = &H82 'F19 key 144. Public Const VK_F20 As Long = &H83 'F20 key 145. Public Const VK_F21 As Long = &H84 'F21 key 146. Public Const VK_F22 As Long = &H85 'F22 key 147. Public Const VK_F23 As Long = &H86 'F23 key 148. Public Const VK_F24 As Long = &H87 'F24 key 149. 150.'&H88 to &H8F unassigned 151. 152. Public Const VK_NUMLOCK As Long = &H90 'NUM LOCK key 153. Public Const VK_SCROLL As Long = &H91 'SCROLL LOCK key 154. 155.'NEC PC-9800 kbd definitions 156. Public Const VK_OEM_NEC_EQUAL As Long = &H92 '= key on numpad 157. 158.'Fujitsu/OASYS kbd definitions 159. Public Const VK_OEM_FJ_JISHO As Long = &H92 '"Dictionary" key 160. Public Const VK_OEM_FJ_MASSHOU As Long = &H93 '"Unregister word" key 161. Public Const VK_OEM_FJ_TOUROKU As Long = &H94 '"Register word" key 162. Public Const VK_OEM_FJ_LOYA As Long = &H95 '"Left OYAYUBI" key 163. Public Const VK_OEM_FJ_ROYA As Long = &H96 '"Right OYAYUBI" key 164. 165.'&H97 to &H9F unassigned 166. 167.'VK_L & VK_R - left and right Alt, Ctrl and Shift virtual keys. 168.'Used only as parameters to GetAsyncKeyState and GetKeyState . 169.'No other API or message will distinguish left and right keys in this way. 170. Public Const VK_LSHIFT As Long = &HA0 'Left SHIFT key 171. Public Const VK_RSHIFT As Long = &HA1 'Right SHIFT key 172. Public Const VK_LCONTROL As Long = &HA2 'Left CONTROL key 173. Public Const VK_RCONTROL As Long = &HA3 'Right CONTROL key 174. Public Const VK_LMENU As Long = &HA4 'Left MENU key 175. Public Const VK_RMENU As Long = &HA5 'Right MENU key 176. 177. Public Const VK_BROWSER_BACK As Long = &HA6 'Windows 2000/XP: Browser Back key 178. Public Const VK_BROWSER_FORWARD As Long = &HA7 'Windows 2000/XP: Browser Forward key 179. Public Const VK_BROWSER_REFRESH As Long = &HA8 'Windows 2000/XP: Browser Refresh key 180. Public Const VK_BROWSER_STOP As Long = &HA9 'Windows 2000/XP: Browser Stop key 181. Public Const VK_BROWSER_SEARCH As Long = &HAA 'Windows 2000/XP: Browser Search key 182. Public Const VK_BROWSER_FAVORITES As Long = &HAB 'Windows 2000/XP: Browser Favorites key 183. Public Const VK_BROWSER_HOME As Long = &HAC 'Windows 2000/XP: Browser Start and Home key 184. 185. Public Const VK_VOLUME_MUTE As Long = &HAD 'Windows 2000/XP: Volume Mute key 186. Public Const VK_VOLUME_DOWN As Long = &HAE 'Windows 2000/XP: Volume Down key 187. Public Const VK_VOLUME_UP As Long = &HAF 'Windows 2000/XP: Volume Up key 188. Public Const VK_MEDIA_NEXT_TRACK As Long = &HB0 'Windows 2000/XP: Next Track key 189. Public Const VK_MEDIA_PREV_TRACK As Long = &HB1 'Windows 2000/XP: Previous Track key 190. Public Const VK_MEDIA_STOP As Long = &HB2 'Windows 2000/XP: Stop Media key 191. Public Const VK_MEDIA_PLAY_PAUSE As Long = &HB3 'Windows 2000/XP: Play/Pause Media key 192. Public Const VK_LAUNCH_MAIL As Long = &HB4 'Windows 2000/XP: Start Mail key 193. Public Const VK_LAUNCH_MEDIA_SELECT As Long = &HB5 'Windows 2000/XP: Select Media key 194. Public Const VK_LAUNCH_APP1 As Long = &HB6 'Windows 2000/XP: Start Application 1 key 195. Public Const VK_LAUNCH_APP2 As Long = &HB7 'Windows 2000/XP: Start Application 2 key 196. 197.'&HB8 to &HB9 reserved 198. 199. Public Const VK_OEM_1 As Long = &HBA 'Windows 2000/XP: For the US standard keyboard, the ';:' key 200. Public Const VK_OEM_PLUS As Long = &HBB 'Windows 2000/XP: For any country/region, the '+' key 201. Public Const VK_OEM_COMMA As Long = &HBC 'Windows 2000/XP: For any country/region, the ',' key 202. Public Const VK_OEM_MINUS As Long = &HBD 'Windows 2000/XP: For any country/region, the '-' key 203. Public Const VK_OEM_PERIOD As Long = &HBE 'Windows 2000/XP: For any country/region, the '.' key 204. Public Const VK_OEM_2 As Long = &HBF 'Windows 2000/XP: For the US standard keyboard, the '/?' key 205. Public Const VK_OEM_3 As Long = &HC0 'Windows 2000/XP: For the US standard keyboard, the '` ' key 206. 207.'&HC1 to &HD7 reserved 208.'&HD8 to &HDA unassigned 209. 210. Public Const VK_OEM_4 As Long = &HDB 'Windows 2000/XP: For the US standard keyboard, the ' }' key 213. Public Const VK_OEM_7 As Long = &HDE 'Windows 2000/XP: For the US standard keyboard, the 'single-quote/double-quote' key 214. Public Const VK_OEM_8 As Long = &HDF 'Used for miscellaneous characters; it can vary by keyboard. 215. 216. Public Const VK_ICO_F17 As Long = &HE0 '&HE0 reserved 217. 218.'Various extended or enhanced keyboards 219. Public Const VK_OEM_AX As Long = &HE1 ' AX key on Japanese AX kbd 220. Public Const VK_ICO_F18 As Long = &HE1 'OEM specific 221. Public Const VK_OEM_102 As Long = &HE2 ' "<>" or "\|" on RT 102-key kbd. 222. Public Const VK_OEM102 As Long = &HE2 ' "<>" or "\|" on RT 102-key kbd. 223. Public Const VK_ICO_HELP As Long = &HE3 ' Help key on ICO 224. Public Const VK_ICO_00 As Long = &HE4 ' 00 key on ICO 225. 226. Public Const VK_PROCESSKEY As Long = &HE5 'Windows 95/98/Me, Windows NT 4.0, Windows 2000/XP: IME PROCESS key 227. Public Const VK_ICO_CLEAR As Long = &HE6 'OEM specific 228. Public Const VK_PACKET As Long = &HE7 'Windows 2000/XP: Used to pass Unicode characters as if they were keystrokes. The VK_PACKET key is the low word of a 32-bit Virtual Key value used for non-keyboard input methods. For more information, see KEYBDINPUT, SendInput, WM_KEYDOWN, and WM_KEYUP 229. 230.'&HE8 unassigned 231. 232.'Nokia/Ericsson definitions (0xE9-F5 OEM specific) 233. Public Const VK_OEM_RESET As Long = &HE9 234. Public Const VK_OEM_JUMP As Long = &HEA 235. Public Const VK_OEM_PA1 As Long = &HEB 236. Public Const VK_OEM_PA2 As Long = &HEC 237. Public Const VK_OEM_PA3 As Long = &HED 238. Public Const VK_OEM_WSCTRL As Long = &HEE 239. Public Const VK_OEM_CUSEL As Long = &HEF 240. Public Const VK_OEM_ATTN As Long = &HF0 241. Public Const VK_OEM_FINISH As Long = &HF1 242. Public Const VK_OEM_FINNISH As Long = &HF1 243. Public Const VK_OEM_COPY As Long = &HF2 244. Public Const VK_OEM_AUTO As Long = &HF3 245. Public Const VK_OEM_ENLW As Long = &HF4 246. Public Const VK_OEM_BACKTAB As Long = &HF5 247. 248. Public Const VK_ATTN As Long = &HF6 'Attn key 249. Public Const VK_CRSEL As Long = &HF7 'CrSel key 250. Public Const VK_EXSEL As Long = &HF8 'ExSel key 251. Public Const VK_EREOF As Long = &HF9 'Erase EOF key 252. Public Const VK_PLAY As Long = &HFA 'Play key 253. Public Const VK_ZOOM As Long = &HFB 'Zoom key 254. Public Const VK_NONAME As Long = &HFC 'Reserved 255. Public Const VK_PA1 As Long = &HFD 'PA1 key 256. Public Const VK_OEM_CLEAR As Long = &HFE 'Clear key geçelim Kullanıma Notepad Örneği Wereceğim Çünkü Pcmde Ebenzer fian ko yok Kod: Dim hWndNotepad As Long hWndNotepad = FindWindow Dim hWndTextbox As Long hWndTextbox = FindWindowEx(hWndNotepad, 0&, "Edit", vbNullString) Yani Dim hWndNotepad As Long hWndNotepad = FindWindow Dim hWndTextbox As Long hWndTextbox = FindWindowEx(hWndNotepad, 0&, "spyda Bulduğumuz Text, list, butonun İsmi", vbNullString) Ben Kendime Şöyle Bir Örnek Yaptım Kod: Const WM_SETTEXT = &HC 'Text Temizleme Dim whwnd As Integer Dim hwnd_box As Integer Dim comment As String = TextBox1. Text whwnd = FindWindow hwnd_box = FindWindowEx(whwnd, 0&, "edit", vbNullString) If hwnd_box <> 0 Then SendMessage(hwnd_box, WM_SETTEXT, 0&, "+open") End If Send Message (hwnd , virtualkey code,(burada göndereceğiniz integer değer olmadaığı için 0&),"String Değer" Tamamen Kendi Anlatımıımdır...

teşekkürler bende Visual Studio 2010 Ultimate var ama Visual Studio Tools içinde SPY yok nedendir? Peki başka programdaki textboxına yazılan bilgiyi nasıl alırım? Örneğin: Teamviewer daki PC ID numarasını nasıl öğrenebilirim? -

Vb. Net türkçe görsel eğitim seti bilan varmı?

tesekkurler dostum emegıne saglık benım ısımeyaramaz ama baya emek sarfetmıssın +k

programlara disaridan mudahale icin güzel anlatim, anlatan arkadas knight online private server daki ebenzer programindan esinlenmis +open vs vs. ufak tefek degisiklerle vb6 dada kullanilabilir... . net kütüphanesinden birsey cekmiyor sonucta api...