Create A A Palindrome Checker Program?

Apr 24, 2011

I need to create a a palindrome checker program. Now I know how to check a simple palindrome by using the reverse method however I am unsure if the palindrome had special characters or spaces. My question is what is the code for removing spaces and special characters from a string using loops and if statements. Also we cannot use arrays.

View 9 Replies


ADVERTISEMENT

Coding Palindrome Checker In VB 2008 Express?

Mar 9, 2009

I am having problems getting this program to run. It is a palindrome checker, you are suposed to enter a word or a phrase and determine weather it is a palindrome. The code is suposed to contain a Boolean valued function, and should display true or false if word(s) are palindrome.

Here is my code

Private Sub btnAnswer_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnevaluate.Click
Dim Input As String
If IsPalindrome(Input) Then
txtAnswer.Text = "True"

[code]....

View 10 Replies

VS 2010 Palindrome - Minimum Number Of Characters To Make A Text Palindrome?

Apr 17, 2012

I'm having a very difficult task here. I need to analyze a certain text and find the minimum number of characters it needs to become a palindrome. The text will not have any special characters or numbers, just alphabet letters. Now, I've made some progression and have tried a lot of situations correctly, but in some situations I've gotten wrong outputs on the MINIMUM number of characters needed. I've tested the below texts:

View 2 Replies

Palindrome Program Using String Compare()?

Apr 12, 2010

I need to create a code using String Compare() and Cases to figure out if a word, phrase, or what is typed in a textbox is a palindrome. If it is, a message will appear in a label under the textbox that reads, "What you typed is a palindrome." Or, "What you typed is not a palindrome." , if it is not.

View 16 Replies

Write A Program For VB Class That Consists Of A Resistance Checker Program?

Sep 20, 2010

i have to write a program for my VB class that consists of a resistance checker program. I've searched like a madman to help me through this and I have found nothing >. The program consists of 2 combo boxes, the first one is the nominal resistance drop down list of the numbers :100, 150, 220, 330, 470, 680, 820 and 1000. The second list is of the tolerance numbers; +/- 0.4%, +/-0.6% and +/-0.8%. Now what i want to do is select a number from the first combo box and select the tolerance level of the second combo box and i input the resistor of said value into the text box. when i click the check resistor button it should display a message saying if the resistor is in or out of tolerance. For now I have the form all laid out and the values inputted into both combo boxes and i can go to run the program i am able to select said values. Now my problem is trying to get the right code so that i can check the resistors value.

View 2 Replies

Create A Multi-threaded Proxy Checker

Feb 1, 2011

I am trying to create a proxy checker. This is my first attempt at multithreading and it's not going so well, the threads seem to be waiting for one to complete before initializing the next.

[Code]...

View 2 Replies

VS 2008 Program On Start Checker?

Jan 27, 2010

I should I do so that when a program is run, it automatically checks for conditions. If true, it will continue opening the form but if false, it opens another. What I've done is it goes directly to one form and if false it will close the form using me.hide() and loads a form using Form1.show(). Problem is, if the condition is false, both forms will open. What is the right way to do this?

View 17 Replies

ID Checker That Checks Registry Value. If It Does Not Equal To The String, Then The Program Will Close?

Oct 30, 2009

I'm just messing around coding a ID Checker that checks registry value. if it does not equal to the string, then the program will close as so:

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim check As String
check = "XXXXXXXXXXXXXXXXXX"[code]....

Now what im trying to do is, where the 'check' is, i want to add more than one UniqueID so that other users can use the app. Lets say a user with a UniqueID of YYYYYYYYYYYYY purchased my app and recieves updates.

View 3 Replies

IDE :: Can't Get The Right Output For A Palindrome Sentence

Nov 28, 2011

why i cant get the right output for a palindrome sentence.

Public Class Form1
'declaring variables
Dim strword As String

[Code]....

View 8 Replies

Using Filename As Palindrome.java?

Dec 4, 2009

in my vb.net code i m using filename as palindrome.java but i want only a program without any extension.

View 4 Replies

