o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

matches whole word only -

i open a text file, i want to find a particular word, which matches whole word only, like in a wordpad application.
how to do it.

thnx in advance
-- BSK --

 

matches whole word only -
i open a text file, i want to find a particular word, which matches whole word only, like in a wordpad application. how to do it. thnx in advance -- BSK --


Loop Listbox -
Can someone help me on this , Why this is not looping thru a listbox Dim matches As MatchCollection = regex.Matches(input) Dim i As Integer For i = 0 To matches.Count - 1 ' TODO: Do something with result System.Windows.Forms.Me


Search a Listbox -
Hi, i want to add a searchfield to return results for a specific word in a string.. so if i enter the word in a textbox, the item is selected/highlighted in a listbox, perhaps pressing the button again will goto next item in the list that matches the word or anyway to do it.


Newbie Question!!!!!!! -
Hello, im a student studying Visual Basic this semester, i really like the program and its language, but its very hard for me since its my first program language. Now i was trying to make a simple game to impress my teacher but its not really working, my first idea was to make a gam


RegEx expression for partial matches -
Ok RegEx gurus, I’ve got a tricky one here (well tricky for me). I am working on a command line interpreter and let’s say that I have the command “list process” and “list process details”. I would like to be able to use a RegEx function to match these with as few character


DataCombo and AutoComplete -
Awhile ago, Microsoft posted to the Knowledge Bank that there were problems with AutoComplete not seeing the entire list available in the combo box. For some reason, my program is demonstrating this behavior. If you try to autocomplete on a word that is near the end of the list, the


Word macro reading from an access database -
Help! I'm a VB6 programmer and have no idea about how to use vb within word. I want to write a macro that scans a word document for a phrase that matches an entry in an access database and automaticaly replaces it with another field in that database. Any help at all would be g


Free Word Processor -
I need a quality but free word processor. All I got is Wordpad. Is there anything free that closely matches Word?


Little help please :) -
ta for reading What i am trying to do is create a page, that if i click a link it will create a new page, but not a real page like those .asp?ID=236239 things that you get but i don't know where to start about doing them, if any of you could give a little push in the right di


maximum number of lines in textbox -
I have a template in word which i want to populate automatically. Its setup so it automatically wraps text horizontally but it can only have a maximum of 25 lines! From my vb program i want the user to fill in a textbox which will automaticlaly get transferred to the word document


yatzee/dice problem -
Ok, im makeing a yatzee type game and i'm having a little trouble with checking for matches. If you have any ideas on how i can get it work or just improve my code, that would be great. here's what i have so far: dim matches(5) for i =cmddice.lbound to cmddice.ubound for j=cmddice


Thank you for previous help. Two more qs though. -
Thank you so much for the previous help on VB. One more question I do not understand. I am very sorry to pester with this one. Write a function that takes a string parameter and returns an integer. The function should retunr 2 if the parameter matches the constants VALUE_1 or VALUE_


Using Word Objects to save Form Data -
Hello, My form has data in the following controls: text1 text2 combo1 combo2 combo3 picture1 I would like to format this data into a Word Document and save it out as a .doc file just like it is arranged on my form. Can you provide a piece of sample code that creates a


SQL Query in MS Access problem -
Hi, I am struggling to find the right query. I have a database of Squash players, with two tables, Players and Matches Players ---------- playerid name rank Matches ---------- matchid challengerplayerid defenderplayerid winnerplayerid loserplayerid What I am tryi


Keyboard Event Handling vb.net -
Guys your expertise is needed here. So far i've got code that reads into a file,randomly select a word and reads each letter of the word. My question is how do i code a Keyboard Event where a user presses the key and if the pressed key(letter) matches with a letter in the randomly se


Option to not evaluate a regex -
I use a regex to perform a search on text; Private Sub DoSearch(ByVal myExpression As String) Dim regex As Regex = New Regex(myExpression, SetRegexOptions) Dim matches As MatchCollection = regex.Matches(myText.Text) Dim groupNumbers As Integer() = rege


Anyone got some good search rank algorithms -
I'm developing a search engine for my company. We're using SQL Server 2000. Granted, using FreeText is an option. One we plan to utilize. We have some more specific text searches where we are not going to use FreeText. I am going to have to build the engine myself. Given a field


[02/03] Using array to check for word palindrome -
You know, like a saying that is the exact same backwards and forwards? Like "I am; therefore, am I?" I want to have the program that takes a sentence one word at a time, then analyzes it to see if it's a palindrome. I'm not sure how I'd have it check to see if it's the s


[2008] Number Regex Pattern -
So I am trying to write a regex that matches (with optional - sign in front): 0 .0 0. 0.0 It should not match if there are some text next to the number like: f-0.05 10c i22d 10.0.0 <- shouldn't match 10.0 or 0.0 if possible ... "([-]?[0-9]+[\.][0-9]+)|([-]?[\.]


