473,503 Members | 1,625 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Microsoft find / replace dialog control

Hello,

I downloaded the Microsoft find and replace sample control for vb.net
and I am struggling with getting it to work. I do not know anything
about event handling (yet) and I believe that is why it is not working.
I have a main menu set up in my application and I can launch the
control but the find and replace functions are not working. Does anyone
know of a good online resource or website that has a good toutorial
that can explain events and how to handle them? I am looking to figure
out how to write this on my own I just need a nudge in the right
direction. Thanks for your time.

Nov 21 '05 #1
3 3758
"Paulers" <Su*******@gmail.com> schrieb:
I downloaded the Microsoft find and replace sample control for vb.net


Could you post the link where you downloaded the sample?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #2

While testing the VB.NET application it failed with the following
message:

An unhandled exception of type 'System.ArgumentException' occurred in
findreplace.dll

Additional information: '-1' is not a valid value for 'start'.
This was caused when I tried to find text while going "UP" in the text
box and the text was not found.

The fix is easy. Change line 702 in the file FindReplaceDialog.vb

The code originally reads as: If foundLocation >= 0 Then

Change it to: If foundLocation > 0 Then
--
Jim In Valley Stream
------------------------------------------------------------------------
Jim In Valley Stream's Profile: http://www.hightechtalks.com/m151
View this thread: http://www.hightechtalks.com/t2193652

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2054
by: JackRazz | last post by:
I'm trying to use Visual Studio's Find/Replace to match VB declarations. This RegEx works fine in Regulator: ...
5
27147
by: lewixlabs | last post by:
Hello, I have to develop an application which use Microsoft Fingerprint Reader. This device can be handled like a scanner? So can i use a class inside Platform SDK or API? There are resources?...
0
1279
by: Joergen Bech | last post by:
I have a 9,000-line usercontrol. Sometimes when I hit Ctrl-F, it takes a long time before the Find/Replace dialog pops up. And when it appears, it is not very responsive. After some trial and...
4
17314
by: Alex Chun | last post by:
How can I program a command button on a form to bring up the standard "Find and Replace" dialog on click? Separate but related: how do you run menu commands (e.g. "Edit" "Find") from VB? ...
0
1390
by: ApexData | last post by:
Hello I launch the Find Dialog Box from a button on a form. How can I determine specifically when the Find Dialog Box is no longer being displayed? This will allow me to control my Button...
0
1409
by: ApexData | last post by:
I Want Access FIND&REPLACE to stay in FIND mode. Can I place the (Access FIND&REPLACE Dialog) in a popup/modal dialog form? I need to control this process to prevent the user from pressing keys...
2
2032
by: dhirajgaherwar | last post by:
Hi everybody, Can anyone tell how to call a standard "Find and Replace dialog box" while my application (embeded word aplication) is at run time. Is there any embeded somewhere ?? or do i have to...
1
1835
by: Zhuo Li | last post by:
I am using VS2005. The "Edit|Find and replace" dialog won't pop up when you try to find something (tried short cuts like: CTRL-F too, no luck). Does anybody know how to bring this dialog back. ...
3
1716
by: Crash | last post by:
VS2005 In the find/replace dialog if I make a regex like this I can find all of the "New" statements that instantiate a class with "System" in the name: <New>.*<System> But how - in the VS...
0
7188
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7063
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...
0
7258
Oralloy
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,...
1
6970
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...
0
5558
agi2029
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,...
1
4987
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4663
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1489
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
720
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.