If Palcheck1 Is Greater Than Palcheck 2 Then It Is A Palindrome?

Jan 12, 2010

I am working on a project for the next week of my course and have the code built already and running but there was one section of it that looking at it I just dont understand why it works correctly.[code].....So i get that the second if statement here says that is palcheck1 = palcheck2 then its not the same telling the program its not a palindrome. But in the first part of it if palcheck1 is greater than palcheck 2 then it is a palindrome.

View 6 Replies

Allow A User To Input A Word Or Phrase And Then Determine If It Is A Palindrome

Dec 8, 2011

I'm working on a problem where i have to allow a user to input a word or phrase and then determine if it is a palindrome (a words that reads the same forwards and backwards) . It also says that the program should use a Boolean-valued function procedure named IsPalindrome that returns the value True when the word or phrase is a palindrome and the value False otherwise.

View 3 Replies

Error Checker Is Not Working

Mar 8, 2012

Private Sub CommandButton1_Click()

If TextBox1.Value = "" Then GoTo First
Dim new_sheet_name
Let new_sheet_name = TextBox1.Value
On Error GoTo ErrorHandler:

[Code]...

View 3 Replies

Implement A Update Checker?

Apr 7, 2011

As an update rolls out in one of my applications, I would like to implement an update checker. My situation is that, when a user clicks a drop down item called "Check for Updates", I want it to check for updates. My application is simple, I don't publish. I upload to a mediafire and put the download link to my blog. The only file I need in my application has always been the .exe file of the application itself. My question is, what is the simplest and best way to implement a update checker?

Example:User is using v1.1 and checks for updates. He clicks the "check for updates" and a popup shows up with yes, update available and is a msgbox yes or no. Yes, would allow the user to download the update. No, closes the msgbox. If there is no update available, then a msgbox shows "You have the current version". If the user is offline or cannot check I would like to have an exception to show why he cannot check.Basically, working with the download aspect and everything else is familiar to me but I have no idea how I can check.

Try
My.Computer.Network.DownloadFile("downloadurl", "downloadlocation.fileextension")
Catch ex As Exception
MsgBox(ex.Message)
End Try

View 9 Replies

Make A Spell Checker?

May 16, 2012

I am a newbie to VB.Net. Before, I did programming in PHP. I made a spell checker in PHP which splitted a big string into single word by spaces, checked if the word is there in the dictionary, if not, it highlighted it and gave some suggestions when a user clicks on it. I want to make the same thing in VB.Net.

View 2 Replies

Valid Property Name Checker

Jun 17, 2011

I am using vb.net 2010, trying to generate simple classes with properties using T4 from database. Sometimes I get an error that some string is not a valid property name because it is a vb keyword. For example based on database data, my T4 tried to create a class with a property called "property". Is there a function that check whether a string is a keyword, like:[code]

View 3 Replies

VS 2008 Proxy Checker?

Aug 13, 2011

can any1 give me an example on how to code a proxy checker ?

Ive searched 12 pages of google and on these forums and find nothing helpful.

View 4 Replies

Date Checker Every 15 Days Paid?

Mar 15, 2012

I just wanna know what is the way of tracking the record of employee when i save theyre info in payroll. Like if the employee got paid in these date lets just say he will get paid every 15 days of his work not including sat and sunday. If i save the info the error will say."You have been paid on this day / week" .All i got is save the info but when it comes to checking i cant do it

View 5 Replies

Finding An Active X Spell Checker?

Jan 20, 2010

I am looking for a recommendation for an active X spell checker that i can add into a VB 6 application.

View 2 Replies

How To Make A Simple Spell Checker

Jun 27, 2010

i need a code or example of how to make it so that when a user presses ctrl p it will create a picturebox were the cursor is, i have this done, but how do i make it load them back in, and make it so if a panel or picturebox, runs into one of the ones the user created it will say "Smash", but there will most likely be tons of pictureboxes so i really need the help. how do i make a custom image file type that can hold up to 4 images and save and load them back in? how do i make a simple spell checker?

View 3 Replies

