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

Compare texts strings in VB.NET from Access mdb -

Is there a way I can compare texts strings enter from a user at run time to an Access mdb field declared as memo? If there is a way, would anyone share it with me? The texts typed from a user at run time are from a text box compare to a SQL query from the Access mdb file. If that is not possible, please suggest another way that the comparison can be done with a more relaxed comparison. I have used the operator "=" and it is too strict and exact.

Please help if anyone have an idea.

Many thanks in advance!

Chong

 

Compare texts strings in VB.NET from Access mdb -
Is there a way I can compare texts strings enter from a user at run time to an Access mdb field declared as memo? If there is a way, would anyone share it with me? The texts typed from a user at run time are from a text box compare to a SQL query from the Access mdb file. If that is no


Comparing texts with missing or extra letters -
Hey all, my problem is when I start to compare two texts with different lenght. The point is that the texts are loaded in two RTB and I don't know how to compare them. I found that I have to parse the strings and then to compare word by word,but it's hard for me because (as default)


HELP: Compare Strings and display the difference -
Can anyone help me? I'm new to programming and i need to create a "simple" program that can compare lines of texts and display the difference (if there is any). Thanks in advance.


How to compare multiple (part) strings -
Hi, I have 2 listboxes and want to compare both and count in how many lines are identical strings. BUT .... I want to use part of the strings (same as with MID) and this part strings chance always. For example: I want to compare at the begin the characters 1-5 then 2-6 then 3-7 a


savin frmatted texts -
Can u save formatted texts in your database?? say in access i want to save some of the texts in a larger font size.


complex string comparison -
Hi all, I want to compare 2 strings of text (product description) example: string 1: Cup. knee 12mm x 15mm cap. 90degr. string 2: VSH knee 12mm x 15mm 90 / cap. these 2 strings represent the same product (different suppliers) is there a way to compare the strings word by


Newbie questioon: String Comparison -
Ok, after looking on MSDN and doing some test of my own, I have no idea how to make this work. Basically, I have 2 strings which being compared. Now my problem is that they are the string representation of integers. For example: the Number 8 as "8". Ok obvious i know.


how to set case insensitive in Access database -
I'm using system.data.oledb to read/write MS ACCESS database. I got some strings, before I insert them, I want to check whether they are already in the database. When I use SELECT, I want ACCESS can compare the strings case-insensitively. How can I do that? thanks


Compare Texts -
Hi all, I have two Richtext boxes in my form.Each box is loaded with some text.How to compare the text between the RT boxex in Faster Way. Thanks in Advance


Comparing Texts -
Dear All, I have two text boxes.I want to compare these contents in a speeder way.The compare method should check for the spaces also.Which is the best and speedy method.


Compare two strings or two files -
In my form I have two rich text boxes.In both of them I put two different text files(.txt or .rtf).I looking for some code to compare them, and to have the result as marked differences into the second rich text box.How I have to compare them-as strings or as files? And how I can use mi


How to print images and texts togather -
Images and texts are mixed together. There is an image placed at the bottom (think of it as a background image) while the other images and texts are placed on top of it. Those images and texts are placed next each others. I have put the images and texts together but I don’t know


Compare texts string in VB .NET -
I need help on comparing a word or phrase enter by a user at run time to a MS Access database field format as memo. The Access field contains around a thousand characters of words and/or phrases and I need to compare if there is any match with any of the phrases or words in the memo fi


How to compare 2 files in Rich Text Box -
I'm new in VB6.I have RichTextBox1 and RichTextBox2 in my form.I looking for how to compare the texts inputed in these boxes,and then to see the relult as marked words or letters in RichTextBox2 as new text file.


Best Way Compare string to list of strings(RESOLVED) -
Trying to figure out the best way to approach this. Basically I need to compare files(different each time) against a list of other strings to see if the file contains any of the strings(will be adding new ones to the list as I go on). I'll try to explain a bit more. For an exampl


How to compare two strings and integers -
Hi All, I want to compare two strings /integer but I am not getting expected results e.g x = 5 , y = 5.00 x = y = Correct ----------------------------------------------- x = "5" , y = "5.00" x = y = incorrect but cint(x) = cint(y) = Corre


Extracting strings from a textfile -
I am trying to extract strings from a textfile and write these extracts to a new outputfile. a sample of the inputfile is as follows: ** DG1= 4.77 kg ** t2 = 2.876 sec t3 = 3.447 sec t4 = 0.25 sec t9 = 1.00 sec t10= 3.00 sec t11= 4.10 sec t12= 0.00 sec t13=


Row in DataGrid -
How do I change color of the text in a row? For example, there are 3 rows in datagrid: the texts in 1st row -> red the texts in 2nd row -> blue the texts in 1st row -> yellow Is it possible..? Thanks a lot


basic_string comparison -
Is there a way to compare strings that is case insensitive? I know I can compare them using stricmp, but is there an inbuilt method or technique? Thanks in advance HD


