...
Q: We just want to exclude a control that lives in the VB6 code so that it disappears from the resulting C# code.
Code Block |
---|
<Compile...> <Fix...> <Replace name="remove the Begin vsElastic and its properties up its first child control. Note that '…' is a multiline wildcard" > <OldBlock><![CDATA[ Begin vsOcx6LibCtl.vsElastic Base ... Begin VB.CommandButton cmdExit ]]></OldBlock> <NewBlock><![CDATA[ Begin VB.CommandButton cmdExit ]]></NewBlock> </Replace> <Replace name="Remove the End of the vsElastic"> <OldBlock><![CDATA[ End End Begin VB.Label Label9 ]]></OldBlock> <NewBlock><![CDATA[ End Begin VB.Label Label9 ]]></NewBlock> </Replace> ... |
Warning |
---|
Removing a control may result undefined symbol results (e.g. late calls) if the remove control is referenced in logic. |
...