Product Key Checker - File Declaring

Aug 5, 2010

I am writing a Product key checker for Windows vista and 7, well it works well in both of these operating systems, but the only problem I encounter here is that, I cannot check vista keys when I run this program in 7..and vice versa. I declared the file as seen below.

Declare Auto Function PidGenX Lib "pidgenx.dll" (ByVal one As String, ByVal two As String, ByVal three As String, ByVal four As Integer, ByVal five As IntPtr, ByVal six As IntPtr, ByVal seven As IntPtr) As Integer

The thing I want to know is that how do you declare files, in the same directory as the exe file i.e. the app directory. I wish to have the 'pidgenx.dll' files of both operating systems in folders corresponding to their OS ie vista's pidgenx.dll in folder called Pack\Vista\pidgenx.dll and for 7's as \pack\7\pidgenx.dll

View 8 Replies

Question Lottery Results Checker

May 11, 2010

I'm a newbie to VB and such, I'm currently working on a program that allows users to play the National Lottery. The program generates random numbers for a lucky dip, allows users to log in etc. The problem I'm having is the feature that allows users to input their own results and check them against the 'current results' (just a randomised list of numbers) and work out what prizes if any the user is entitled to.Now obviously there are many different combinations of which numbers are the same.Is there any way (short of writing an IF statement catering for each combination possible) I could check these results? Perhaps with the use of a loop? I don't know I'm very new to this.

View 2 Replies

Spell Checker For Persian Languages

May 18, 2012

Is there any spell checker library for .NET which really supports Arabic script languages? I want to spell check the words in a rich text box in VB.net.

View 1 Replies

Url Checker Function Is Hanging Application

Dec 17, 2011

Here is vb.net 2008 code is: Public Function CheckURL(ByVal URL As String) As Boolean

[Code]...

when a url is processing in checking it hangs my application for a while. Is this possible it checks smoothly all url list without hanging my application.. Is there any other fastest way to check urls? Note: I have about 800 urls in file to check all links a valid by website responce or not.

View 3 Replies

VB 2008 - How To Use MS Word XP Spell Checker

Mar 21, 2012

I want to us ms office xp's word. I added a reference to microsoft word 10.0 object library. Then when I type (dim objWord as) there is no option for word also tried (dim objWord as application) nothing for word. I also download office xp intererupts??

View 6 Replies

VS 2005 Spell Checker Using VB Forms?

Apr 24, 2009

I was wondering if anyone has code available that would check for spelling using VB Forms? I work in an environment that has Office 2007 installed. I'm currently using some code that works, but leaves a bunch of WINWORD.EXE process open (one for each field I'm spell checking).

View 3 Replies

VS 2008 With This Proxy Checker Code?

Aug 24, 2011

i found this small code through google, it works but i need it changing a littleVB CODE

Dim host As String
Dim port As Integer
host = TextBox1.Text

[code]....

View 3 Replies

VS 2010 Proxy Checker Is Not Working?

Feb 7, 2012

I'm using the following code to check http proxies;

Try
Dim proxy As New WebProxy(getIP(addr), getPort(addr))
Dim request As HttpWebRequest = DirectCast(WebRequest.Create("http://google.com"), HttpWebRequest)
request.Timeout = NumericUpDown1.Value * 1000
request.Proxy = proxy 'Proxy to use.
Dim response As HttpWebResponse = DirectCast(request.GetResponse, HttpWebResponse)
If request.HaveResponse = True Then

[Code]...

I am not following any tutorials I was trying to do this without help, but I need some now. Am I not using the correct code to do the job?

View 3 Replies

Website Backlink Checker Code?

Jul 4, 2009

oes anyone know how to retrieve a list of backlinks to a website? I simply want to be able to get a list.

View 1 Replies

Create A Windows Form Application Program That Can Create Games Something Like Gamemaker Or Klik?

Aug 4, 2010

Hello I want to create a windows form application program that can create games something like Gamemaker or Klik & Play (butt less advanced) with D&D "Drag and Drop" events and actions.

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved