I have a simple form with one button i want this form to remain on top of all applications how do i do it can somebody show me?
Madaxe
Code:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim MyCATIA 'As Object
'Get CATIA or Launch it if necessary.
On Error Resume Next
MyCATIA = GetObject(, "CATIA.Application")
If Err.Number <> 0 Then
MyCATIA = CreateObject("CATIA.Application")
MyCATIA.Visible = True
End If
On Error GoTo 0
End Sub
End Class