• Welcome to Valhalla Legends Archive.
 

Invalid procedure call or argument

Started by guest!, March 07, 2003, 07:26 PM

Previous topic - Next topic

guest!

I get that error while doing this, i dont understand  :-[ :-/
Shell App.Path & "\Chat(Log).txt", vbMaximizedFocus

Camel

#1
when you use shell, you have to run a program

Shell "notepad " & App.Path & "\Chat(log).txt"

ILurker

hey anyone know any other way to open a file on notepad?

Noodlez

#3
you could run notepad and click file->open

Camel

#4
Quotehey anyone know any other way to open a file on notepad?
what's wrong with what i said?

Yoni

#5
You could use ShellExecute to open a .txt file with whatever program is associated with .txt files.

Camel

#6
you could write your own text editor in your bot, too...