![]() |
Link to MS Access |
Post Reply ![]() |
Author | |
visualise01 ![]() Newbie ![]() Joined: 20 September 2009 Location: United Kingdom Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() Posted: 12 October 2009 at 1:10pm |
Does anyone have any samples linking to a MS Access Database with VB. NET frontend?
|
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
Our VB.NET calendar sample shows exactly how to do this. Run the sample, choose File->Open and select MS Access Database.
|
|
![]() |
|
visualise01 ![]() Newbie ![]() Joined: 20 September 2009 Location: United Kingdom Status: Offline Points: 7 |
![]() ![]() ![]() ![]() ![]() |
There must be a simpler example availabe - I have used the code supplied with the examples, but cant get it to work. All I want to do it be able to add new calendar events to the calendar and database and have existing events load into the calendar from the database, also have recurring work.
I dont want options to pick datasource. |
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
strConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source='C:\Program Files\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v13.2.0\Samples\Calendar\events.mdb';"
If CalendarControl.DataProvider.IsOpen Then CalendarControl.DataProvider.Save() End If CalendarControl.SetDataProvider(strConnectionString) If Not CalendarControl.DataProvider.Open Then If Not CalendarControl.DataProvider.Create Then System.Diagnostics.Debug.Assert(False, "") End If End If CalendarControl.Populate() |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |