473,757 Members | 2,284 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to call a standard Find and replace dialog box

12 New Member
Hi everybody,
Can anyone tell how to call a standard "Find and Replace dialog box" while my application is at run time. Is there any embeded somewhere ?? or do i have to design one !!



Thanks in advance.
Mar 28 '07 #1
3 2709
SammyB
807 Recognized Expert Contributor
Hi everybody,
Can anyone tell how to call a standard "Find and Replace dialog box" while my application is at run time. Is there any embeded somewhere ?? or do i have to design one !!
Thanks in advance.
What application? In Excel you can use Application.Dia logs(xlDialogFo rmulaReplace), but I don't know about other apps.
Again in Excel, the argument list for xlDialogFormula Replace is find_text, replace_text, look_at, look_by, active_cell, match_case, match_byte. HTH --Sam
Mar 28 '07 #2
Ahmed Yasser
12 New Member
i am having a win application that i have created myself on VB.net. This application includes a treeview with lots of data, the problem is, i would like the user to call a standard Find dialog box (Ctrl+F) to jump to a specific line in the treeview for ease in searching and selection. My question is, is it possible to call such a dialog box ? i know it is , but HOW ??

thanks for your reply anyway. :)






What application? In Excel you can use Application.Dia logs(xlDialogFo rmulaReplace), but I don't know about other apps.
Again in Excel, the argument list for xlDialogFormula Replace is find_text, replace_text, look_at, look_by, active_cell, match_case, match_byte. HTH --Sam
Mar 28 '07 #3
SammyB
807 Recognized Expert Contributor
i am having a win application that i have created myself on VB.net. This application includes a treeview with lots of data, the problem is, i would like the user to call a standard Find dialog box (Ctrl+F) to jump to a specific line in the treeview for ease in searching and selection. My question is, is it possible to call such a dialog box ? i know it is , but HOW ??

thanks for your reply anyway. :)
Sorry, too many VB's. I think what you want is at http://windowsforms.net/Default.aspx...dex=4&tabid=49. There is a link about 3/4 down the page for "Find/Replace Dialog Component". Yours sounds like a nice project! --Sam
Mar 28 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1766
by: Dan | last post by:
Anyone know how to invoke the .NET Replace dialog thorugh code (say, from within an addin)? More specifically, I'm trying to open the replace dialog with some pre-set parameters (such as FindText and ReplaceWith) for the user. I've tried executing Edit.Replace with just about every option but it either displays without any options or remains hidden. TIA
1
2559
by: Kathy Krizl | last post by:
I have a form that I've added a "Find Record" button to. When the button is clicked, I do a DoCmd.RunCommand acCmdReplace to get the standard Find and Replace dialog box to appear. Is there a simple way I can position the box so that it comes up in the bottom right hand corner of my form every time? Thanks
4
2066
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: ^\s*(Public|Friend|Protected|Private)*\s*(Shared|Overrides)*\s*(Sub|Function|Property )+ But when I try it in Visual Studio's find (with regular expressions turned on) it doesn't work. Are there any known problems with VS find or is there something wrong with the above expression? I'm new to them, so the second question...
2
10011
by: scorpion53061 | last post by:
This excel find/replace code works great under Excel 2003 but bombs with an error (pasted below the code) in Excel 2000. Can anyone suggest an alternative to make both happy? I am using vb.net windows application. I also tried creating an object and assigning the find/replace event to it but I also received errors. I am a little under the gun on this one.... WSheet.Application.Selection.Replace(What:="NONE", Replacement:="",...
3
3774
by: Paulers | last post by:
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...
0
1687
by: AA Arens | last post by:
The Find and Replace dialog box has several fields (tab: Find): Find What Look In Match Search Match Case and Search Fields... How to set the defaults in Match with VB I use dour different Find record buttons and I want to have it set per
4
1749
by: Ahmed Yasser | last post by:
Hi Everybody, can anyone help in sending code reference to build a simple find dialog box like the one we call by (ctrl+F). Thanks a lot.
1
2371
by: Fester Bestertester | last post by:
Greetings, In MS Access 2003, I'm using a command button to raise a Find and Replace dialog so the user can look up records by last name: txtLastName.SetFocus DoCmd.DoMenuItem acFormBar, acEditMenu, 10, , acMenuVer70 The option "Match:" currently defaults to "Whole Field". Is there a way to handle this in code so that this option will default to "Any Part of
2
2053
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 design one !! i am having a win application that i have created myself on VB. there is no word menu bar. i would like the user to call a standard Find dialog box (Ctrl+F) to jump to a specific line in the treeview for ease in searching and...
0
9487
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9904
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9735
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8736
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7285
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6556
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3828
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 we have to send another system
3
3395
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.