Hallo BJ,
du hast Recht. Es ist nicht ganz so einfach.
1. Form1 wird kopiert und umbenannt zu Form2
2. Form2 wird mit einem Editor geöffnet. Wir nehmen immer Textpad.
3. Alle Einträge "Form1" werden gegen "Form2" getauscht. Siehe Beispiel:
>hier> Begin VB.Form Form1
>hier> Caption = "Form1"
ClientHeight = 3195
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
>hier> LinkTopic = "Form1"
ScaleHeight = 3195
ScaleWidth = 4680
StartUpPosition = 3 'Windows-Standard
End
>hier> Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
4. Unter VB in den Projektexplorer hineingehen > rechte Maus > hinzufügen > Formular > vorhanden > Form auswählen und öffnen
Viel Spass beim Nachbasteln
Grüsse
Ulf
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP