Ich weiß nich was da nicht funktioniert ! :/
Dieser Code sollte eigentlich eine Form aus eine rKlassenbiblotek laden:
[highlight=vbnet]
Try
Dim config As ConfigFile = console.LoadConfigfile(apppath)
Dim app As Assembly = Assembly.LoadFile(apppath)
app.CreateInstance(config.Type, True)
Dim ai As IApplication = CType(app.CreateInstance(config.Type, True), IApplication)
ai.app.MdiParent = Me
ai.Start()
Catch ex As Exception
console.reporterror("BlackScreen", ErrorToString)
End Try[/highlight]
leider bekomme ich follgenden error:
Das Formular kann nicht zugleich ein untergeordnetes MDI-Element und ein übergeordnetes MDI-Element sein.
Parametername: value
BITTE HILFE
Dieser Code sollte eigentlich eine Form aus eine rKlassenbiblotek laden:
[highlight=vbnet]
Try
Dim config As ConfigFile = console.LoadConfigfile(apppath)
Dim app As Assembly = Assembly.LoadFile(apppath)
app.CreateInstance(config.Type, True)
Dim ai As IApplication = CType(app.CreateInstance(config.Type, True), IApplication)
ai.app.MdiParent = Me
ai.Start()
Catch ex As Exception
console.reporterror("BlackScreen", ErrorToString)
End Try[/highlight]
leider bekomme ich follgenden error:
Das Formular kann nicht zugleich ein untergeordnetes MDI-Element und ein übergeordnetes MDI-Element sein.
Parametername: value
BITTE HILFE
Comment