I plan to implement my own advanced heat exchanger in DWSIM. Beforhand I try to compile the DWSIM.UnitOperations.Humidifer and will use it as a base. But compiling of the source code through the following errors:
\DWSIM.UnitOperations.Humidifer-master\Editor.Designer.vb(6,29): error BC30284: sub 'Dispose' cannot be declared 'Overrides' because it does not override a sub in a base class.
\DWSIM.UnitOperations.Humidifer-master\Editor.vb(6,14): error BC30002: Type 'WeifenLuo.WinFormsUI.Docking.DockContent' is not defined.
\DWSIM.UnitOperations.Humidifer-master\Editor.vb(12,78): error BC30590: Event 'Load' cannot be found.
I use Microsoft Visual Studio Community 2022 (64-bit) Version 17.5.2 on a Win 10 64 bit machine.
Is there anyone who solved or can solve this problem?
thx
Mario
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks a lot for your fast replay. Indeed it was a reference problem with the "WeifenLuo.WinFormsUI.Docking.dll". Problem is fixed.
Unfortunately there is a new compiling error:
\DWSIM Application Data\DWSIM.UnitOperations.Humidifer-master\Humidifier.vb(254,25): error BC30519: Overload resolution failed because no accessible 'CreateAndAddDropDownRow' can be called without a narrowing conversion:
In your Tutorial video you use a combobox instead and I can't fix it by myself.
Do you have any hint for me to fixed this issue?
thx
Mario
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all,
I plan to implement my own advanced heat exchanger in DWSIM. Beforhand I try to compile the DWSIM.UnitOperations.Humidifer and will use it as a base. But compiling of the source code through the following errors:
\DWSIM.UnitOperations.Humidifer-master\Editor.Designer.vb(6,29): error BC30284: sub 'Dispose' cannot be declared 'Overrides' because it does not override a sub in a base class.
\DWSIM.UnitOperations.Humidifer-master\Editor.vb(6,14): error BC30002: Type 'WeifenLuo.WinFormsUI.Docking.DockContent' is not defined.
\DWSIM.UnitOperations.Humidifer-master\Editor.vb(12,78): error BC30590: Event 'Load' cannot be found.
I use Microsoft Visual Studio Community 2022 (64-bit) Version 17.5.2 on a Win 10 64 bit machine.
Is there anyone who solved or can solve this problem?
thx
Mario
Check the project references and fix them, pointing to the location of an existing DWSIM installation.
Hallo Daniel,
thanks a lot for your fast replay. Indeed it was a reference problem with the "WeifenLuo.WinFormsUI.Docking.dll". Problem is fixed.
Unfortunately there is a new compiling error:
\DWSIM Application Data\DWSIM.UnitOperations.Humidifer-master\Humidifier.vb(254,25): error BC30519: Overload resolution failed because no accessible 'CreateAndAddDropDownRow' can be called without a narrowing conversion:
In your Tutorial video you use a combobox instead and I can't fix it by myself.
Do you have any hint for me to fixed this issue?
thx
Mario
are you referencing DLLs from DWSIM v8.5.0?
yes, DWSIM v8.5.0.