I've just tested my example app in my A2007 VM. It still works absolutely fine no matter what border style is used.
So I disagree with your comment about there being a bug in A2007 - Sorry but I think its your code.
As you say you aren't able to look at my code for security reasons, here it is below in full...
Form A:
Code:
Option Compare DatabaseOption Explicit
Private Sub cmdClose_Click()
DoCmd.Close acForm, Me.Name
End Sub
Private Sub cmdOpenB_Click()
If CurrentProject.AllForms("FormB").IsLoaded Then DoCmd.Close acForm, "FormB"
DoCmd.OpenForm "FormB"
End Sub
Form B:
Code:
Option Compare DatabaseOption Explicit
Private Sub cmdClose_Click()
DoCmd.Close
End Sub
Private Sub Form_Load()
Dim intTop As Integer, intLeft As Integer
If CurrentProject.AllForms("FormA").IsLoaded Then
'form opens directly below Form A
intTop = Forms!FormA.WindowTop + Forms!FormA.WindowHeight
intLeft = Forms!FormA.WindowLeft
DoCmd.MoveSize intLeft, intTop
Else
'form opens at top left
DoCmd.MoveSize 0, 0
End If
End Sub
However, perhaps you could manage security by just opening files it in a non-trusted location so the code doesn't run