I'm currently writing a program that has module and several class modules. However I found that the main form coding unable to go to the appropriate section of the coding in one of the class module. The following is the main form coding where the reference is.
dlgNewArchive.Show 1, Me
If dlgAccept Then
comp.NewArchive rel.comfile, rel.comfold, rel.inc_file, rel.inc_subfold
Here is the coding should be executed or referred:
Public Function NewArchive(CompFile As String, Rootfolder As String, IncludeFiles As Boolean, IncludeSubfolders As Boolean) As Long
On Error Resume Next
Screen.MousePointer = vbArrowHourglass
xCompFileNew = CompFile
xRootFolder = Rootfolder
xExist = False
If IncludeFiles Then
ScanTree xRootFolder, IncludeSubfolders
xListView.SmallIcons = xIml
NewArchive = nFiles
Screen.MousePointer = vbNormal
When I perform step into of the debugging, as the debugger checks dlgAccept If statement, the line "comp.NewArchive rel.comfile, rel.comfold, rel.inc_file, rel.inc_subfold" is checked and then ignore with exiting the if statement. Is there any coding problem occurred here?
I hope to receive any comments ASAP.