Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataEnvironment Designer
Message
 
À
06/10/2001 13:00:49
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00565107
Message ID:
00565263
Vues:
32
>Can you give an example, I cant seem to make it work.

Here it is.

1- Add a standard module to your project and copy this code (changing the connection string to whatever you want):
Public Sub main()
DataEnvironment1.Connection1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Projets VB\NWIND.MDB;Persist Security Info=False"
Form1.Show
End Sub,/pre>

2- Change the startup object from your project properties to "sub main".
3- Run.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform