Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

window check exist

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

Name: Anonymous 2007-10-10 13:12

im on >> VB .net 2005

Name: Anonymous 2007-10-10 13:27

On Error Resume Next

Name: Anonymous 2007-10-10 14:00

lol @ writing a bot. Just use an existing software package, like AC Tool.

Name: Anonymous 2007-10-10 14:39

Dim Cat As Long

Name: Anonymous 2007-10-10 17:50

>>3
ty
been doing vb for ages and didnt know that

also thanks trolls

Name: Anonymous 2007-10-10 18:02

>>6
That's because it's stupid not to handle errors.

Name: Anonymous 2007-10-10 19:07

You're using VB? You're supposed to post PROGRAMMING topics here.

Name: Anonymous 2007-10-11 1:41

script kiddie

Name: Anonymous 2007-10-11 8:37

>>5
Basic is a toy language.

Proof: I wrote my first program in it at 5.

Name: Anonymous 2007-10-11 9:12

wow copypasta more fag.  jesus /prog/ has turned into such a fulking broken record.

Name: Anonymous 2007-10-11 10:14

>>10
I wrote my first program in C at 5. Therefore C is a toy language.

Name: Anonymous 2007-10-11 10:20

>>10,12
I created both BASIC and C at the age of 3.

Name: Anonymous 2007-10-11 11:20

I came up with the metacircular operator all by myself at the age of 1.

Name: Anonymous 2007-10-11 11:24

Actually, I invented all of the above.

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.

Name: Anonymous 2010-11-25 11:38

Name: Anonymous 2011-02-02 23:59

Don't change these.
Name: Email:
Entire Thread Thread List