Can any body please help me with this.
I don't know what is wrong here. when I run my program, only one form appear on screen. Both forms surpose to appear one after another. Or maybe something is wrong with my the code.

Module Module1
    Public Sub Main()
        Dim About As New Help_AboutForm
        About.ShowDialog()

        Dim main As New Form1
        main.ShowDialog()

    End Sub
End Module

Recommended Answers

All 3 Replies

Hi,
Can you try this one...
Module Module1
Public Sub Main()
Dim About As New Help_AboutForm
About.Show vbmodal

Dim main As New Form1
main.Show vbmodal

End Sub
End Module

hope it works.

newvbguy

NewVBguy, I tried your code, but it didn't really work. Thank anyway.

Give This A Shot:

Module Module1
    Public Sub Main()
        Dim About As New Help_AboutForm
        About.topmost = true

        Dim main As New Form1
        main.topmost = true

    End Sub
End Module
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.