Compare All Controls Of Program?
Nov 6, 2009I want to know and compare all controls of vb 2008. where to go? what to do?
View 1 RepliesI want to know and compare all controls of vb 2008. where to go? what to do?
View 1 RepliesAgain i am stucked on this: i have googled it but[code]...
View 12 RepliesI am trying to make a program that will compare 2 documents. Idealy what this program would do would be to let the user define key words that he/she is looking for then hit the compare button and have those key words higlighted in both text documents. So far I have 2 button that paste stext into eather box and button that says compare this is my current code for the compare button
If tb1.Text = tb2.Text Then MsgBox("compatible!", MsgBoxStyle.Information) this works great but it only works if the text is exactly the same I just want it to pick up on words that are the same in eather box and eather A. show a message box that tells the words that are the same or better yet B. have them highlighted. I want to do this as simply as possible so if we have to leave out the key words thats ok. I am a big noob and don't know too much about VB (although I came up with that basic code myself thats about all I can do XD) so please bare with me.
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 RepliesI made a little application that check the servers and if the servers go off for more than 5 mins then the program will sent me a mail.My problem is how do I compare the server date time witch display in a textbox to the real datetime which display in a label also how do I run the program constantly till the user decides to exit by clicking on a exit button.
View 4 RepliesI am trying to write a program that will compare two strings in different text boxes. Then it must add 1 to a third text box for every time a letter appears in both text boxes. So for example if textbox1 said ABCDF and textbox 2 said ABTR it should return the number 2 because A and B appear in both.
This is what I have so far
Public Class Form1 Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles string1.TextChanged
End Sub
Private Sub Compare_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Compare.Click
Dim string1 As String
Dim string2 As String
Dim Result As Integer
End Sub
Function stringcompare(ByVal string1 As String, ByVal string2 As String, ByVal string3 As String) As Integer
stringcompare(string1 As string, string2 As string) End Function End Class
I have two textbox in my application.
Textbox1.Text="19-Jan-2010"
Textbox2.Text="Jan 2010"
May I know how can I compare that Textbox1 and Textbox2 text is within same month and same year?
I have a voice program that can compare voices to stored voice files and identify people based on that. It's not the most accurate thing, since being sick or other weird things can make it fail, but it does work for the most part. I was wondering if there was a way to keep the voice recognition running during an unlock and wait for the person who locked it to come back. Upon giving the command and voice verification, if it passes, the computer is unlocked by my program. Is there anyway to do this in VB.NET?Summary: Can a program unlock a computer after it's locked?
View 4 Repliesthey need to make some compare version between host version and client version.. and each 1 version different will download the file to the client..[URL]..with both example, how can i make a program in VB.NET just like i said just now?
View 15 RepliesI'm using the Farpoint controls in VB.NET program. At times, i'm getting the error as follows:
************* Exception Text **************
System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object
[Code].....
how i can program a dynamic controls(list view, datagrid, combo box, etc..)
View 2 RepliesI have found a program called "E-speaking Voice and speech recognition" wich has a feature of detecting buttons from another running program and allows you to "press" them through voice commands. My question is: how can i list the controls and the buttons from another program into a listbox on my form? Eventually, how can i handle the commands that those buttons execute within my own code? I have found something about the API functions FindWindow and FindWindowEx but nothing else...
View 6 RepliesI'm trying to create a planning program by using my own controls.I first make a control to create the entire field with a flow panel at the top for the header.Then below that flow panel I put a flowpanel for each row.Each flow panel in a row has four labels and one regular panel.The second control I make is one that creates a bar created from 2 pictureboxes and a panel. The panel is then variable based on the number of days it covers.
This control is then positioned in the regular panel of each row flow panel. (still with me??)I have not counted the amount of bar-controls that are put on the form, but there are a lot.and then I get the error: Error creating window handle.So I must be doing something wrong, but then how can one create a planning like panel with horizontal bars in different sizes depending of the amount of days.
I have a form containes some controls (buttons) how i can make the program autoscan these controls one by one and whenever a button higlited I can bress enter to press this button. Using Visual Basic 2008
View 1 RepliesI have played .swf file in VB.Net using Shockwave Flash Object. But i need it with controls(mute,volume control.. )
I tried with using Windows MediaPlayer, i can play only .mp3 cannot play .swf or .avi.
How can i print a form with all controls in vb.net?
View 5 RepliesI am working on a notepad like program and I am adding tabs I've been able to successfully make buttons to add and close tabs but now all my other codes are messed up (as I was using a richtextbox before).
View 21 RepliesI attached a picture of my existing panel with its controls in this thread, how do you copy it during run time? My project is a server/client application. whenever the client is connected and sends information to the server listening that information is displayed in the server but in a new panel with controls the same as the existing panel for the server, only the location and the information displayed is different. It would look something like in the 2nd attached picture.
View 1 RepliesI have a panel sitting in a div, and I want to use that panel as a container to add more panels! Why would I want to add a panel to a panel? Because the panel that I'm adding to the existing panel, is also made to contain objects, but only and image and label.
The existing master container panel is created during design time, and goes by the lovely name of "toolboxpanel". During run time, I have a for/next loop that dynamically creates an image, a label, adds them both to a panel, then adds that panel to the toolboxpanel,[code]...
I have a form containing 135 NumericUpDown controls (15 rows x 9 colums).I also have a Button control (btnCalc) that performs calculations per each row.btnCalc.enable=False for the most part and I only want it to be enabled if the value of any of the NumericUpDown controls change - i.e., to prompt user to recalculate.what is the best way to program this w/out having to code a "ValueChanged event" for each of the 135 controls?
View 4 RepliesI have a form containes some controls (buttons) how i can make the program auto-scan these controls one by one automatically and whenever the mouse on a button the button select for a time and I can press the enter key to click this button otherwise the mouse will go to the next button and so on.
View 3 RepliesHow to create admin and superadmin in vb.net using asp:login controls ?
i use create user wizard and login to perform this action
Super admin can delete any admin .... but admin does not have any rights to delete anything from website...
I am going to make an urdu application in vb.net. In this application I want to make textbox, combobox, List and other controls having the capability to handle urdu language.
View 4 RepliesI have a complex form to allow the user to configure my app.
What's the best way to save the form state & reload when the program next runs.
I mean text he has entered in list boxes, the selected item of combo/list/radio, whether a checkbox is cheeked, etc
I have a vb.net 2010 form with 22 data bound controls from two tables held in a dataset which is navigated by a bindingnavigator. This successfully adds deletes and updates. However what I need is when adding a new record I need some of the fields to be pre filled out. More specifically I have points balance fields etc which could be any value but will normally be 0 on a new customer so I want to initialize them to 0 when adding new records.
View 1 RepliesI have a program that will compare an array of grocery list items glist and an array of coupon item clist.When I compare the two and if there is a match somewhere in the array I want to have a picturebox visible.When there is no match, I want the picture box not to be visible. [code] The code seems to work great until I come to the else statement.When the code finds a match it displays the picture box and the msgbox without error, but as soon as the message box is cleared, even though i've input it as an ELSE statement, the picturebox goes false again.Does anyone have any idea of how I can "hold" the picturebox to stay visible while the match between the arrays exists?
View 18 RepliesHow can I create a simple application to send timed controls to an external device?
What I need is to create a very simple application that sends control signals or voltages out to an external device connected via serial perhaps. The external device will in turn trigger some electromechanical devices. There needs to be 24 independent controls each with a simple command equivalent to on or off. What is important is being able to control the timings of the on and off on each control.[code]....
It is possible to create windows service using windows form control in vb.net.If yes then please give me the url or links.
View 1 RepliesI wanted to know if anyone could tell me how to access the Click_event.I have a boarderles form with a panel control which has the Dock property set to fill and on the panel I have placed a Label also with the Dock property set to fill. I also have a timer running.How can I get code to execute in the Label1 click event.I've tried doing it by using the generic Click_event and also with two variations of the Click_event Handles parameters
'Alternativ 1:
Private Sub Form1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
[code].....
There is newer code in a follow up post. I suggest using the code in the later post rather than the code in this one. You can still read this post though. When designing a user interface, one should be conscious of how many individual controls are required to implement the functionality. In some cases an initial design may begin with many buttons or textboxes (for example) but then further review of
the actual required functionality allows for a reduction in the number of unique controls.
But other times, there isn't a better way (which will still make sense to the user of the application) then to have a series of many repeated controls. So in the cases where one can be certain that the best UI implementation for an application will require the use of multiple copies of a given control, then it often becomes necessary to maintain some method of managing all of those controls at various points
throughout the application. Doing so typically requires that one build up some collection of controls which can then be accessed by index in order to work with any given control; but this can lead to a lot of clutter in the code file which handles these control's events. For instance there will be some kind of collection declaration, some recursive routine to find all of the controls of interest, and then any number of event handler methods with long lists of Handles clauses, or additional code loops to wire up the event handling for each control.
Purpose Since most of this functionality could be considered a requirement regardless of the type of control being managed, or its required functionality, it may make sense to wrap all of the control management functionality into a single class. And since our first requirement is a collection of controls, then a base collection class could be the perfect starting point for our control manager. There are a number of existing thread around this topic, with some recent (at the time of this writing) ones being:[URL]..In this, and related, threads I have posted examples of a simple TextBoxManager and ButtonManager control. But again, with so much similar functionality required regardless of the control being managed, it would be technically possible to create a generic ControlManager(Of T As Control) class which can manage any type of control.
[Code]...
So in summary, one can facilitate managing a large number of user interface controls by building a "control manager" class which both encapsulates the list of control instances, and deals with adding and removing defined event handlers for every control it manages. The generic control manager class itself can be inherited and extended into a more specific class on a per-application basis in order to provide more application-specific functionality. Reed Kimble - "When you do things right, people won't be sure you've done anything at all"