Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataEnvironment Designer
Message
 
To
06/10/2001 13:00:49
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00565107
Message ID:
00565263
Views:
30
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform