Ho rimosso le due form che mi segnalavano l' errore dal progetto ed ovviamente non ho più l' errore.
La prima parte del file vbp
Type=Exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\..\..\Windows\SysWOW64\stdole2.tlb#OLE Automation
Object={648A5603-2C6E-101B-82B6-000000000014}#1.1#0; mscomm32.ocx
Form=AllMon.frm
Module=Module1; Module1.bas
Form=SetPointMain.frm
Form=Start.frm
Form=Setup.frm
Form=ModBusMon.frm
Form=MainMon.frm
Form=BurnerMon.frm
Form=MaintoBurnerMon.frm
Form=SetPointMainStand.frm
IconForm="AllMon"
Startup="Start"
HelpFile=""
Title="ModbusP1"
ExeName32="Modbus.exe"
Command32=""
Name="modbusP1"
se inserisco la form SetPointBC.frm
da file o form esistenti mi genera l' errore
se inserisco la form SetPointBCStand.frm
da file o form esistenti mi genera l' errore
il file vbp diventa
Type=Exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\..\..\Windows\SysWOW64\stdole2.tlb#OLE Automation
Object={648A5603-2C6E-101B-82B6-000000000014}#1.1#0; mscomm32.ocx
Form=AllMon.frm
Module=Module1; Module1.bas
Form=SetPointMain.frm
Form=Start.frm
Form=Setup.frm
Form=ModBusMon.frm
Form=MainMon.frm
Form=BurnerMon.frm
Form=MaintoBurnerMon.frm
Form=SetPointMainStand.frm
Form=SetPointBC.frm
Form=SetPointBCStand.frm
IconForm="AllMon"
Startup="Start"
HelpFile=""
Title="ModbusP1"
ExeName32="Modbus.exe"
Command32=""
Name="modbusP1"
file vbw
AllMon = 0, 0, 0, 0, C, 156, 156, 1964, 1062, C
Module1 = 52, 52, 1979, 836, C
SetPointMain = 0, 0, 0, 0, C, 52, 52, 1860, 958, C
Start = 0, 0, 0, 0, C, 78, 78, 1886, 984, C
Setup = 0, 0, 0, 0, C, 0, 0, 0, 0, C
ModBusMon = 0, 0, 0, 0, C, 0, 0, 0, 0, C
MainMon = 26, 26, 1953, 810, C, 78, 78, 1886, 984, C
BurnerMon = 0, 0, 0, 0, C, 0, 0, 0, 0, C
MaintoBurnerMon = 0, 0, 0, 0, C, 0, 0, 0, 0, C
SetPointMainStand = 156, 156, 1964, 1062, C, 26, 26, 1834, 932, C
SetPointBC = 0, 0, 0, 0, C, 0, 0, 0, 0, C
SetPointBCStand = 0, 0, 0, 0, C, 0, 0, 0, 0, C
anche con il form SetPointBC - Copia.frm
genera lo stesso errore
il vbp
Form=AllMon.frm
Module=Module1; Module1.bas
Form=SetPointMain.frm
Form=Start.frm
Form=Setup.frm
Form=ModBusMon.frm
Form=MainMon.frm
Form=BurnerMon.frm
Form=MaintoBurnerMon.frm
Form=SetPointMainStand.frm
Form=SetPointBC - Copia.frm
IconForm="AllMon"
Startup="Start"
il file SetPointBC-Copia.frm
che è un copia e incolla del file SetPointBC.frm
VERSION 5.00
Begin VB.Form SetPointBC
Caption = "SetPointBC"
ClientHeight = 4590
ClientLeft = 60
ClientTop = 405
ClientWidth = 5835
LinkTopic = "Form2"
ScaleHeight = 4590
ScaleWidth = 5835
Begin VB.TextBox Text1
ecc
Attribute VB_Name = "SetpointBC"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Carica_Click()
ecc