Valhalla Legends Forums Archive | Battle.net Bot Development | Invalid procedure call or argument

AuthorMessageTime
guest!
I get that error while doing this, i dont understand  :-[ :-/
[code]Shell App.Path & "\Chat(Log).txt", vbMaximizedFocus[/code]
March 8, 2003, 1:26 AM
Camel
when you use shell, you have to run a program

[code]Shell "notepad " & App.Path & "\Chat(log).txt"[/code]
March 8, 2003, 1:30 AM
ILurker
hey anyone know any other way to open a file on notepad?
March 8, 2003, 6:32 PM
Noodlez
you could run notepad and click file->open
March 8, 2003, 7:21 PM
Camel
[quote]hey anyone know any other way to open a file on notepad?[/quote]
what's wrong with what i said?
March 9, 2003, 1:08 PM
Yoni
You could use ShellExecute to open a .txt file with whatever program is associated with .txt files.
March 9, 2003, 3:14 PM
Camel
you could write your own text editor in your bot, too...
March 10, 2003, 5:21 PM

Search