Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I create a exe file without the need of the form?
Message
De
29/05/2002 14:17:40
 
 
À
29/05/2002 14:01:50
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00662637
Message ID:
00662652
Vues:
17
This message has been marked as the solution to the initial question of the thread.
1. Open new project of Standart EXE type.
2. Add standart module to the project (Project|Add module)
3. Right-click in project explorer of the Form1 and remove it.
4. In module add:

Sub Main()
{type your code here}
End Sub

5. In Project properties (Project|Project1 Properties, if you do not change the project name) on the General tab in "Startup object" combobox select "Sub Main".

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform