Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.
The LoadPreLoadList() procedure is called from another procedure while loading the form. Before calling LoadPreLoadList() , other COM interop objects are created and methods are called without problem, which also use an OleDBConnection (open, reading and closing it).
' Create and set preloaded list object Private Sub LoadPreLoadList(PreloadCategoryID As Integer, NoEnteringOffSiteHours As Boolean) Dim intI As Integer Dim lngCharPos As Long Dim strPreloadName As String Dim curPreldItemData As Long Dim blnComboHasBeenCleared As Boolean Dim PreloadListObj As PreloadedList Dim RFIDUserObj As RFIDUser Set PreloadListObj = New PreloadedList Set PreloadListObj.DBProperties = GetDBPreloadListProperties() blnComboHasBeenCleared = False ' Retrieve provided preloaded category ' ==> The next line is causing the Access violation If PreloadListObj.LoadPreloadedNamesList(PreloadCategoryID) Then ==> execution do not pass to this point <== ' Other process ... End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.