Similar Pronouncing Words?
Jul 17, 2009Suppose there exists 'Hello' in the DB, i dont want the user to 'Halo' or 'Helo' or any other same pronouncing word?
View 4 RepliesSuppose there exists 'Hello' in the DB, i dont want the user to 'Halo' or 'Helo' or any other same pronouncing word?
View 4 RepliesI've got 2 RTB one is for input of text and one is output.The output one needs to read the words from the input and display it alphabetically and with their line numbers.I have partly done it and it currently reads it but here is my problem When the words are outputted let say for example there are 2 words the same on the same line e.g the word 'you' appears twice on line one,at the moment its coming up like this
[Code]...
I know how to check whether an item exists in a list using (MyList.Contains), But I do not know how to check the whole list. For example (use one button and one richtextbox):
[Code]...
other than GML (Yoyogames.com Game Maker Language), I am new to the coding world. The only "major" project I have completed using VB is a computer calculator that exactly mimics the capabilities of Windows 7's calculator. Yesterday, I began a Chatbot program for my girlfriend. Lol. I have used the instr() function to answer most of the questions or answers which are typed into the textbox1. I find this extremely troublesome because when using the instr() function you cannot say instr(textbox1.
Public Class Form1
Dim fos As String = "Foster: "
Dim ash As String = "Ashley: "
[code].....
Also, if they are so similar then why do they exist separately?
View 3 RepliesIs there an API or something I can use similar to PrintScreen?
I want to be able to select everything inside of a panel and then print it.
I've two BGW with similar coding but different approach, My second BGW shows me "NOT RESPONDING" whenever i try move/click/focus to form while the BGW is running.
VB
RichTextBox2.AppendText("Some Text")
process2.ReportProgress(inc)
My.Computer.Network.DownloadFile(andpic, "pics/" & spliti(0) & nnum & ".png")
My.Computer.Network.UploadFile("pics/" & spliti(0) & nnum & ".png", "ftp://ftp.mywebsite.com/domains/mywebsite/public_html/Pics/" & spliti(0) & nnum & ".png", "users", "password")
WebBrowser1.Navigate("Mywebsite")
I've taken out number of things that i think is causing this error Are they the cause of "NOT RESPONDING" ?
I have a web site where users enter company names to use in the rest of the app. However, recently I've noticed that similar duplicates are appearing, e.g. someone will enter EastTec Solicitors another will enter EastTec Solicitors Ltd someone else will enter EastTec Solictors (missed the i out in Solicitors), when there should only be one entry of EastTec Solicitors. What is the best way of checking the database for entries similar to what they have entered? How would you about checking for spelling mistakes as well like the Solicitors one?
View 7 RepliesWhat is a good way to do networking? I tried this example, but it did not work. [URL]
how to connect two computers similar to how you would with Winsock. Also, I would like to be able to send an image, but I can figure that out later.
What I need to do is be able to enumerate pretty much all hWnds and locate any TextBox (outside of my program) and get information about it (eg: Name if any, text in it, etc).
[Code]...
I'm developing a program that is similar to ATM but I can not keep track of various clients so that each may have their account
View 7 RepliesI've been using the 2006 SerialCommChat program to do my programming functions.This only has CommPort availability and I'm needing both Commport and what I guess they call a Virtual Port known as the USB Ports.
View 5 RepliesI'm trying to create an enumerable class, similar to System.Drawing.Color - My goal is to have places in the code where I can define a variable as the type of my structure, then be presented a list of static values to pick from.I'd also like to use this for a property of a UserControl.I don't know if I'm using the right setup here with the class, structure, etc.I'm just trying to mimic the Drawing.Color class.I'm creating a Public Class called Person.Inside it, I have two Public ReadOnly Properties for Name and Age, their corresponding Members, and a Constructor to create a new Person.Second, I have a Structure called Persons and it has two ReadOnly Properties: Billy and Sally.[code]In my attempt, I get the full freaking .net class library in my intellisense list. Using Drawing.Color, I get a nice pre-defined list of values to pick from.No extra methods.No constructors.Just values.
View 16 RepliesIn VB.NET, I am trying to talk to a webservice (that can't be changed) to create and update customer data.The CreateCustomer service expects an object of type ConsumerPerson and the ChangeCustomer service expects an object of type ChangeData.The properties of these two object are exactly the same, so I thought it would be wise to just set the properties using one single function.
View 5 RepliesIn Visual Basic I used to use the Mid function to loop through a string and examine each character, i.e. like this:
[Code]...
Question is, how would I go about doing something similar using Java?
I want similar coding for treeview, where for linklabel is as follows.
Private Sub LinkLabel8_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel8.LinkClicked
WebBrowser1.Navigate(Application.StartupPath & "\source\test.html\")
[code].....
I've looked around and I haven't found anything that fits my needs.I wish for the program to be able to intercept the Win32 (?) messages that are being sent to my own application, which is written in Visual Basic.As a side note, is "intercept the Win32 messages" the correct phrasing?Either way, an elaboration won't hurt; I wish for the spy tool to intercept the same messages that I would programmatically intercept with WndProc, i.e: the SendMessages and PostMessages.
I wish to make it clear that I am not seeking a program that intercepts the .NET framework events.
Edits:I can see my window and the handles of its child controls, but I do not receive any messages.I am using Windows 7 64 bit.My Spy++ version is 8.00.50727 Semi-solved; I have got a Spy++ alternative ([Window Detective][1]) to work on my virtual machine, which I am most certainly happy with, and would definitely not mind settling for. Although I am still wondering why all the "spy-like" programs I found did not work on my "main" PC... but I guess I needn't care.
Like my computer have 3 image, and this is the location of these 3 image:
C:/A.jpg
C:/B.jpg
D:/C.jpg
And this is the 3 image preview: now if we use eye common sense, we will saw that A.jpg is similar with C.jpg (just think that C.jpg is not animated) But now if i use VB.net to find the for the similar image, how can this be? (just like the searching function on computer but this is searching for similar images, and also what google images does (google image have a function that search for similar images))
I have two classes:
Public Class Subscribing
Private _subscribingObjects As IList(Of String)
Public Sub Add(ByVal obj As SubscribeObject)[code].....
Is there a more elegant way to add do this? One class would suffice, but since the Add methods have different arguments, then one really wouldn't work.
I saw this in some vb.net source code:Dim sTest As String = "" & drTest("column")
I was told that if drTest("column") is nothing, then sTest will be assigned "", so it is in effect doing:
Dim sTest As String = If("",Nothing,drTest("column"))What is the downside of doing it the first way I showed?
What is the difference between using If and IIf?
I have a table which has the following Columns
TransDate(varchar20) , Name(varchar20), Address(varchar20), Amount(int), Balance(int)
Now i need to get "Recent Balance" which i am getting using the following Query Select Balance from myTable where TransDate = (Select Max(TransDate) from myTable) This query is giving me proper result if there is only one entry per day like below
10/12/2010 SomeName SomeAddress 1000 1000
10/13/2010 SomeName SomeAddress 1000 2000
10/14/2010 SomeName SomeAddress 1000 3000
But what if i have more than 1 entries per day as shown below?
10/12/2010 SomeName SomeAddress 1000 1000
10/12/2010 SomeName SomeAddress 1000 2000
10/12/2010 SomeName SomeAddress 1000 3000
How to get the "most recent balance" using the above date format?
I have a table which has the following ColumnsTransDate(varchar20) , Name(varchar20), Address(varchar20), Amount(int), Balance(int)Now i need to get "Recent Balance" which i am getting using the following QuerySelect Balance from myTable where TransDate = (Select Max(TransDate) from myTable)This query is giving me proper result if there is only one entry per day like below
View 7 RepliesHow does xFire place itself inside of games?
View 1 RepliesAre there any sites which a similar program or web-exam? The best example I can give is Auto-it's "Auto-it 1,2,3" found here.This is for an absolute-beginner,
View 1 RepliesI have an array of structures:
[Code]...
An array of the above structure with 30 element. I want to sum the empsal of those emp elements whose emp.empName & emp.empAge is equal.
[Code]...
I created a simple desktop app (really simple) and did a network clickonce deployment. It works fine on most computers.BUT nothing on one computer (computer A). No message, no start menu, nothing. App has no dependencies other than .NET framework. If I just copy the exe onto the same computers, it works fine on all computers except computer A.Computer A has the correct framework installed. When I double click the exe it does nothing - no message, no error, not showing up in task manager, notta. I tried more than one application and it performs the same.
View 4 Repliessay I have a Button1 subroutine
[code]...
I have a lot of such buttons in my main form. They all do the same thing like this. get the text and pass to some other routine. If i have 20 buttons, then i will have 20 such subroutines. Is there a better (or standard way) to do this without creating that many subroutines?
It's probably a long shot, but is there an add-in for VS2010 that can change VS2010's default formatting rules? In particular, I'd like to format similar lines so that the commas line up vertically, creating a tabular look. If it could line up equal signs, that'd be better still.In this case, I'm populating a dictionary with methods to translate a flat file into an object.
Parsers = New Dictionary(Of String, Action(Of String))()
This is a pain to read:
Parsers.Add("Aircraft Make and Model", Sub(value) Aircraft.Name = value)
Parsers.Add("Words/Frame", Sub(value) Aircraft.WordsPerSubframe = Integer.Parse(value))
Parsers.Add("Bits/Word", Sub(value) Aircraft.BitsPerWord = Integer.Parse(value))[code]......
Basically I'm trying to change the both if one display(monitor) is active and either turn off all active to displays to one display or change to extended display. Is there any api or similar to do this? My target OS is Windows 7. I'm making a program that can change one active display to having extended displays and vice versa. d. I use Visual Studio 2008 Professional or 2010 Ultimate Beta 2 with Visual Basic Settings.
View 1 Repliesi am using in ASP.NET Application somtimes the OnInit Event. Is there something similar in WinForms?
View 19 Replies