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 2 2266
Hi Gianluca,
Now that is weird.
A couple of questions:
1. is the enhanced combobox managed code?
2. have you contacted the OmniPage Pro developers?
3. has MS approved OmniPage Pro for installation on XP's etc?
Bernie Yaeger
"Gianluca" <mo**********@hotmail.com> wrote in message
news:56**************************@posting.google.c om... 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
Hi Bernie,
The entire software is written in managed code, using Visual Basic.Net.
I don't know if MS approved OmniPage, but, as stated in the system
requirements, it can run also on Windows XP, but I haven't tried on Windows
XP without service pack 2.
By now, it seems that the workaround is working, but if I found other
problems I will try to contact the OmniPage support.
Thanks,
Gianluca
"Bernie Yaeger" <be*****@cherwellinc.com> ha scritto nel messaggio
news:uT*************@TK2MSFTNGP12.phx.gbl... Hi Gianluca,
Now that is weird.
A couple of questions: 1. is the enhanced combobox managed code? 2. have you contacted the OmniPage Pro developers? 3. has MS approved OmniPage Pro for installation on XP's etc?
Bernie Yaeger
"Gianluca" <mo**********@hotmail.com> wrote in message news:56**************************@posting.google.c om... 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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Askari |
last post by:
Yesterday, ALL code in python work and nothing when I close(finish) a code.
Today, when I close, some raise this windows error :
Instruction at "0x00FC3D70" use memory address "0x00000000". Can't...
|
by: kj |
last post by:
Is there any way to disable text selection in a web page (or at
least render it invisible to the user)?
If there is a way to control how selected text and its background
are rendered, then the...
|
by: Caroline |
last post by:
----------------------------------------------------------------
I need to write a VB.NET application that uses ActiveX to scan
(remotely) a paper, OCR it, and save it into some file.
- Where...
|
by: tulasi |
last post by:
I need to write a VB.NET application that uses ActiveX to scan
(remotely) a paper, OCR it, and save it into some file.
- Where should I begin?
- Any sample code to learn VB.NET for that purpose?...
|
by: tulasi |
last post by:
I need to write a VB.NET application that uses ActiveX to scan
(remotely) a paper, OCR it, and save it into some file.
- Where should I begin?
- Any sample code to learn VB.NET for that purpose?...
|
by: B.N.Prabhu |
last post by:
Can we Read the text contents from PDF using .net.
If possible means what to do.
|
by: ivowel |
last post by:
Dear Experts: I am trying to write a css style that makes text
invisible; visible-when-selected (so that at least a visible block
appears over the selected text---like black foreground over...
|
by: Thomas Bock |
last post by:
Hi NG
Bei verschiedenen Programmen werden Menüeinträge z. B. "Text erfassen" in
Programme eingefügt, wie z. B. bei Omnipage (OCR-Software) zum direkt
scannen. Wie kann ich mein Programm darauf...
|
by: Lysander |
last post by:
We are currently collecting info on some 18,000 people every month on paper forms. This data is then entered into an Acess database. This is taking far to long, and the data entry is very inaccurate,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |