window check exist
1
Name:
Anonymous
2007-10-10 13:11
I have a prog i use to send keys to a specific window name..
but if i enter a invalid name e.g (Untitled - Noetpad) it will fall over with argument exception( of course.. )
is there somthing that i can use to check the window exists before
appactive(winname)
pseudo
if winname does_not_exist then
msgbox("blah does not exist")
else
appactive(winname)
SendKeys.Send(keystxt.Text)
end if
thanks
2
Name:
Anonymous
2007-10-10 13:12
im on >> VB .net 2005
3
Name:
Anonymous
2007-10-10 13:27
On Error Resume Next
4
Name:
Anonymous
2007-10-10 14:00
lol @ writing a bot. Just use an existing software package, like AC Tool.
5
Name:
Anonymous
2007-10-10 14:39
Dim Cat As Long
6
Name:
Anonymous
2007-10-10 17:50
>>3
ty
been doing vb for ages and didnt know that
also thanks trolls
7
Name:
Anonymous
2007-10-10 18:02
>>6
That's because it's stupid not to handle errors.
8
Name:
Anonymous
2007-10-10 19:07
You're using VB? You're supposed to post PROGRAMMING topics here.
9
Name:
Anonymous
2007-10-11 1:41
script kiddie
10
Name:
Anonymous
2007-10-11 8:37
>>5
Basic is a toy language.
Proof: I wrote my first program in it at 5.
11
Name:
Anonymous
2007-10-11 9:12
wow copypasta more fag. jesus /prog/ has turned into such a fulking broken record.
12
Name:
Anonymous
2007-10-11 10:14
>>10
I wrote my first program in C at 5. Therefore C is a toy language.
13
Name:
Anonymous
2007-10-11 10:20
>>10,12
I created both BASIC and C at the age of 3.
14
Name:
Anonymous
2007-10-11 11:20
I came up with the metacircular operator all by myself at the age of 1.
15
Name:
Anonymous
2007-10-11 11:24
Actually, I invented all of the above.
16
Name:
Anonymous
2007-10-11 11:38
But we are still waiting on the language M. I'm wondering if anyone actually put some thought into this. Pity.
17
Name:
Anonymous
2010-11-25 11:38
20
Name:
Anonymous
2011-02-02 23:59