[2008] Quick Q - Counting REGEX matches -
Quickly need to know how I can get the number of matches from a REGEX? Thanks!


Regex matching/text search -
Kind of urgent. Basically I want to find all matches of a particular sequence and extract the values for that and keep going/doing this search until no matches found. I want to find text in between the tags: <#some text#> and get me all matches for me and with the a


[2005] Finding possible matches -
Say I have a textfile with the following words: Apple Bake Bike Cake Lemon Water I want to find all the four letter words with the second letter of 'a' and the fourth letter of 'e'. Something like '_a_e' The matches would be Bake and Cake. How would I find the matches t


Missing List View Icons -
I have created a search form so that I can search an access database for different items by different criteria. For instance, you could search for employees by an agents name, and all the matches appear in the list view. The list view contains information such as name, address etc.


Select MS Word Object Library in project -
Word.Basic will always reference the latest version of MS Word. It also appears that the two interfaces are binary compatible because they both have the same Class IDs. (I only have Word 2000 on my system, but Word.Basic, Word.Basic.8 and Word.Basic.9 have the same CLSIDs, plus micros


Parsing data in a listbox -
Hi Everyone, I am trying to parse data that is in one listbox (list1) from text inputed from a textbox (text1) and output the matching data into a second listbox (list2). For example, I would type into a textbox the data “abc”. As I am doing that, the text is being compare


datagrid search issue -
Hi, I have an application built in vb6 sp6 that uses sqlexpress. This application is running on 3 different continents on hundreds of machines. In the last few months i have been getting support calls saying that people cannot do a advanced search on the datagrid in the application. U


Sorting 2 Arrays -
Hi i have created a search script which returns 2 arrays like below matches filename ---------------------------- 312 a.php 25 j.php 2 g.php i need to sort the filename array by the matches ascending hope you understand


Finding the position of X in a string -
I'm pretty new to ASP and am trying to create a function that will return a number which represents the starting point of X within a string. Where X can be anything. I've included my crappy attempt at it below, but it creates an endless loop at the moment. <% ' i need a function


searching for word in word doc -
I want to write code so that if a word in a variable in the vba behind word is equal to a word in the word document, it changes that word in the document to bold. How would i do that?


Checking a Listbox for matches, then editing ItemData -
Is there a way for me to check a listbox whether if matches with anything and then doing something so that I can edit the ItemData of the matching items only? I can get the Check If Matching part to work but I cannot get the Edit Matched ItemData part to work. So right now my cod


[3.0/LINQ] XML reading spesific nodes -
This is acutally a two part question in response to my writing xml post a few days ago What i want to do is something like <other stuff> <stuff> <stuff> </other stuff> <game Matches> <Match Textbox = tb_01_u Text=Hi> <Match Textbox =


seek in DAO matches in ADO -
What matches "seek" ,used for searching for a record in DAO, in in ADO ? And plz provide a simple example if possible Thanx in advance


Recordset Help (.Find) -
If I use a .find to look for a record, what happens if VB finds multiple matches? Can I loop through and sort these matches as if they were yet another recordset?


Data adapter configureation error -
Hi everybody. I got a db in sql server and it has 6 tables inside it .One of the table that i want to create a datagrid using visual studio .net 2003 is called matches. Unfortunetly when i try Right-click on the DataAdapter and choose Generate DataSet i get the following errors.Th


keep my form on top of Word -
I have a small program that writes to a Word document - the user clicks in Word, then clicks on one of my buttons to insert specific text where he clicked in Word. Right now I am using the API to always keep my form on top, which works okay but the form is on top of EVERYTHING. Wha


[2005]Automating MS Word Using VB.NET question -
Hi all, I need some suggestions about automating MS Word using VB.NET. I searched this forum to find some information about programming word with Vb. I found many interesting things but still I have some questions: Which versions of Word I can interact with? I saw that in Visual


Using word to create a report!!!! -
Hello people: im using vb 6.0 to create a word document... here we have the word library 9.0 and i know that the computers that we are going to install the sw have diff'nt versions of word (95, 97 etc). my question is: if the pdw installs the word 9.0 object library, is it go


Need help with Getobject statement syntax -
I am curently working on a project to automate Excel from within Word to Create a report in word based off Excel data. I am trying to use an If statement in Word to determine if a cell in Excel matches a variable ive set and if so insert that value into a selection in word. I can use


word by word -
is it possible o search .txt file word by word till the desired word is found


early binding and MS Word -
I want to open word and place the contents of a RichTextBox into the word document. I then want to tell word to save the file as a text file with line breaks. If possible I would like to keep word hidden in the process. How do I get the contents of the RichTextBox into Word? Private Su