[Solved] Begin method with module

Post

Posted
Rating:
#1 (In Topic #386)
Avatar
Regular
Philippe734 is in the usergroup ‘Regular’
Hello,
I wish to start my application with a module and not with form. When I set the class to start to my module, the I get the error "begin method not found" (in my language: french). See the picture bellow. How can start a project with a module and not with a form?
Image

(Click to enlarge)


Image

(Click to enlarge)


 Linux & Android enthusiast - France
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Guru
cogier is in the usergroup ‘Guru’
Try adding a 'Main' routine in the Module, it works for me.
Essayez d'ajouter une routine "Main" dans le module, ça marche pour moi.

Code (gambas)

  1. Public Sub Main()
  2.  
  3.  
Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Regular
Philippe734 is in the usergroup ‘Regular’

cogier said

Try adding a 'Main' routine in the Module, it works for me.
It works, thanks.

 Linux & Android enthusiast - France
Online now: No Back to the top
1 guest and 0 members have just viewed this.