ExclamationCan't make a .exe file with VB.

Posts 110 of 10 · Page 1 of 1
Can't make a .exe file with VB.
i can't make a .exe file with vb when I click on make project1.exe i get an error with:

compile error:
sub or function not defind.

this is my code:
Code:
Private Sub Command1_Click()
Timer1.Interval = 1
End Sub

Private Sub Command2_Click()
Timer1.Interval = 0
End Sub

Private Sub Timer1_Timer()
Call WriteALong("WarRock", &H7DB120, 1120403456)
End Sub
and with the red part i get a error!
what does the module say that you add in the end
end function or
end function (>>>>>>>>>>>>>>>>>>>>>>>>>>)
when is says end function (>>>>>>>>>>>>>>>>>>)
you should remove the (>>>>>>>>>>>>>>>>)
here is a screen of it:
Naamloosf.jpgattachment deleted · 29 downloads before removal
i can think of 2 possible cases. the timer might have been removed from the form, or you forgot to add the module wich holds the writealong function..

after seeing the screenshot, i'm sure it's the module.

WriteALong is defined by the module. add the module and that code, then it will work.
i have it right now

the module was deleted
lmao happened to me too one time
There IS a section for this...use it!
if you need the module code is in the Red Eye's tutorial
Posts 110 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?