G
Gianluca
Hi,
I'm having a problem with an application that I developed in VB.Net.
This application has worked well until I installed OmniPage 12 on my
machine.
After that, when I open a certain window of my application I obtain
the following error message:
An unhandled exception of type ‘System.ArgumentException' occurred in
system.windows.forms.dll
Additional information: ‘-178871180 is not a valid value for length'
I discovered that OmniPage loads at Windows startup an executable
called 'opware12.exe'. Killing that process my application works fine.
Moreover, debugging the application, I discovered that the problem
reside in a class inherited from ComboBox that adds some feature to
the standard combo. I use this 'enhanced' combo in the window that
generates the error.
In the code of a property that I have added to my class I use the
following code to deselect the combo text:
Me.SelectionStart = 0 '<== this row throws the exception
Me.SelectionLength = 0
Instead it works well, also with OmniPage loaded, if I use this code:
Me.Select(0,0)
Someone has experienced this kind of problem, and can give me an
explanation?
Thanks in advance for your help
Gianluca
I'm having a problem with an application that I developed in VB.Net.
This application has worked well until I installed OmniPage 12 on my
machine.
After that, when I open a certain window of my application I obtain
the following error message:
An unhandled exception of type ‘System.ArgumentException' occurred in
system.windows.forms.dll
Additional information: ‘-178871180 is not a valid value for length'
I discovered that OmniPage loads at Windows startup an executable
called 'opware12.exe'. Killing that process my application works fine.
Moreover, debugging the application, I discovered that the problem
reside in a class inherited from ComboBox that adds some feature to
the standard combo. I use this 'enhanced' combo in the window that
generates the error.
In the code of a property that I have added to my class I use the
following code to deselect the combo text:
Me.SelectionStart = 0 '<== this row throws the exception
Me.SelectionLength = 0
Instead it works well, also with OmniPage loaded, if I use this code:
Me.Select(0,0)
Someone has experienced this kind of problem, and can give me an
explanation?
Thanks in advance for your help
Gianluca