GetPrivateProfileString problem in Win 98 & ME -
Hi I have a large Ini file that contain many texts. I use the API function: "GetPrivateProfileString" to get the text i need. All works ok in 2000 & XP but in 98 & Me i get empty some empty strings. I created a small project that get 3 texts from 3 locations: to


Compare strings -
I have seen examples here in the forums, but nothing solid. What is the best why to make sure two (in my case three) strings are indentical? Thanks!


How to compare 2 strings -
Hi! I have a memory block where are many strings, but I cant compare them with a constant string! Example: "if" statement is using sizeof() and its not using strlen() Is there some functions or do I need to make a for loop (which is slow) for checking the data? Code:


How to compare one string to.....HELP!! -
Hello, I'm trying to compare 2 strings(username, and password) to a textfie that I have loaded into my app, via richtextbox. If there is a way to compare it without using the richtextbox that is cool. I have a textfile that has the usernames and accounts of my users in it. I get the


ADO SQL VB6 date compare dates are strings -
Stuck on this issue, VB6,ADO code, SQL, MS Access 2000. Dates are stored in text field in mdb. I have no control over this part. what I need to do is compare dates for a report such as Code: rs.Open "SELECT * from WorkOrders WHERE DateEntered >= #" & ReportS


[2005] compare strings -
I'm comparing 2 strings, they happen to be version numbers that have both numbers and letter(s) in the string, how can i tell if 123b is newer than 123a ?


Combining 2 texts in 2 different textboxes -
Okay i want to combine to texts boxes on the the same form. So here is how it looks now Text1. Hi Text2. How are you *********************************** But i want them all in the same so it would then look like this Text3. Hi How are you Please he


sorting comma delimited strings -
Ok If I have 2 strings : strA = "1,2,3" and strB = "3,2,1" and I compare them they obviously wont equal eachother. However in my logig because they both contain the same 3 numbers I want to be able to say well yes man they do equal eachother. This wo


Alphanumerical sorting of strings -
Hi all. As you probably know, when you compare strings in VB, "2" is greater than "19". Does anyone know of a function or a routine that would sort alphanumerically without this glitch? Ex: if I compare "PB101" with "PB23", I want "


Comparing strings. -
Hi, need help on comparing strings. Is there any way to compare two strings such that String 1 can remove data in String 1 that already existed in String 2?


Compare two strings and get the differance -
Hi, I have 2 strings string1 = "abcdefgh" string2 = "abcdefghijklm" I want to get the difference of the two strings ..... like getDiff(str2,str1) = "ijklm" and where the diffrance is like getDiffStart(str2,str1) = 8 (where the la


Strings priorities -
hi all, I have a searching box that passes keywords "Strings" to another page that got "If" statements to show a text depending on the string or keyword entered. When I pass to strings which are encluded as keywords in the if statements page like (write them in t


Compare MDB -
I want to compare two Access 2000 database files. And find out what records have been changed. Is there a program to compare two files?


printing two texts at with one click -
Hello how can i print two richtexts using only one click buttun i have to let user decide if he wants to print one of the texts or both by a check box once he choose the text or texts and click (print) they should be printed in the same format and color of the original text


Comparing 2 strings -
I have 2 strings containing elements. Iwant to compare them and remove any items from the first one that are already in the second string. I then want to add the items of the first string into a listview. Can anyone please give me the code for this?


VB6 and Russian texts -
Hello. Does anyone know how to display Russian texts in VB6? I noticed that when inside the VB editor, when I type/paste Russian characters, they all become "?".I tried changing the editor's font to Lucida Sans Unicode and Arial MS Unicode to no avail. I also changed


Compare each string with strings in array -
I need to search an array of strings and compare each string with a given string. I count how many characters in the string that equals the string of the array. In the beginning the array is empty. Depending on the result of the compare the array grows. That means that the array


Ms Access Date-String to Date -
Hi there, right now i have a ms access database that stores a "startdate" and "enddate" as text strings. these were created using the datetimepicker and are in the format "05/22/2007" Now i have 2 more datetimepicker's ("usedate1" and "us


String compare -
I have two strings to compare ,though they looks the same , the return boolean is false.... lstrString = (xlsheet.Cells(2, 1).Value) ' retrieve from excel which is empty lstrString1 = "" MsgBox IsNull(lstrString = lstrString1) What happen? Regards Goh


Get the difference between 2 texts -
I want to read in 2 texts and then I want my program to check, which letter, sentense, whatever is different to the other text. The difference should appear in a textbox. thx, vbzero


MSComm1 Help -
I'm trying to read in strings of hex values, 12 bytes in total (ex. 01 09 0C 96 38 F0 07 00 00 00 00 5C). I want to be able to take these strings, ignore the first three bytes (they're always the same), and compare them so that they can be used in IF statements (ie IF "hex string&